Eric Pouech : dbghelp,winedump: Added support for symbol symbol.

Alexandre Julliard julliard at winehq.org
Wed Oct 1 14:09:17 CDT 2008


Module: wine
Branch: master
Commit: 81df3de0fc2c3e808045c02fc34bac4eb6b4a459
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=81df3de0fc2c3e808045c02fc34bac4eb6b4a459

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Mon Sep 29 21:31:41 2008 +0200

dbghelp,winedump: Added support for symbol symbol.

---

 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 661783f..d236b16 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-cvs mailing list