Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
30121124
Commit
30121124
authored
Dec 03, 2005
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 03, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: fixed regression (and simplified code!) for arguments
printing in backtrace.
parent
28c503a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
stack.c
programs/winedbg/stack.c
+1
-8
No files found.
programs/winedbg/stack.c
View file @
30121124
...
@@ -176,18 +176,11 @@ static BOOL WINAPI sym_enum_cb(SYMBOL_INFO* sym_info, ULONG size, void* user)
...
@@ -176,18 +176,11 @@ static BOOL WINAPI sym_enum_cb(SYMBOL_INFO* sym_info, ULONG size, void* user)
struct
sym_enum
*
se
=
(
struct
sym_enum
*
)
user
;
struct
sym_enum
*
se
=
(
struct
sym_enum
*
)
user
;
DWORD
addr
;
DWORD
addr
;
unsigned
val
;
unsigned
val
;
long
offset
;
if
((
sym_info
->
Flags
&
(
SYMFLAG_PARAMETER
|
SYMFLAG_FRAMEREL
))
==
(
SYMFLAG_PARAMETER
|
SYMFLAG_FRAMEREL
))
if
((
sym_info
->
Flags
&
(
SYMFLAG_PARAMETER
|
SYMFLAG_FRAMEREL
))
==
(
SYMFLAG_PARAMETER
|
SYMFLAG_FRAMEREL
))
{
{
struct
dbg_type
type
;
if
(
se
->
tmp
[
0
])
strcat
(
se
->
tmp
,
", "
);
if
(
se
->
tmp
[
0
])
strcat
(
se
->
tmp
,
", "
);
addr
=
se
->
frame
;
addr
=
se
->
frame
+
sym_info
->
Address
;
type
.
module
=
sym_info
->
ModBase
;
type
.
id
=
sym_info
->
TypeIndex
;
types_get_info
(
&
type
,
TI_GET_OFFSET
,
&
offset
);
addr
+=
offset
;
if
(
dbg_read_memory
((
char
*
)
addr
,
&
val
,
sizeof
(
val
)))
if
(
dbg_read_memory
((
char
*
)
addr
,
&
val
,
sizeof
(
val
)))
sprintf
(
se
->
tmp
+
strlen
(
se
->
tmp
),
"%s=0x%x"
,
sym_info
->
Name
,
val
);
sprintf
(
se
->
tmp
+
strlen
(
se
->
tmp
),
"%s=0x%x"
,
sym_info
->
Name
,
val
);
else
else
...
...
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