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
eef72ad2
Commit
eef72ad2
authored
Mar 30, 2010
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 31, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Add some missing symbol flags to pick up local/parameters variables in symbol pickers.
parent
ecbf297f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
symbol.c
programs/winedbg/symbol.c
+2
-2
No files found.
programs/winedbg/symbol.c
View file @
eef72ad2
...
@@ -227,7 +227,7 @@ enum sym_get_lval symbol_picker_interactive(const char* name, const struct sgv_d
...
@@ -227,7 +227,7 @@ enum sym_get_lval symbol_picker_interactive(const char* name, const struct sgv_d
if
(
sgv
->
num
-
sgv
->
num_thunks
>
1
&&
(
sgv
->
syms
[
i
].
flags
&
SYMFLAG_THUNK
)
&&
!
DBG_IVAR
(
AlwaysShowThunks
))
if
(
sgv
->
num
-
sgv
->
num_thunks
>
1
&&
(
sgv
->
syms
[
i
].
flags
&
SYMFLAG_THUNK
)
&&
!
DBG_IVAR
(
AlwaysShowThunks
))
continue
;
continue
;
dbg_printf
(
"[%d]: "
,
i
+
1
);
dbg_printf
(
"[%d]: "
,
i
+
1
);
if
(
sgv
->
syms
[
i
].
flags
&
SYMFLAG_LOCAL
)
if
(
sgv
->
syms
[
i
].
flags
&
(
SYMFLAG_LOCAL
|
SYMFLAG_PARAMETER
)
)
{
{
dbg_printf
(
"%s %sof %s
\n
"
,
dbg_printf
(
"%s %sof %s
\n
"
,
sgv
->
syms
[
i
].
flags
&
SYMFLAG_PARAMETER
?
"Parameter"
:
"Local variable"
,
sgv
->
syms
[
i
].
flags
&
SYMFLAG_PARAMETER
?
"Parameter"
:
"Local variable"
,
...
@@ -276,7 +276,7 @@ enum sym_get_lval symbol_picker_scoped(const char* name, const struct sgv_data*
...
@@ -276,7 +276,7 @@ enum sym_get_lval symbol_picker_scoped(const char* name, const struct sgv_data*
{
{
if
(
sgv
->
num
-
sgv
->
num_thunks
>
1
&&
(
sgv
->
syms
[
i
].
flags
&
SYMFLAG_THUNK
)
&&
!
DBG_IVAR
(
AlwaysShowThunks
))
if
(
sgv
->
num
-
sgv
->
num_thunks
>
1
&&
(
sgv
->
syms
[
i
].
flags
&
SYMFLAG_THUNK
)
&&
!
DBG_IVAR
(
AlwaysShowThunks
))
continue
;
continue
;
if
(
sgv
->
syms
[
i
].
flags
&
SYMFLAG_LOCAL
)
if
(
sgv
->
syms
[
i
].
flags
&
(
SYMFLAG_LOCAL
|
SYMFLAG_PARAMETER
)
)
{
{
if
(
local
==
-
1
)
if
(
local
==
-
1
)
local
=
i
;
local
=
i
;
...
...
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