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
16db2566
Commit
16db2566
authored
Dec 02, 2006
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fixed value stored for register relative information
(regression spotted by Peter Oberndorfer).
parent
753055f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
10 deletions
+18
-10
dwarf.c
dlls/dbghelp/dwarf.c
+18
-10
No files found.
dlls/dbghelp/dwarf.c
View file @
16db2566
...
...
@@ -673,6 +673,19 @@ compute_location(dwarf2_traverse_context_t* ctx, struct location* loc,
case
DW_OP_reg20
:
case
DW_OP_reg21
:
case
DW_OP_reg22
:
case
DW_OP_reg23
:
case
DW_OP_reg24
:
case
DW_OP_reg25
:
case
DW_OP_reg26
:
case
DW_OP_reg27
:
case
DW_OP_reg28
:
case
DW_OP_reg29
:
case
DW_OP_reg30
:
case
DW_OP_reg31
:
/* dbghelp APIs don't know how to cope with this anyway
* (for example 'long long' stored in two registers)
* FIXME: We should tell winedbg how to deal with it (sigh)
*/
if
(
!
piece_found
)
{
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
);
}
loc
->
kind
=
loc_register
;
break
;
case
DW_OP_breg0
:
case
DW_OP_breg1
:
case
DW_OP_breg2
:
case
DW_OP_breg3
:
case
DW_OP_breg4
:
case
DW_OP_breg5
:
case
DW_OP_breg6
:
case
DW_OP_breg7
:
case
DW_OP_breg8
:
case
DW_OP_breg9
:
case
DW_OP_breg10
:
case
DW_OP_breg11
:
...
...
@@ -688,17 +701,12 @@ compute_location(dwarf2_traverse_context_t* ctx, struct location* loc,
if
(
!
piece_found
)
{
if
(
loc
->
reg
!=
Wine_DW_no_register
)
FIXME
(
"Only supporting one reg (%d -> %d)
\n
"
,
loc
->
reg
,
op
-
DW_OP_reg0
);
loc
->
reg
=
dwarf2_map_register
(
op
-
DW_OP_reg0
);
}
if
(
op
>=
DW_OP_breg0
&&
op
<=
DW_OP_breg31
)
{
stack
[
++
stk
]
=
dwarf2_leb128_as_signed
(
ctx
);
loc
->
kind
=
loc_regrel
;
FIXME
(
"Only supporting one reg (%d -> %d)
\n
"
,
loc
->
reg
,
dwarf2_map_register
(
op
-
DW_OP_breg0
));
loc
->
reg
=
dwarf2_map_register
(
op
-
DW_OP_breg0
);
}
else
loc
->
kind
=
loc_register
;
stack
[
++
stk
]
=
dwarf2_leb128_as_signed
(
ctx
);
loc
->
kind
=
loc_regrel
;
break
;
case
DW_OP_fbreg
:
if
(
loc
->
reg
!=
Wine_DW_no_register
)
...
...
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