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
6d7c2e02
Commit
6d7c2e02
authored
Mar 13, 2011
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: In dwarf debug functions, use register name instead of register value.
parent
a26ed126
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
dwarf.c
dlls/dbghelp/dwarf.c
+12
-7
No files found.
dlls/dbghelp/dwarf.c
View file @
6d7c2e02
...
...
@@ -677,10 +677,12 @@ compute_location(dwarf2_traverse_context_t* ctx, struct location* loc,
*/
if
(
!
piece_found
)
{
DWORD
cvreg
=
dwarf2_map_register
(
op
-
DW_OP_reg0
);
if
(
loc
->
reg
!=
Wine_DW_no_register
)
FIXME
(
"Only supporting one reg (%d -> %d)
\n
"
,
loc
->
reg
,
dwarf2_map_register
(
op
-
DW_OP_reg0
));
loc
->
reg
=
dwarf2_map_register
(
op
-
DW_OP_reg0
);
FIXME
(
"Only supporting one reg (%s/%d -> %s/%d)
\n
"
,
dbghelp_current_cpu
->
fetch_regname
(
loc
->
reg
),
loc
->
reg
,
dbghelp_current_cpu
->
fetch_regname
(
cvreg
),
cvreg
);
loc
->
reg
=
cvreg
;
}
loc
->
kind
=
loc_register
;
}
...
...
@@ -692,10 +694,12 @@ compute_location(dwarf2_traverse_context_t* ctx, struct location* loc,
*/
if
(
!
piece_found
)
{
DWORD
cvreg
=
dwarf2_map_register
(
op
-
DW_OP_breg0
);
if
(
loc
->
reg
!=
Wine_DW_no_register
)
FIXME
(
"Only supporting one breg (%d -> %d)
\n
"
,
loc
->
reg
,
dwarf2_map_register
(
op
-
DW_OP_breg0
));
loc
->
reg
=
dwarf2_map_register
(
op
-
DW_OP_breg0
);
FIXME
(
"Only supporting one breg (%s/%d -> %s/%d)
\n
"
,
dbghelp_current_cpu
->
fetch_regname
(
loc
->
reg
),
loc
->
reg
,
dbghelp_current_cpu
->
fetch_regname
(
cvreg
),
cvreg
);
loc
->
reg
=
cvreg
;
}
stack
[
++
stk
]
=
dwarf2_leb128_as_signed
(
ctx
);
loc
->
kind
=
loc_regrel
;
...
...
@@ -763,7 +767,8 @@ compute_location(dwarf2_traverse_context_t* ctx, struct location* loc,
break
;
case
DW_OP_fbreg
:
if
(
loc
->
reg
!=
Wine_DW_no_register
)
FIXME
(
"Only supporting one reg (%d -> -2)
\n
"
,
loc
->
reg
);
FIXME
(
"Only supporting one reg (%s/%d -> -2)
\n
"
,
dbghelp_current_cpu
->
fetch_regname
(
loc
->
reg
),
loc
->
reg
);
if
(
frame
&&
frame
->
kind
==
loc_register
)
{
loc
->
kind
=
loc_regrel
;
...
...
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