Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
51dd5c2e
Commit
51dd5c2e
authored
Jan 11, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Fix printing of module sources in PDB files.
parent
3658b845
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
pdb.c
tools/winedump/pdb.c
+5
-5
No files found.
tools/winedump/pdb.c
View file @
51dd5c2e
...
...
@@ -273,13 +273,13 @@ static void pdb_dump_symbols(struct pdb_reader* reader)
for
(
i
=
cfile
=
0
;
i
<
src
->
nModules
;
i
++
)
{
printf
(
"
\t\t
Module[%2d]:
\n
"
,
i
);
for
(
j
=
0
;
j
<
indx
[
i
];
j
++
,
cfile
++
)
cfile
=
src
->
table
[
i
];
for
(
j
=
cfile
;
j
<
src
->
nSrcFiles
&&
j
<
cfile
+
indx
[
i
];
j
++
)
{
/* FIXME: in some cases, it's a p_string but WHEN ? */
if
(
src
->
table
[
cfile
]
<
src
->
nSrcFiles
&&
cstr
+
offset
[
src
->
table
[
cfile
]]
>=
(
const
char
*
)
start_cstr
/* wrap around */
&&
cstr
+
offset
[
src
->
table
[
cfile
]]
<
(
const
char
*
)
src
+
symbols
->
srcmodule_size
)
printf
(
"
\t\t\t
Source file: %s
\n
"
,
cstr
+
offset
[
src
->
table
[
cfile
]]);
if
(
cstr
+
offset
[
j
]
>=
(
const
char
*
)
start_cstr
/* wrap around */
&&
cstr
+
offset
[
j
]
<
(
const
char
*
)
src
+
symbols
->
srcmodule_size
)
printf
(
"
\t\t\t
Source file: %s
\n
"
,
cstr
+
offset
[
j
]);
else
printf
(
"
\t\t\t
Source file: <<out of bounds>>
\n
"
);
}
...
...
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