winedump: Added support for latest versions of Codeview (VC70).

This commit is contained in:
Eric Pouech 2008-04-30 21:26:04 +02:00 committed by Alexandre Julliard
parent 1185c5123d
commit b0a7c55cde
2 changed files with 6 additions and 2 deletions

View File

@ -1810,7 +1810,8 @@ typedef struct _PDB_SYMBOLS
DWORD unknown; DWORD unknown;
DWORD hash1_file; DWORD hash1_file;
DWORD hash2_file; DWORD hash2_file;
DWORD gsym_file; WORD gsym_file;
WORD unknown1;
DWORD module_size; DWORD module_size;
DWORD offset_size; DWORD offset_size;
DWORD hash_size; DWORD hash_size;

View File

@ -170,6 +170,7 @@ static void pdb_dump_symbols(struct pdb_reader* reader)
case 0: /* VC 4.0 */ case 0: /* VC 4.0 */
case 19960307: /* VC 5.0 */ case 19960307: /* VC 5.0 */
case 19970606: /* VC 6.0 */ case 19970606: /* VC 6.0 */
case 19990903: /* VC 7.0 */
break; break;
default: default:
printf("-Unknown symbol info version %d\n", symbols->version); 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" "\tunknown: %08x\n"
"\thash1_file: %08x\n" "\thash1_file: %08x\n"
"\thash2_file: %08x\n" "\thash2_file: %08x\n"
"\tgsym_file: %08x\n" "\tgsym_file: %04x\n"
"\tunknown1: %04x\n"
"\tmodule_size: %08x\n" "\tmodule_size: %08x\n"
"\toffset_size: %08x\n" "\toffset_size: %08x\n"
"\thash_size: %08x\n" "\thash_size: %08x\n"
@ -192,6 +194,7 @@ static void pdb_dump_symbols(struct pdb_reader* reader)
symbols->hash1_file, symbols->hash1_file,
symbols->hash2_file, symbols->hash2_file,
symbols->gsym_file, symbols->gsym_file,
symbols->unknown1,
symbols->module_size, symbols->module_size,
symbols->offset_size, symbols->offset_size,
symbols->hash_size, symbols->hash_size,