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
750575cc
Commit
750575cc
authored
Dec 19, 2005
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 19, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Return proper size for local & parameters in SYMBOL_INFO.
parent
d3805c30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
dbghelp_private.h
dlls/dbghelp/dbghelp_private.h
+1
-1
symbol.c
dlls/dbghelp/symbol.c
+4
-1
No files found.
dlls/dbghelp/dbghelp_private.h
View file @
750575cc
...
@@ -142,7 +142,7 @@ struct symt_data
...
@@ -142,7 +142,7 @@ struct symt_data
unsigned
long
address
;
/* DataIs{Global, FileStatic} */
unsigned
long
address
;
/* DataIs{Global, FileStatic} */
struct
struct
{
{
long
offset
;
/* DataIs{Member,Local,Param} in bits*/
long
offset
;
/* DataIs{Member,Local,Param} in bits
*/
unsigned
long
length
;
/* DataIs{Member} in bits */
unsigned
long
length
;
/* DataIs{Member} in bits */
unsigned
long
reg_id
;
/* DataIs{Local} (0 if frame relative) */
unsigned
long
reg_id
;
/* DataIs{Local} (0 if frame relative) */
}
s
;
}
s
;
...
...
dlls/dbghelp/symbol.c
View file @
750575cc
...
@@ -448,7 +448,10 @@ static void symt_fill_sym_info(const struct module* module,
...
@@ -448,7 +448,10 @@ static void symt_fill_sym_info(const struct module* module,
if
(
!
symt_get_info
(
sym
,
TI_GET_TYPE
,
&
sym_info
->
TypeIndex
))
if
(
!
symt_get_info
(
sym
,
TI_GET_TYPE
,
&
sym_info
->
TypeIndex
))
sym_info
->
TypeIndex
=
0
;
sym_info
->
TypeIndex
=
0
;
sym_info
->
info
=
(
DWORD
)
sym
;
sym_info
->
info
=
(
DWORD
)
sym
;
symt_get_info
(
sym
,
TI_GET_LENGTH
,
&
size
);
if
(
!
symt_get_info
(
sym
,
TI_GET_LENGTH
,
&
size
)
&&
sym_info
->
TypeIndex
&&
!
symt_get_info
((
struct
symt
*
)
sym_info
->
TypeIndex
,
TI_GET_LENGTH
,
&
size
))
size
=
0
;
sym_info
->
Size
=
(
DWORD
)
size
;
sym_info
->
Size
=
(
DWORD
)
size
;
sym_info
->
ModBase
=
module
->
module
.
BaseOfImage
;
sym_info
->
ModBase
=
module
->
module
.
BaseOfImage
;
sym_info
->
Flags
=
0
;
sym_info
->
Flags
=
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