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
615fff29
Commit
615fff29
authored
Mar 11, 2009
by
Ken Thomases
Committed by
Alexandre Julliard
Mar 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Teach stabs_parse about other kinds of Mach-O symbol definitions.
parent
d35c0e87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
stabs.c
dlls/dbghelp/stabs.c
+17
-0
No files found.
dlls/dbghelp/stabs.c
View file @
615fff29
...
...
@@ -53,6 +53,10 @@
#include <assert.h>
#include <stdarg.h>
#ifdef HAVE_MACH_O_NLIST_H
# include <mach-o/nlist.h>
#endif
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
...
...
@@ -1549,12 +1553,25 @@ BOOL stabs_parse(struct module* module, unsigned long load_offset,
/* Always ignore these, they seem to be used only on Darwin. */
break
;
case
N_ABS
:
#ifdef N_SECT
case
N_SECT
:
#endif
/* FIXME: Other definition types (N_TEXT, N_DATA, N_BSS, ...)? */
if
(
callback
)
{
BOOL
is_public
=
(
stab_ptr
->
n_type
&
N_EXT
);
BOOL
is_global
=
is_public
;
#ifdef N_PEXT
/* "private extern"; shared among compilation units in a shared
* library, but not accessible from outside the library. */
if
(
stab_ptr
->
n_type
&
N_PEXT
)
{
is_public
=
FALSE
;
is_global
=
TRUE
;
}
#endif
if
(
*
ptr
==
'_'
)
ptr
++
;
stab_strcpy
(
symname
,
sizeof
(
symname
),
ptr
);
...
...
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