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

Alexandre Julliard julliard at winehq.org
Thu May 1 06:38:50 CDT 2008


Module: wine
Branch: master
Commit: b0a7c55cde0692526b9de85cab7a4522d22f365b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b0a7c55cde0692526b9de85cab7a4522d22f365b

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Wed Apr 30 21:26:04 2008 +0200

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 40174f9..306d893 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 a703369..1d9fce0 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,




More information about the wine-cvs mailing list