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
585e9d49
Commit
585e9d49
authored
Jan 15, 2024
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 17, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Support redefinition of a range statement.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=56168
Signed-off-by:
Eric Pouech
<
epouech@codeweavers.com
>
parent
0ab411a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
stabs.c
dlls/dbghelp/stabs.c
+9
-3
No files found.
dlls/dbghelp/stabs.c
View file @
585e9d49
...
...
@@ -819,9 +819,15 @@ static int stabs_pts_read_type_def(struct ParseTypedefData* ptd, const char* typ
PTS_ABORTIF
(
ptd
,
stabs_pts_read_array
(
ptd
,
&
new_dt
)
==
-
1
);
break
;
case
'r'
:
PTS_ABORTIF
(
ptd
,
stabs_pts_read_range
(
ptd
,
typename
,
&
new_dt
)
==
-
1
);
assert
(
!*
stabs_find_ref
(
filenr1
,
subnr1
));
*
stabs_find_ref
(
filenr1
,
subnr1
)
=
new_dt
;
{
struct
symt
**
prev_dt
;
PTS_ABORTIF
(
ptd
,
stabs_pts_read_range
(
ptd
,
typename
,
&
new_dt
)
==
-
1
);
prev_dt
=
stabs_find_ref
(
filenr1
,
subnr1
);
/* allow redefining with same base type */
if
(
*
prev_dt
&&
*
prev_dt
!=
new_dt
)
WARN
(
"Multiple range def in %ls
\n
"
,
ptd
->
module
->
module
.
ModuleName
);
else
*
prev_dt
=
new_dt
;
}
break
;
case
'f'
:
PTS_ABORTIF
(
ptd
,
stabs_pts_read_type_def
(
ptd
,
NULL
,
&
ref_dt
)
==
-
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