Fixed rosapps build

svn path=/trunk/; revision=35058
This commit is contained in:
Pierre Schweitzer 2008-08-03 08:38:59 +00:00
parent 6e2deb5f56
commit d07210c83c
4 changed files with 77 additions and 4 deletions

View file

@ -40,8 +40,8 @@
@ stub SymEnumSym
@ stdcall SymEnumSymbols(ptr double str ptr ptr)
@ stdcall SymEnumSymbolsW(ptr double wstr ptr ptr)
@ stub SymEnumSymbolsForAddr
@ stub SymEnumSymbolsForAddrW
@ stdcall SymEnumSymbolsForAddr (ptr double ptr ptr)
@ stdcall SymEnumSymbolsForAddrW (ptr double ptr ptr)
@ stdcall SymEnumTypes(ptr double ptr ptr)
@ stdcall SymEnumTypesW(ptr double ptr ptr)
@ stdcall SymEnumerateModules(long ptr ptr)

View file

@ -0,0 +1,50 @@
Index: dbghelp.spec
===================================================================
--- dbghelp.spec (revision 35049)
+++ dbghelp.spec (working copy)
@@ -40,8 +40,8 @@
@ stub SymEnumSym
@ stdcall SymEnumSymbols(ptr double str ptr ptr)
@ stdcall SymEnumSymbolsW(ptr double wstr ptr ptr)
-@ stub SymEnumSymbolsForAddr
-@ stub SymEnumSymbolsForAddrW
+@ stdcall SymEnumSymbolsForAddr (ptr double ptr ptr)
+@ stdcall SymEnumSymbolsForAddrW (ptr double ptr ptr)
@ stdcall SymEnumTypes(ptr double ptr ptr)
@ stdcall SymEnumTypesW(ptr double ptr ptr)
@ stdcall SymEnumerateModules(long ptr ptr)
Index: symbol.c
===================================================================
--- symbol.c (revision 35049)
+++ symbol.c (working copy)
@@ -1000,6 +1000,30 @@
}
/******************************************************************
+ * SymEnumSymbolsForAddrW (DBGHELP.@)
+ *
+ */
+BOOL WINAPI SymEnumSymbolsForAddrW(HANDLE hProcess, DWORD64 Address,
+ PSYM_ENUMERATESYMBOLS_CALLBACKW EnumSymbolsCallback,
+ PVOID UserContext)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+/******************************************************************
+ * SymEnumSymbolsForAddr (DBGHELP.@)
+ *
+ */
+BOOL WINAPI SymEnumSymbolsForAddr(HANDLE hProcess, DWORD64 Address,
+ PSYM_ENUMERATESYMBOLS_CALLBACK EnumSymbolsCallback,
+ PVOID UserContext)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
+/******************************************************************
* SymEnumSymbolsW (DBGHELP.@)
*
*/

View file

@ -999,6 +999,30 @@ static BOOL CALLBACK sym_enumW(PSYMBOL_INFO si, ULONG size, PVOID ctx)
return (sew->cb)(sew->sym_info, size, sew->ctx);
}
/******************************************************************
* SymEnumSymbolsForAddrW (DBGHELP.@)
*
*/
BOOL WINAPI SymEnumSymbolsForAddrW(HANDLE hProcess, DWORD64 Address,
PSYM_ENUMERATESYMBOLS_CALLBACKW EnumSymbolsCallback,
PVOID UserContext)
{
UNIMPLEMENTED;
return FALSE;
}
/******************************************************************
* SymEnumSymbolsForAddr (DBGHELP.@)
*
*/
BOOL WINAPI SymEnumSymbolsForAddr(HANDLE hProcess, DWORD64 Address,
PSYM_ENUMERATESYMBOLS_CALLBACK EnumSymbolsCallback,
PVOID UserContext)
{
UNIMPLEMENTED;
return FALSE;
}
/******************************************************************
* SymEnumSymbolsW (DBGHELP.@)
*

View file

@ -375,10 +375,9 @@ typedef struct _IMAGEHLP_DUPLICATE_SYMBOL64
#define SYMOPT_EXACT_SYMBOLS 0x00000400
#define SYMOPT_WILD_UNDERSCORE 0x00000800
#define SYMOPT_USE_DEFAULTS 0x00001000
/* latest SDK defines:
/* latest SDK defines: */
#define SYMOPT_ALLOW_ABSOLUTE_SYMBOLS 0x00000800
#define SYMOPT_IGNORE_NT_SYMPATH 0x00001000
*/
#define SYMOPT_INCLUDE_32BIT_MODULES 0x00002000
#define SYMOPT_PUBLICS_ONLY 0x00004000
#define SYMOPT_NO_PUBLICS 0x00008000