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
a1d12ad5
Commit
a1d12ad5
authored
Aug 15, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Aug 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Don't clear WINEDEBUG in the debugger process if +winedbg is set.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7973699a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
except.c
dlls/kernel32/except.c
+4
-0
No files found.
dlls/kernel32/except.c
View file @
a1d12ad5
...
@@ -54,6 +54,7 @@
...
@@ -54,6 +54,7 @@
#include "wine/debug.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
seh
);
WINE_DEFAULT_DEBUG_CHANNEL
(
seh
);
WINE_DECLARE_DEBUG_CHANNEL
(
winedbg
);
static
PTOP_LEVEL_EXCEPTION_FILTER
top_filter
;
static
PTOP_LEVEL_EXCEPTION_FILTER
top_filter
;
...
@@ -289,6 +290,8 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
...
@@ -289,6 +290,8 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
/* make WINEDEBUG empty in the environment */
/* make WINEDEBUG empty in the environment */
env
=
GetEnvironmentStringsA
();
env
=
GetEnvironmentStringsA
();
if
(
!
TRACE_ON
(
winedbg
))
{
for
(
p
=
env
;
*
p
;
p
+=
strlen
(
p
)
+
1
)
for
(
p
=
env
;
*
p
;
p
+=
strlen
(
p
)
+
1
)
{
{
if
(
!
memcmp
(
p
,
"WINEDEBUG="
,
sizeof
(
"WINEDEBUG="
)
-
1
))
if
(
!
memcmp
(
p
,
"WINEDEBUG="
,
sizeof
(
"WINEDEBUG="
)
-
1
))
...
@@ -300,6 +303,7 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
...
@@ -300,6 +303,7 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
break
;
break
;
}
}
}
}
}
TRACE
(
"Starting debugger %s
\n
"
,
debugstr_a
(
cmdline
));
TRACE
(
"Starting debugger %s
\n
"
,
debugstr_a
(
cmdline
));
memset
(
&
startup
,
0
,
sizeof
(
startup
));
memset
(
&
startup
,
0
,
sizeof
(
startup
));
...
...
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