[PATCH 10/19] [DbgHelp,WineDump]: added support for 0x113d symbol
Eric Pouech
eric.pouech at orange.fr
Mon Sep 29 14:31:29 CDT 2008
A+
---
dlls/dbghelp/msc.c | 1 +
include/wine/mscvpdb.h | 1 +
tools/winedump/msc.c | 16 ++++++++++++++++
3 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index 0ccaa9c..3dd92d8 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_MSTOOLENV_V3:
break;
case S_SSEARCH_V1:
diff --git a/include/wine/mscvpdb.h b/include/wine/mscvpdb.h
index cf66053..71ec9e6 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_MSTOOLENV_V3 0x113D
/* ======================================== *
* Line number information
diff --git a/tools/winedump/msc.c b/tools/winedump/msc.c
index c788f6c..f5dc220 100644
--- a/tools/winedump/msc.c
+++ b/tools/winedump/msc.c
@@ -1243,6 +1243,22 @@ int codeview_dump_symbols(const void* root, unsigned long size)
}
break;
+ case S_MSTOOLENV_V3:
+ {
+ const char* x1 = (const char*)sym + 4 + 1;
+ const char* x2;
+
+ printf("\tTool conf V3\n");
+ while (*x1)
+ {
+ x2 = x1 + strlen(x1) + 1;
+ if (!*x2) break;
+ printf("\t\t%s: %s\n", x1, x2);
+ x1 = x2 + strlen(x2) + 1;
+ }
+ }
+ break;
+
case S_ALIGN_V1:
/* simply skip it */
break;
More information about the wine-patches
mailing list