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
67e4edc5
Commit
67e4edc5
authored
Nov 17, 2005
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When a symbol name already contains a module name, we shouldn't search
in other modules.
parent
6cd44bc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
5 deletions
+24
-5
symbol.c
programs/winedbg/symbol.c
+24
-5
No files found.
programs/winedbg/symbol.c
View file @
67e4edc5
...
...
@@ -232,9 +232,16 @@ enum sym_get_lval symbol_get_lvalue(const char* name, const int lineno,
sgv
.
bp_disp
=
bp_disp
?
TRUE
:
FALSE
;
sgv
.
do_thunks
=
DBG_IVAR
(
AlwaysShowThunks
);
buffer
[
0
]
=
'*'
;
buffer
[
1
]
=
'!'
;
strcpy
(
&
buffer
[
2
],
name
);
if
(
strchr
(
name
,
'!'
))
{
strcpy
(
buffer
,
name
);
}
else
{
buffer
[
0
]
=
'*'
;
buffer
[
1
]
=
'!'
;
strcpy
(
&
buffer
[
2
],
name
);
}
/* this is a wine specific options to return also ELF modules in the
* enumeration
...
...
@@ -248,8 +255,20 @@ enum sym_get_lval symbol_get_lvalue(const char* name, const int lineno,
if
(
!
sgv
.
num
&&
(
name
[
0
]
!=
'_'
))
{
buffer
[
2
]
=
'_'
;
strcpy
(
&
buffer
[
3
],
name
);
char
*
ptr
=
strchr
(
name
,
'!'
);
if
(
ptr
++
)
{
memmove
(
ptr
+
1
,
ptr
,
strlen
(
ptr
));
*
ptr
=
'_'
;
}
else
{
buffer
[
0
]
=
'*'
;
buffer
[
1
]
=
'!'
;
buffer
[
2
]
=
'_'
;
strcpy
(
&
buffer
[
3
],
name
);
}
if
(
!
SymEnumSymbols
(
dbg_curr_process
->
handle
,
0
,
buffer
,
sgv_cb
,
(
void
*
)
&
sgv
))
{
SymSetOptions
(
opt
);
...
...
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