Commit in reactos/lib/dbghelp on MAIN
dbghelp.c+21.1 -> 1.2
stack.c+2-11.1 -> 1.2
type.c+3-31.1 -> 1.2
+7-4
3 modified files
Make dbghelp build. Very buggy, very wine-ized, haven't looked much at the code yet, work in progress for my upcoming Debug API support.

reactos/lib/dbghelp
dbghelp.c 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- dbghelp.c	16 Dec 2004 17:42:10 -0000	1.1
+++ dbghelp.c	30 Dec 2004 18:24:19 -0000	1.2
@@ -26,6 +26,8 @@
 #include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
+#define YDEBUG
+#define DBG
 
 /* TODO
  *  - support for symbols' types is still partly missing

reactos/lib/dbghelp
stack.c 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- stack.c	16 Dec 2004 17:42:10 -0000	1.1
+++ stack.c	30 Dec 2004 18:24:19 -0000	1.2
@@ -33,7 +33,6 @@
 #include "thread.h" /* FIXME: must be included before winternl.h */
 #include "winternl.h"
 #include "wine/debug.h"
-#include "stackframe.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
 
@@ -76,6 +75,7 @@
                       PGET_MODULE_BASE_ROUTINE GetModuleBaseRoutine,
                       PTRANSLATE_ADDRESS_ROUTINE f_xlat_adr)
 {
+#if 0
     STACK32FRAME        frame32;
     STACK16FRAME        frame16;
     char                ch;
@@ -385,4 +385,5 @@
 done_err:
     curr_mode = stm_done;
     return FALSE;
+#endif
 }

reactos/lib/dbghelp
type.c 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- type.c	16 Dec 2004 17:42:10 -0000	1.1
+++ type.c	30 Dec 2004 18:24:19 -0000	1.2
@@ -371,10 +371,10 @@
     struct symt*        type;
     void*               pos = NULL;
     
-    TRACE("(%p %s %p %p)\n",
+ /*   TRACE("(%p %s %p %p)\n",
           hProcess, wine_dbgstr_longlong(BaseOfDll), EnumSymbolsCallback,
           UserContext);
-
+*/
     if (!(pcs = process_find_by_handle(hProcess))) return FALSE;
     module = module_find_by_addr(pcs, BaseOfDll, DMT_UNKNOWN);
     if (!(module = module_get_debug(pcs, module))) return FALSE;
@@ -755,7 +755,7 @@
     module = module_find_by_addr(pcs, ModBase, DMT_UNKNOWN);
     if (!(module = module_get_debug(pcs, module)))
     {
-        FIXME("Someone didn't properly set ModBase (%s)\n", wine_dbgstr_longlong(ModBase));
+     //   FIXME("Someone didn't properly set ModBase (%s)\n", wine_dbgstr_longlong(ModBase));
         return FALSE;
     }
 
CVSspam 0.2.8