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
fa5e5df7
Commit
fa5e5df7
authored
Jun 06, 2019
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jun 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: SymSet/GetExtendedOption support a WINE only option.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3fed8787
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
4 deletions
+29
-4
dbghelp.c
dlls/dbghelp/dbghelp.c
+22
-3
dbghelp_private.h
dlls/dbghelp/dbghelp_private.h
+2
-0
dbghelp.h
include/dbghelp.h
+5
-1
No files found.
dlls/dbghelp/dbghelp.c
View file @
fa5e5df7
...
@@ -65,6 +65,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
...
@@ -65,6 +65,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
*/
*/
unsigned
dbghelp_options
=
SYMOPT_UNDNAME
;
unsigned
dbghelp_options
=
SYMOPT_UNDNAME
;
BOOL
dbghelp_opt_native
=
FALSE
;
static
struct
process
*
process_first
/* = NULL */
;
static
struct
process
*
process_first
/* = NULL */
;
...
@@ -457,8 +458,19 @@ DWORD WINAPI SymGetOptions(void)
...
@@ -457,8 +458,19 @@ DWORD WINAPI SymGetOptions(void)
*/
*/
BOOL
WINAPI
SymSetExtendedOption
(
IMAGEHLP_EXTENDED_OPTIONS
option
,
BOOL
value
)
BOOL
WINAPI
SymSetExtendedOption
(
IMAGEHLP_EXTENDED_OPTIONS
option
,
BOOL
value
)
{
{
FIXME
(
"%d, %d
\n
"
,
option
,
value
);
BOOL
old
=
FALSE
;
return
FALSE
;
switch
(
option
)
{
case
SYMOPT_EX_WINE_NATIVE_MODULES
:
old
=
dbghelp_opt_native
;
dbghelp_opt_native
=
value
;
break
;
default:
FIXME
(
"Unsupported option %d with value %d
\n
"
,
option
,
value
);
}
return
old
;
}
}
/******************************************************************
/******************************************************************
...
@@ -467,7 +479,14 @@ BOOL WINAPI SymSetExtendedOption(IMAGEHLP_EXTENDED_OPTIONS option, BOOL value)
...
@@ -467,7 +479,14 @@ BOOL WINAPI SymSetExtendedOption(IMAGEHLP_EXTENDED_OPTIONS option, BOOL value)
*/
*/
BOOL
WINAPI
SymGetExtendedOption
(
IMAGEHLP_EXTENDED_OPTIONS
option
)
BOOL
WINAPI
SymGetExtendedOption
(
IMAGEHLP_EXTENDED_OPTIONS
option
)
{
{
FIXME
(
"%d
\n
"
,
option
);
switch
(
option
)
{
case
SYMOPT_EX_WINE_NATIVE_MODULES
:
return
dbghelp_opt_native
;
default:
FIXME
(
"Unsupported option %d
\n
"
,
option
);
}
return
FALSE
;
return
FALSE
;
}
}
...
...
dlls/dbghelp/dbghelp_private.h
View file @
fa5e5df7
...
@@ -114,6 +114,8 @@ void* hash_table_iter_up(struct hash_table_iter* hti) DECLSPEC_HIDDEN;
...
@@ -114,6 +114,8 @@ void* hash_table_iter_up(struct hash_table_iter* hti) DECLSPEC_HIDDEN;
extern
unsigned
dbghelp_options
DECLSPEC_HIDDEN
;
extern
unsigned
dbghelp_options
DECLSPEC_HIDDEN
;
extern
BOOL
dbghelp_opt_native
DECLSPEC_HIDDEN
;
/* some more Wine extensions */
/* some more Wine extensions */
#define SYMOPT_WINE_WITH_NATIVE_MODULES 0x40000000
#define SYMOPT_WINE_WITH_NATIVE_MODULES 0x40000000
...
...
include/dbghelp.h
View file @
fa5e5df7
...
@@ -1427,7 +1427,11 @@ typedef struct _IMAGE_DEBUG_INFORMATION
...
@@ -1427,7 +1427,11 @@ typedef struct _IMAGE_DEBUG_INFORMATION
typedef
enum
typedef
enum
{
{
SYMOPT_EX_DISABLEACCESSTIMEUPDATE
,
SYMOPT_EX_DISABLEACCESSTIMEUPDATE
,
SYMOPT_EX_MAX
SYMOPT_EX_MAX
,
#ifdef __WINESRC__
SYMOPT_EX_WINE_NATIVE_MODULES
=
1000
,
#endif
}
IMAGEHLP_EXTENDED_OPTIONS
;
}
IMAGEHLP_EXTENDED_OPTIONS
;
PIMAGE_DEBUG_INFORMATION
WINAPI
MapDebugInformation
(
HANDLE
,
PCSTR
,
PCSTR
,
ULONG
);
PIMAGE_DEBUG_INFORMATION
WINAPI
MapDebugInformation
(
HANDLE
,
PCSTR
,
PCSTR
,
ULONG
);
...
...
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