Author: akhaldi
Date: Mon Sep 16 14:31:09 2013
New Revision: 60162
URL:
http://svn.reactos.org/svn/reactos?rev=60162&view=rev
Log:
[DBGHELP]
* Sync with Wine 1.7.1.
Modified:
trunk/reactos/dll/win32/dbghelp/cpu_i386.c
trunk/reactos/dll/win32/dbghelp/msc.c
trunk/reactos/dll/win32/dbghelp/rosstubs.c
trunk/reactos/dll/win32/dbghelp/stabs.c
trunk/reactos/dll/win32/dbghelp/symbol.c
trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/dll/win32/dbghelp/cpu_i386.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dbghelp/cpu_i386…
==============================================================================
--- trunk/reactos/dll/win32/dbghelp/cpu_i386.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dbghelp/cpu_i386.c [iso-8859-1] Mon Sep 16 14:31:09 2013
@@ -38,7 +38,6 @@
#define V86_FLAG 0x00020000
#define IS_VM86_MODE(ctx) (ctx->EFlags & V86_FLAG)
-
#if defined(__i386__) && !defined(DBGHELP_STATIC_LIB)
static ADDRESS_MODE get_selector_type(HANDLE hThread, const CONTEXT* ctx, WORD sel)
Modified: trunk/reactos/dll/win32/dbghelp/msc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dbghelp/msc.c?re…
==============================================================================
--- trunk/reactos/dll/win32/dbghelp/msc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dbghelp/msc.c [iso-8859-1] Mon Sep 16 14:31:09 2013
@@ -2528,6 +2528,7 @@
if (pdb_lookup->kind != PDB_JG)
{
WARN("Found %s, but wrong PDB kind\n", pdb_lookup->filename);
+ pdb_free(root);
return FALSE;
}
pdb_file->kind = PDB_JG;
Modified: trunk/reactos/dll/win32/dbghelp/rosstubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dbghelp/rosstubs…
==============================================================================
--- trunk/reactos/dll/win32/dbghelp/rosstubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dbghelp/rosstubs.c [iso-8859-1] Mon Sep 16 14:31:09 2013
@@ -36,7 +36,7 @@
IN PVOID UserContext OPTIONAL)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -47,7 +47,7 @@
IN PVOID UserContext OPTIONAL)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -56,7 +56,7 @@
PVOID pUserData)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -65,7 +65,7 @@
PVOID pUserData)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -83,7 +83,7 @@
IN PVOID context)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -96,7 +96,7 @@
LPSTR pszFilePath)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -107,7 +107,7 @@
DWORD dwFlags)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -118,7 +118,7 @@
DWORD dwFlags)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -130,7 +130,7 @@
PVOID pUserContext)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -138,7 +138,7 @@
PVOID pUserContext)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -148,7 +148,7 @@
PVOID pUserContext)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -158,7 +158,7 @@
PVOID pUserContext)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -168,7 +168,7 @@
PVOID pUserContext)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -178,7 +178,7 @@
PVOID pUserContext)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -188,7 +188,7 @@
PVOID pUserContext)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -197,7 +197,7 @@
PSYMBOL_INFOW Symbol)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -207,17 +207,17 @@
PSYMBOL_INFO Symbol)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
SymFromTokenW(HANDLE hProcess,
DWORD64 ModBase,
- DWORD Token,
+ DWORD Token,
PSYMBOL_INFOW Symbol)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
ULONG WINAPI
@@ -228,7 +228,7 @@
ULONG BufferLines)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
PCHAR WINAPI
@@ -237,7 +237,7 @@
size_t Size)
{
UNIMPLEMENTED;
- return NULL;
+ return NULL;
}
PWCHAR WINAPI
@@ -246,7 +246,7 @@
size_t Size)
{
UNIMPLEMENTED;
- return NULL;
+ return NULL;
}
BOOL WINAPI
@@ -254,7 +254,7 @@
PIMAGEHLP_LINEW64 Line)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -262,7 +262,7 @@
PIMAGEHLP_LINEW64 Line)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -272,7 +272,7 @@
PSYMBOL_INFO Symbol)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -282,7 +282,7 @@
PSYMBOL_INFOW Symbol)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -294,7 +294,7 @@
DWORD Size)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -305,7 +305,7 @@
DWORD Size)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
@@ -317,7 +317,7 @@
DWORD Size)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -331,7 +331,7 @@
DWORD Size)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
@@ -346,7 +346,7 @@
DWORD Size)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -360,7 +360,7 @@
DWORD Size)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -374,7 +374,7 @@
size_t cDbgFile)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -388,7 +388,7 @@
size_t cDbgFile)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -398,7 +398,7 @@
PSYMBOL_INFOW Symbol)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -407,7 +407,7 @@
PIMAGEHLP_GET_TYPE_INFO_PARAMS Params)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -415,7 +415,7 @@
PSYMBOL_INFO Symbol)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -423,7 +423,7 @@
PSYMBOL_INFOW Symbol)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -431,7 +431,7 @@
PSYMBOL_INFO Symbol)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -439,23 +439,7 @@
PSYMBOL_INFOW Symbol)
{
UNIMPLEMENTED;
- return FALSE;
-}
-
-PCHAR WINAPI
-SymSetHomeDirectory(HANDLE hProcess,
- PCSTR pszDir)
-{
- UNIMPLEMENTED;
- return NULL;
-}
-
-PWCHAR WINAPI
-SymSetHomeDirectoryW(HANDLE hProcess,
- PCWSTR pszDir)
-{
- UNIMPLEMENTED;
- return NULL;
+ return FALSE;
}
BOOL
@@ -466,7 +450,7 @@
DWORD Index)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
// SymSetSymWithAddr64
@@ -479,7 +463,7 @@
PCSTR pszFile2)
{
UNIMPLEMENTED;
- return NULL;
+ return NULL;
}
PCWSTR WINAPI
@@ -490,7 +474,7 @@
PCWSTR pszFile2)
{
UNIMPLEMENTED;
- return NULL;
+ return NULL;
}
BOOL WINAPI
@@ -502,7 +486,7 @@
DWORD dwFlags)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -514,7 +498,7 @@
DWORD dwFlags)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -525,7 +509,7 @@
DWORD dwFlags)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -536,7 +520,7 @@
DWORD dwFlags)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
PCSTR WINAPI
@@ -546,7 +530,7 @@
PCSTR pszFile)
{
UNIMPLEMENTED;
- return NULL;
+ return NULL;
}
PCWSTR WINAPI
@@ -556,7 +540,7 @@
PCWSTR pszFile)
{
UNIMPLEMENTED;
- return NULL;
+ return NULL;
}
BOOL WINAPI
@@ -564,7 +548,7 @@
PCSTR pszPath)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL WINAPI
@@ -572,7 +556,7 @@
PCWSTR pszPath)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
PCSTR WINAPI
@@ -582,7 +566,7 @@
DWORD pszFlags)
{
UNIMPLEMENTED;
- return NULL;
+ return NULL;
}
PCWSTR WINAPI
@@ -592,7 +576,7 @@
DWORD dwFlags)
{
UNIMPLEMENTED;
- return NULL;
+ return NULL;
}
PCSTR WINAPI
@@ -603,7 +587,7 @@
DWORD dwFlags)
{
UNIMPLEMENTED;
- return NULL;
+ return NULL;
}
PCWSTR WINAPI
@@ -614,7 +598,7 @@
DWORD dwFlags)
{
UNIMPLEMENTED;
- return NULL;
+ return NULL;
}
DWORD WINAPI
@@ -624,7 +608,7 @@
DWORD dwFlags)
{
UNIMPLEMENTED;
- return 0;
+ return 0;
}
HANDLE
@@ -637,7 +621,7 @@
PVOID CallerData)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -650,7 +634,7 @@
size_t Size)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -663,7 +647,7 @@
size_t Size)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -674,7 +658,7 @@
PENUMSOURCEFILETOKENSCALLBACK Callback)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -687,7 +671,7 @@
size_t Size)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -700,7 +684,7 @@
PVOID UserContext)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -713,7 +697,7 @@
PVOID UserContext)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
@@ -727,7 +711,7 @@
PVOID CallerData)
{
UNIMPLEMENTED;
- return 0;
+ return 0;
}
@@ -741,7 +725,7 @@
PVOID CallerData)
{
UNIMPLEMENTED;
- return 0;
+ return 0;
}
@@ -755,7 +739,7 @@
PVOID CallerData)
{
UNIMPLEMENTED;
- return 0;
+ return 0;
}
@@ -769,7 +753,7 @@
PVOID CallerData)
{
UNIMPLEMENTED;
- return 0;
+ return 0;
}
@@ -781,7 +765,7 @@
DWORD Flags)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -792,7 +776,7 @@
DWORD Flags)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -806,7 +790,7 @@
PDWORD64 cOmapFrom)
{
UNIMPLEMENTED;
- return FALSE;
+ return FALSE;
}
BOOL
@@ -818,6 +802,5 @@
PULONG Size)
{
UNIMPLEMENTED;
- return FALSE;
-}
-
+ return FALSE;
+}
Modified: trunk/reactos/dll/win32/dbghelp/stabs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dbghelp/stabs.c?…
==============================================================================
--- trunk/reactos/dll/win32/dbghelp/stabs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dbghelp/stabs.c [iso-8859-1] Mon Sep 16 14:31:09 2013
@@ -1683,6 +1683,7 @@
stabs_free_includes();
HeapFree(GetProcessHeap(), 0, pending_block.objs);
HeapFree(GetProcessHeap(), 0, pending_func.objs);
+ HeapFree(GetProcessHeap(), 0, srcpath);
return ret;
}
Modified: trunk/reactos/dll/win32/dbghelp/symbol.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dbghelp/symbol.c…
==============================================================================
--- trunk/reactos/dll/win32/dbghelp/symbol.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dbghelp/symbol.c [iso-8859-1] Mon Sep 16 14:31:09 2013
@@ -2220,3 +2220,25 @@
return FALSE;
}
+
+/******************************************************************
+ * SymSetHomeDirectory (DBGHELP.@)
+ *
+ */
+PCHAR WINAPI SymSetHomeDirectory(HANDLE hProcess, PCSTR dir)
+{
+ FIXME("(%p, %s): stub\n", hProcess, dir);
+
+ return NULL;
+}
+
+/******************************************************************
+ * SymSetHomeDirectoryW (DBGHELP.@)
+ *
+ */
+PWSTR WINAPI SymSetHomeDirectoryW(HANDLE hProcess, PCWSTR dir)
+{
+ FIXME("(%p, %s): stub\n", hProcess, debugstr_w(dir));
+
+ return NULL;
+}
Modified: trunk/reactos/media/doc/README.WINE
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Mon Sep 16 14:31:09 2013
@@ -68,7 +68,7 @@
reactos/dll/win32/cryptdll # Synced to Wine-1.7.1
reactos/dll/win32/cryptnet # Synced to Wine-1.7.1
reactos/dll/win32/cryptui # Synced to Wine-1.7.1
-reactos/dll/win32/dbghelp # Synced to Wine-1.5.26
+reactos/dll/win32/dbghelp # Synced to Wine-1.7.1
reactos/dll/win32/dciman32 # Synced to Wine-1.5.19
reactos/dll/win32/dwmapi # Synced to Wine-1.5.19
reactos/dll/win32/faultrep # Synced to Wine-1.5.4