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
052eb24b
Commit
052eb24b
authored
Oct 26, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Don't start another instance of the debugger when it crashes.
parent
f624d8f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
winedbg.c
programs/winedbg/winedbg.c
+8
-0
No files found.
programs/winedbg/winedbg.c
View file @
052eb24b
...
...
@@ -603,6 +603,12 @@ void dbg_start_interactive(HANDLE hFile)
dbg_save_internal_vars
();
}
static
LONG
CALLBACK
top_filter
(
EXCEPTION_POINTERS
*
ptr
)
{
dbg_printf
(
"winedbg: Internal crash at %p
\n
"
,
ptr
->
ExceptionRecord
->
ExceptionAddress
);
return
EXCEPTION_EXECUTE_HANDLER
;
}
struct
backend_cpu
*
be_cpu
;
#ifdef __i386__
extern
struct
backend_cpu
be_i386
;
...
...
@@ -644,6 +650,8 @@ int main(int argc, char** argv)
/* Initialize the output */
dbg_houtput
=
GetStdHandle
(
STD_OUTPUT_HANDLE
);
SetUnhandledExceptionFilter
(
top_filter
);
/* Initialize internal vars */
if
(
!
dbg_load_internal_vars
())
return
-
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