[PATCH 12/19] [DbgHelp,WineDump]: added support for symbol symbol

Eric Pouech eric.pouech at orange.fr
Mon Sep 29 14:31:41 CDT 2008




A+
---

 dlls/dbghelp/msc.c     |    1 +
 include/wine/mscvpdb.h |    1 +
 tools/winedump/msc.c   |    5 +++++
 3 files changed, 7 insertions(+), 0 deletions(-)


diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index ae128ff..6ea3181 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -1733,6 +1733,7 @@ static int codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* root
         case S_SECUCOOKIE_V3:
         case S_SECTINFO_V3:
         case S_SUBSECTINFO_V3:
+        case S_ENTRYPOINT_V3:
         case 0x1139:
             TRACE("Unsupported symbol id %x\n", sym->generic.id);
             break;
diff --git a/include/wine/mscvpdb.h b/include/wine/mscvpdb.h
index 00f7214..2136ab8 100644
--- a/include/wine/mscvpdb.h
+++ b/include/wine/mscvpdb.h
@@ -1619,6 +1619,7 @@ union codeview_symbol
 #define S_PUB_FUNC2_V3  0x1127
 #define S_SECTINFO_V3   0x1136
 #define S_SUBSECTINFO_V3 0x1137
+#define S_ENTRYPOINT_V3 0x1138
 #define S_SECUCOOKIE_V3 0x113A
 #define S_MSTOOLINFO_V3 0x113C
 #define S_MSTOOLENV_V3  0x113D
diff --git a/tools/winedump/msc.c b/tools/winedump/msc.c
index 3bc1856..864beff 100644
--- a/tools/winedump/msc.c
+++ b/tools/winedump/msc.c
@@ -1299,6 +1299,11 @@ int codeview_dump_symbols(const void* root, unsigned long size)
                    (const char*)sym + 18);
             break;
 
+        case S_ENTRYPOINT_V3:
+            printf("\tSEntryPoint: id=%x '%s'\n",
+                   *(unsigned*)((const char*)sym + 4), (const char*)sym + 8);
+            break;
+
         default:
             printf(">>> Unsupported symbol-id %x sz=%d\n", sym->generic.id, sym->generic.len + 2);
             dump_data((const void*)sym, sym->generic.len + 2, "  ");





More information about the wine-patches mailing list