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
233cb06f
Commit
233cb06f
authored
Sep 19, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Sep 19, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: (E)IP-relative offsets depend on operand, not address, size.
parent
8388f675
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
db_disasm.c
debugger/db_disasm.c
+4
-4
No files found.
debugger/db_disasm.c
View file @
233cb06f
...
...
@@ -1552,17 +1552,17 @@ void DEBUG_Disasm( DBG_ADDR *addr, int display )
break
;
}
if
(
s
hort_addr
)
{
if
(
s
ize
==
WORD
)
{
/* offset only affects low 16 bits */
displ
=
(
addr
->
off
&
0xffff0000
)
|
((
addr
->
off
+
displ
)
&
0xffff
);
}
else
displ
+=
addr
->
off
;
db_task_printsym
(
displ
,
s
hort_addr
?
WORD
:
LONG
);
db_task_printsym
(
displ
,
s
ize
);
break
;
case
Dl
:
if
(
s
hort_addr
)
{
if
(
s
ize
==
WORD
)
{
get_value_inc
(
displ
,
addr
,
2
,
TRUE
);
/* offset only affects low 16 bits */
displ
=
(
addr
->
off
&
0xffff0000
)
...
...
@@ -1576,7 +1576,7 @@ void DEBUG_Disasm( DBG_ADDR *addr, int display )
{
break
;
}
db_task_printsym
(
displ
,
s
hort_addr
?
WORD
:
LONG
);
db_task_printsym
(
displ
,
s
ize
);
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