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
3f611ee0
Commit
3f611ee0
authored
Sep 27, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed disassembling functions to handle 16-bit code segments properly.
parent
80e023bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
memory.c
programs/winedbg/memory.c
+15
-3
No files found.
programs/winedbg/memory.c
View file @
3f611ee0
...
...
@@ -151,7 +151,11 @@ void memory_examine(const struct dbg_lvalue *lvalue, int count, char format)
ADDRESS
addr
;
void
*
linear
;
if
(
lvalue
->
type
.
id
==
dbg_itype_none
)
addr
=
lvalue
->
addr
;
if
(
lvalue
->
type
.
id
==
dbg_itype_none
)
{
be_cpu
->
build_addr
(
dbg_curr_thread
->
handle
,
&
dbg_context
,
&
addr
,
lvalue
->
addr
.
Segment
,
lvalue
->
addr
.
Offset
);
}
else
{
addr
.
Mode
=
AddrModeFlat
;
...
...
@@ -638,8 +642,16 @@ void memory_disassemble(const struct dbg_lvalue* xstart,
{
if
(
xstart
)
{
last
.
Mode
=
AddrModeFlat
;
last
.
Offset
=
types_extract_as_integer
(
xstart
);
if
(
xstart
->
type
.
id
==
dbg_itype_none
)
{
be_cpu
->
build_addr
(
dbg_curr_thread
->
handle
,
&
dbg_context
,
&
last
,
xstart
->
addr
.
Segment
,
xstart
->
addr
.
Offset
);
}
else
{
last
.
Mode
=
AddrModeFlat
;
last
.
Offset
=
types_extract_as_integer
(
xstart
);
}
}
if
(
xend
)
stop
=
types_extract_as_integer
(
xend
);
...
...
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