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
4b8b0783
Commit
4b8b0783
authored
Feb 03, 2010
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Fix 32bit displacement sign extension.
parent
7f1105e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
db_disasm64.c
programs/winedbg/db_disasm64.c
+7
-6
No files found.
programs/winedbg/db_disasm64.c
View file @
4b8b0783
...
...
@@ -1205,6 +1205,7 @@ db_disasm(db_addr_t loc, boolean_t altfmt)
long
imm64
;
int
len
;
struct
i_addr
address
;
db_addr_t
addr
;
get_value_inc
(
inst
,
loc
,
1
,
FALSE
);
short_addr
=
FALSE
;
...
...
@@ -1528,19 +1529,19 @@ db_disasm(db_addr_t loc, boolean_t altfmt)
case
Db
:
get_value_inc
(
displ
,
loc
,
1
,
TRUE
);
displ
+=
loc
;
addr
=
loc
+
(
LONG64
)
displ
;
if
(
size
==
WORD
)
displ
&=
0xFFFF
;
db_printsym
(
(
db_addr_t
)
displ
,
DB_STGY_XTRN
);
addr
&=
0xFFFF
;
db_printsym
(
addr
,
DB_STGY_XTRN
);
break
;
case
Dl
:
len
=
db_lengths
[(
size
==
LONG
&&
(
rex
&
REX_W
))
?
QUAD
:
size
];
get_value_inc
(
displ
,
loc
,
len
,
FALSE
);
displ
+=
loc
;
addr
=
loc
+
(
LONG64
)
displ
;
if
(
size
==
WORD
)
displ
&=
0xFFFF
;
db_printsym
(
(
db_addr_t
)
displ
,
DB_STGY_XTRN
);
addr
&=
0xFFFF
;
db_printsym
(
addr
,
DB_STGY_XTRN
);
break
;
case
o1
:
...
...
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