[PATCH 11/19] [DbgHelp,WineDump]: added support for symbol 0x113c

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




A+
---

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


diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index 3dd92d8..ae128ff 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -1714,6 +1714,7 @@ static int codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* root
             break;
 
         case S_MSTOOL_V3: /* just to silence a few warnings */
+        case S_MSTOOLINFO_V3:
         case S_MSTOOLENV_V3:
             break;
 
diff --git a/include/wine/mscvpdb.h b/include/wine/mscvpdb.h
index 71ec9e6..00f7214 100644
--- a/include/wine/mscvpdb.h
+++ b/include/wine/mscvpdb.h
@@ -1620,6 +1620,7 @@ union codeview_symbol
 #define S_SECTINFO_V3   0x1136
 #define S_SUBSECTINFO_V3 0x1137
 #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 f5dc220..3bc1856 100644
--- a/tools/winedump/msc.c
+++ b/tools/winedump/msc.c
@@ -1243,6 +1243,18 @@ int codeview_dump_symbols(const void* root, unsigned long size)
             }
             break;
 
+        case S_MSTOOLINFO_V3:
+            {
+                const unsigned short*   ptr = ((const unsigned short*)sym) + 2;
+
+                printf("\tTool info V3: unk=%04x%04x%04x front=%d.%d.%d.%d back=%d.%d.%d.%d %s\n",
+                       ptr[0], ptr[1], ptr[2],
+                       ptr[3], ptr[4], ptr[5], ptr[6],
+                       ptr[7], ptr[8], ptr[9], ptr[10],
+                       (const char*)(ptr + 11));
+            }
+            break;
+
         case S_MSTOOLENV_V3:
             {
                 const char*             x1 = (const char*)sym + 4 + 1;





More information about the wine-patches mailing list