Module: wine Branch: master Commit: 82d1845d85e070bffe7d83ca18a8661daf47d2c2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=82d1845d85e070bffe7d83ca18...
Author: Eric Pouech eric.pouech@orange.fr Date: Mon Sep 29 21:31:29 2008 +0200
dbghelp,winedump: Added support for 0x113d symbol.
---
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 02f9072..1ab322f 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;