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
61beaf48
Commit
61beaf48
authored
Mar 29, 2005
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- PDB: better checking for error conditions
- Fixed name demangling (when activated) when searching for a symbol
parent
e594762a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
msc.c
dlls/dbghelp/msc.c
+8
-4
symbol.c
dlls/dbghelp/symbol.c
+1
-1
No files found.
dlls/dbghelp/msc.c
View file @
61beaf48
...
...
@@ -4,7 +4,7 @@
*
* Copyright (C) 1996, Eric Youngdale.
* Copyright (C) 1999-2000, Ulrich Weigand.
* Copyright (C) 2004
,
Eric Pouech.
* Copyright (C) 2004
-2005,
Eric Pouech.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -496,11 +496,10 @@ static int codeview_add_type_struct_field_list(struct module* module,
{
struct
symt_udt
*
symt
;
const
unsigned
char
*
ptr
=
list
;
int
value
,
leaf_len
,
vpoff
,
vplen
;
int
value
,
leaf_len
;
const
struct
p_string
*
p_name
;
const
char
*
c_name
;
struct
symt
*
subtype
;
const
unsigned
short
int
*
p_vboff
;
symt
=
symt_new_udt
(
module
,
NULL
,
0
,
UdtStruct
/* don't care */
);
while
(
ptr
-
list
<
len
)
...
...
@@ -534,6 +533,8 @@ static int codeview_add_type_struct_field_list(struct module* module,
case
LF_VBCLASS_V1
:
case
LF_IVBCLASS_V1
:
{
const
unsigned
short
int
*
p_vboff
;
int
vpoff
,
vplen
;
leaf_len
=
numeric_leaf
(
&
value
,
&
type
->
vbclass_v1
.
vbpoff
);
p_vboff
=
(
const
unsigned
short
int
*
)((
const
char
*
)
&
type
->
vbclass_v1
.
vbpoff
+
leaf_len
);
vplen
=
numeric_leaf
(
&
vpoff
,
p_vboff
);
...
...
@@ -547,6 +548,8 @@ static int codeview_add_type_struct_field_list(struct module* module,
case
LF_VBCLASS_V2
:
case
LF_IVBCLASS_V2
:
{
const
unsigned
short
int
*
p_vboff
;
int
vpoff
,
vplen
;
leaf_len
=
numeric_leaf
(
&
value
,
&
type
->
vbclass_v2
.
vbpoff
);
p_vboff
=
(
const
unsigned
short
int
*
)((
const
char
*
)
&
type
->
vbclass_v2
.
vbpoff
+
leaf_len
);
vplen
=
numeric_leaf
(
&
vpoff
,
p_vboff
);
...
...
@@ -1156,7 +1159,8 @@ static int codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* root
{
const
union
codeview_symbol
*
sym
=
(
const
union
codeview_symbol
*
)(
root
+
i
);
length
=
sym
->
generic
.
len
+
2
;
if
(
length
&
3
)
FIXME
(
"unpadded len %u
\n
"
,
length
+
2
);
if
(
i
+
length
>
size
)
break
;
if
(
length
&
3
)
FIXME
(
"unpadded len %u
\n
"
,
length
);
switch
(
sym
->
generic
.
id
)
{
...
...
dlls/dbghelp/symbol.c
View file @
61beaf48
...
...
@@ -532,7 +532,7 @@ static void symt_fill_sym_info(const struct module* module,
if
(
sym_info
->
MaxNameLen
)
{
if
(
sym
->
tag
!=
SymTagPublicSymbol
||
!
(
dbghelp_options
&
SYMOPT_UNDNAME
)
||
(
sym_info
->
NameLen
=
UnDecorateSymbolName
(
sym_info
->
N
ame
,
sym_info
->
Name
,
(
sym_info
->
NameLen
=
UnDecorateSymbolName
(
n
ame
,
sym_info
->
Name
,
sym_info
->
MaxNameLen
,
UNDNAME_COMPLETE
)
==
0
))
{
sym_info
->
NameLen
=
min
(
strlen
(
name
),
sym_info
->
MaxNameLen
-
1
);
...
...
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