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
b63098cf
Commit
b63098cf
authored
Jan 05, 2007
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Added ability to dump FPO debug information.
parent
1b158dd3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
debug.c
tools/winedump/debug.c
+27
-2
No files found.
tools/winedump/debug.c
View file @
b63098cf
...
...
@@ -578,8 +578,33 @@ void dump_codeview(unsigned long base, unsigned long len)
void
dump_frame_pointer_omission
(
unsigned
long
base
,
unsigned
long
len
)
{
/* FPO is used to describe nonstandard stack frames */
printf
(
"FIXME: FPO (frame pointer omission) debug symbol dumping not implemented yet.
\n
"
);
const
FPO_DATA
*
fpo
;
const
FPO_DATA
*
last
;
const
char
*
x
;
/* FPO is used to describe nonstandard stack frames */
printf
(
"Range #loc #pmt Prlg #reg Info
\n
"
"-----------------+----+----+----+----+------------
\n
"
);
fpo
=
(
const
FPO_DATA
*
)
PRD
(
base
,
len
);
if
(
!
fpo
)
{
printf
(
"Couldn't get FPO blob
\n
"
);
return
;}
last
=
(
const
FPO_DATA
*
)((
const
char
*
)
fpo
+
len
);
while
(
fpo
<
last
&&
fpo
->
ulOffStart
)
{
switch
(
fpo
->
cbFrame
)
{
case
FRAME_FPO
:
x
=
"FRAME_FPO"
;
break
;
case
FRAME_NONFPO
:
x
=
"FRAME_NONFPO"
;
break
;
case
FRAME_TRAP
:
x
=
"FRAME_TRAP"
;
break
;
case
FRAME_TSS
:
x
=
"case FRAME_TSS"
;
break
;
default:
x
=
NULL
;
break
;
}
printf
(
"%08x-%08x %4u %4u %4u %4u %s%s%s
\n
"
,
fpo
->
ulOffStart
,
fpo
->
ulOffStart
+
fpo
->
cbProcSize
,
fpo
->
cdwLocals
,
fpo
->
cdwParams
,
fpo
->
cbProlog
,
fpo
->
cbRegs
,
x
,
fpo
->
fHasSEH
?
" SEH"
:
""
,
fpo
->
fUseBP
?
" UseBP"
:
""
);
fpo
++
;
}
}
struct
stab_nlist
...
...
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