From b0a7c55cde0692526b9de85cab7a4522d22f365b Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Wed, 30 Apr 2008 21:26:04 +0200 Subject: [PATCH] winedump: Added support for latest versions of Codeview (VC70). --- include/wine/mscvpdb.h | 3 ++- tools/winedump/pdb.c | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/wine/mscvpdb.h b/include/wine/mscvpdb.h index 40174f971c4..306d8934ca2 100644 --- a/include/wine/mscvpdb.h +++ b/include/wine/mscvpdb.h @@ -1810,7 +1810,8 @@ typedef struct _PDB_SYMBOLS DWORD unknown; DWORD hash1_file; DWORD hash2_file; - DWORD gsym_file; + WORD gsym_file; + WORD unknown1; DWORD module_size; DWORD offset_size; DWORD hash_size; diff --git a/tools/winedump/pdb.c b/tools/winedump/pdb.c index a70336970ad..1d9fce024e4 100644 --- a/tools/winedump/pdb.c +++ b/tools/winedump/pdb.c @@ -170,6 +170,7 @@ static void pdb_dump_symbols(struct pdb_reader* reader) case 0: /* VC 4.0 */ case 19960307: /* VC 5.0 */ case 19970606: /* VC 6.0 */ + case 19990903: /* VC 7.0 */ break; default: printf("-Unknown symbol info version %d\n", symbols->version); @@ -180,7 +181,8 @@ static void pdb_dump_symbols(struct pdb_reader* reader) "\tunknown: %08x\n" "\thash1_file: %08x\n" "\thash2_file: %08x\n" - "\tgsym_file: %08x\n" + "\tgsym_file: %04x\n" + "\tunknown1: %04x\n" "\tmodule_size: %08x\n" "\toffset_size: %08x\n" "\thash_size: %08x\n" @@ -192,6 +194,7 @@ static void pdb_dump_symbols(struct pdb_reader* reader) symbols->hash1_file, symbols->hash2_file, symbols->gsym_file, + symbols->unknown1, symbols->module_size, symbols->offset_size, symbols->hash_size,