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
bd9ba7ec
Commit
bd9ba7ec
authored
Aug 13, 2006
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Fixed the symbol lookup so that it can really find _foo when looking for foo.
parent
84650ebb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
symbol.c
programs/winedbg/symbol.c
+2
-10
No files found.
programs/winedbg/symbol.c
View file @
bd9ba7ec
...
@@ -233,11 +233,7 @@ enum sym_get_lval symbol_get_lvalue(const char* name, const int lineno,
...
@@ -233,11 +233,7 @@ enum sym_get_lval symbol_get_lvalue(const char* name, const int lineno,
* enumeration
* enumeration
*/
*/
SymSetOptions
((
opt
=
SymGetOptions
())
|
0x40000000
);
SymSetOptions
((
opt
=
SymGetOptions
())
|
0x40000000
);
if
(
!
SymEnumSymbols
(
dbg_curr_process
->
handle
,
0
,
buffer
,
sgv_cb
,
(
void
*
)
&
sgv
))
SymEnumSymbols
(
dbg_curr_process
->
handle
,
0
,
buffer
,
sgv_cb
,
(
void
*
)
&
sgv
);
{
SymSetOptions
(
opt
);
return
sglv_unknown
;
}
if
(
!
sgv
.
num
&&
(
name
[
0
]
!=
'_'
))
if
(
!
sgv
.
num
&&
(
name
[
0
]
!=
'_'
))
{
{
...
@@ -255,11 +251,7 @@ enum sym_get_lval symbol_get_lvalue(const char* name, const int lineno,
...
@@ -255,11 +251,7 @@ enum sym_get_lval symbol_get_lvalue(const char* name, const int lineno,
buffer
[
2
]
=
'_'
;
buffer
[
2
]
=
'_'
;
strcpy
(
&
buffer
[
3
],
name
);
strcpy
(
&
buffer
[
3
],
name
);
}
}
if
(
!
SymEnumSymbols
(
dbg_curr_process
->
handle
,
0
,
buffer
,
sgv_cb
,
(
void
*
)
&
sgv
))
SymEnumSymbols
(
dbg_curr_process
->
handle
,
0
,
buffer
,
sgv_cb
,
(
void
*
)
&
sgv
);
{
SymSetOptions
(
opt
);
return
sglv_unknown
;
}
}
}
SymSetOptions
(
opt
);
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