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
91c7ff29
Commit
91c7ff29
authored
Dec 12, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: For the x86_64 backend, fetch all the integral types.
parent
ab2e0bde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
be_x86_64.c
programs/winedbg/be_x86_64.c
+17
-3
No files found.
programs/winedbg/be_x86_64.c
View file @
91c7ff29
...
...
@@ -226,10 +226,24 @@ static int be_x86_64_adjust_pc_for_break(CONTEXT* ctx, BOOL way)
}
static
int
be_x86_64_fetch_integer
(
const
struct
dbg_lvalue
*
lvalue
,
unsigned
size
,
unsigned
ext_sign
,
LONGLONG
*
ret
)
unsigned
ext_sign
,
LONGLONG
*
ret
)
{
dbg_printf
(
"not done fetch_integer
\n
"
);
return
FALSE
;
if
(
size
!=
1
&&
size
!=
2
&&
size
!=
4
&&
size
!=
8
&&
size
!=
16
)
return
FALSE
;
memset
(
ret
,
0
,
sizeof
(
*
ret
));
/* clear unread bytes */
/* FIXME: this assumes that debuggee and debugger use the same
* integral representation
*/
if
(
!
memory_read_value
(
lvalue
,
size
,
ret
))
return
FALSE
;
/* propagate sign information */
if
(
ext_sign
&&
size
<
16
&&
(
*
ret
>>
(
size
*
8
-
1
))
!=
0
)
{
ULONGLONG
neg
=
-
1
;
*
ret
|=
neg
<<
(
size
*
8
);
}
return
TRUE
;
}
static
int
be_x86_64_fetch_float
(
const
struct
dbg_lvalue
*
lvalue
,
unsigned
size
,
...
...
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