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
aa25fcde
Commit
aa25fcde
authored
Feb 16, 2010
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Print parameter values in backtraces in hex.
parent
3d18a77a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
memory.c
programs/winedbg/memory.c
+16
-2
No files found.
programs/winedbg/memory.c
View file @
aa25fcde
...
...
@@ -338,6 +338,20 @@ static void dbg_print_longlong(LONGLONG sv, BOOL is_signed)
dbg_printf
(
"%s"
,
ptr
);
}
static
void
dbg_print_hex
(
ULONGLONG
sv
)
{
if
(
!
sv
)
{
dbg_printf
(
"0"
);
return
;
}
if
(
sv
>>
32
)
dbg_printf
(
"0x%lx%08lx"
,
(
unsigned
long
)(
sv
>>
32
),
(
unsigned
long
)
sv
);
else
dbg_printf
(
"0x%04lx"
,
(
unsigned
long
)
sv
);
}
static
void
print_typed_basic
(
const
struct
dbg_lvalue
*
lvalue
)
{
LONGLONG
val_int
;
...
...
@@ -367,12 +381,12 @@ static void print_typed_basic(const struct dbg_lvalue* lvalue)
case
btLong
:
if
(
!
be_cpu
->
fetch_integer
(
lvalue
,
size
,
TRUE
,
&
val_int
))
return
;
if
(
size
==
1
)
goto
print_char
;
dbg_print_
longlong
(
val_int
,
TRUE
);
dbg_print_
hex
(
val_int
);
break
;
case
btUInt
:
case
btULong
:
if
(
!
be_cpu
->
fetch_integer
(
lvalue
,
size
,
FALSE
,
&
val_int
))
return
;
dbg_print_
longlong
(
val_int
,
FALSE
);
dbg_print_
hex
(
val_int
);
break
;
case
btFloat
:
if
(
!
be_cpu
->
fetch_float
(
lvalue
,
size
,
&
val_real
))
return
;
...
...
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