winedump: Added support for latest versions of Codeview (VC70).
authorEric Pouech <eric.pouech@orange.fr>
Wed, 30 Apr 2008 19:26:04 +0000 (21:26 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 1 May 2008 09:12:06 +0000 (11:12 +0200)
include/wine/mscvpdb.h
tools/winedump/pdb.c

index 40174f971c4c76cb5bb774269e330a61ac44daa4..306d8934ca23f4a3fffa5e05ee0f03499dcf4fb2 100644 (file)
@@ -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;
index a70336970ad40ba1e05d997a985d452d6a97e3ac..1d9fce024e4a039ecc9823213205cab9f463f00d 100644 (file)
@@ -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,