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
d0f260eb
Commit
d0f260eb
authored
Jan 12, 2002
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enhance display for symbol picking.
parent
3d683d5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
hash.c
debugger/hash.c
+15
-3
No files found.
debugger/hash.c
View file @
d0f260eb
...
...
@@ -362,7 +362,7 @@ BOOL DEBUG_GetSymbolValue( const char * name, const int lineno,
/* FIXME: NUMDBGV should be made variable */
DBG_VALUE
value
[
NUMDBGV
];
DBG_VALUE
vtmp
;
int
num
,
i
;
int
num
,
i
,
local
=
-
1
;
num
=
DEBUG_GSV_Helper
(
name
,
lineno
,
value
,
NUMDBGV
,
bp_flag
);
if
(
!
num
&&
(
name
[
0
]
!=
'_'
))
...
...
@@ -379,6 +379,7 @@ BOOL DEBUG_GetSymbolValue( const char * name, const int lineno,
if
(
DEBUG_GetStackSymbolValue
(
name
,
&
vtmp
)
&&
num
<
NUMDBGV
)
{
value
[
num
]
=
vtmp
;
local
=
num
;
num
++
;
}
...
...
@@ -396,8 +397,19 @@ BOOL DEBUG_GetSymbolValue( const char * name, const int lineno,
DEBUG_Printf
(
DBG_CHN_MESG
,
"Many symbols with name '%s', choose the one you want (<cr> to abort):
\n
"
,
name
);
for
(
i
=
0
;
i
<
num
;
i
++
)
{
DEBUG_Printf
(
DBG_CHN_MESG
,
"[%d]: "
,
i
+
1
);
DEBUG_PrintAddress
(
&
value
[
i
].
addr
,
DEBUG_GetSelectorType
(
value
[
i
].
addr
.
seg
),
TRUE
);
DEBUG_Printf
(
DBG_CHN_MESG
,
"
\n
"
);
if
(
i
==
local
)
{
struct
name_hash
*
func
;
unsigned
int
ebp
;
unsigned
int
eip
;
if
(
DEBUG_GetCurrentFrame
(
&
func
,
&
eip
,
&
ebp
))
DEBUG_Printf
(
DBG_CHN_MESG
,
"local variable of %s in %s
\n
"
,
func
->
name
,
func
->
sourcefile
);
else
DEBUG_Printf
(
DBG_CHN_MESG
,
"local variable
\n
"
);
}
else
{
DEBUG_PrintAddress
(
&
value
[
i
].
addr
,
DEBUG_GetSelectorType
(
value
[
i
].
addr
.
seg
),
TRUE
);
DEBUG_Printf
(
DBG_CHN_MESG
,
"
\n
"
);
}
}
do
{
i
=
0
;
...
...
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