From 82d1845d85e070bffe7d83ca18a8661daf47d2c2 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 29 Sep 2008 21:31:29 +0200 Subject: [PATCH] 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(+) diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c index 02f90723a45..1ab322f2d82 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 cf66053f92c..71ec9e69378 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 c788f6ca1cc..f5dc220df0f 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; -- 2.11.4.GIT