Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ce6779c9
Commit
ce6779c9
authored
Jan 11, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Print the machine field from the PDB symbol table.
parent
e421ff6b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
20 deletions
+25
-20
mscvpdb.h
include/wine/mscvpdb.h
+4
-1
pdb.c
tools/winedump/pdb.c
+21
-19
No files found.
include/wine/mscvpdb.h
View file @
ce6779c9
...
...
@@ -1914,7 +1914,10 @@ typedef struct _PDB_SYMBOLS
DWORD
hash_size
;
DWORD
srcmodule_size
;
DWORD
pdbimport_size
;
DWORD
resvd
[
5
];
DWORD
resvd
[
3
];
WORD
resvd3
;
WORD
machine
;
DWORD
resvd4
;
}
PDB_SYMBOLS
,
*
PPDB_SYMBOLS
;
typedef
struct
_PDB_FPO_DATA
...
...
tools/winedump/pdb.c
View file @
ce6779c9
...
...
@@ -178,23 +178,24 @@ static void pdb_dump_symbols(struct pdb_reader* reader)
printf
(
"-Unknown symbol info version %d
\n
"
,
symbols
->
version
);
}
printf
(
"Symbols:
\n
"
"
\t
signature: %08x
\n
"
"
\t
version: %u
\n
"
"
\t
unknown: %08x
\n
"
"
\t
hash1_file: %08x
\n
"
"
\t
hash2_file: %08x
\n
"
"
\t
gsym_file: %04x
\n
"
"
\t
unknown1: %04x
\n
"
"
\t
module_size: %08x
\n
"
"
\t
offset_size: %08x
\n
"
"
\t
hash_size: %08x
\n
"
"
\t
src_module_size %08x
\n
"
"
\t
pdbimport_size %08x
\n
"
"
\t
resvd[0] %08x
\n
"
"
\t
resvd[1] %08x
\n
"
"
\t
resvd[2] %08x
\n
"
"
\t
resvd[3] %08x
\n
"
"
\t
resvd[4] %08x
\n
"
,
"
\t
signature: %08x
\n
"
"
\t
version: %u
\n
"
"
\t
unknown: %08x
\n
"
"
\t
hash1_file: %08x
\n
"
"
\t
hash2_file: %08x
\n
"
"
\t
gsym_file: %04x
\n
"
"
\t
unknown1: %04x
\n
"
"
\t
module_size: %08x
\n
"
"
\t
offset_size: %08x
\n
"
"
\t
hash_size: %08x
\n
"
"
\t
src_module_size: %08x
\n
"
"
\t
pdbimport_size: %08x
\n
"
"
\t
resvd[0] %08x
\n
"
"
\t
resvd[1] %08x
\n
"
"
\t
resvd[2] %08x
\n
"
"
\t
resvd[3] %04x
\n
"
"
\t
machine: %s
\n
"
"
\t
resvd[4] %08x
\n
"
,
symbols
->
signature
,
symbols
->
version
,
symbols
->
unknown
,
...
...
@@ -210,8 +211,9 @@ static void pdb_dump_symbols(struct pdb_reader* reader)
symbols
->
resvd
[
0
],
symbols
->
resvd
[
1
],
symbols
->
resvd
[
2
],
symbols
->
resvd
[
3
],
symbols
->
resvd
[
4
]);
symbols
->
resvd3
,
get_machine_str
(
symbols
->
machine
),
symbols
->
resvd4
);
if
(
symbols
->
offset_size
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment