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
0114be09
Commit
0114be09
authored
Jun 23, 2014
by
Sebastian Lackner
Committed by
Alexandre Julliard
Jun 23, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Process DBG_RIPEXCEPTION events like regular exceptions.
parent
2fcecdb7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
debugger.c
dlls/kernel32/debugger.c
+7
-4
ntstatus.h
include/ntstatus.h
+1
-0
winnt.h
include/winnt.h
+1
-0
No files found.
dlls/kernel32/debugger.c
View file @
0114be09
...
@@ -85,6 +85,13 @@ BOOL WINAPI WaitForDebugEvent(
...
@@ -85,6 +85,13 @@ BOOL WINAPI WaitForDebugEvent(
event
->
u
.
DebugString
.
nDebugStringLength
=
data
.
exception
.
params
[
0
];
event
->
u
.
DebugString
.
nDebugStringLength
=
data
.
exception
.
params
[
0
];
break
;
break
;
}
}
else
if
(
data
.
exception
.
exc_code
==
DBG_RIPEXCEPTION
&&
data
.
exception
.
nb_params
>=
2
)
{
event
->
dwDebugEventCode
=
RIP_EVENT
;
event
->
u
.
RipInfo
.
dwError
=
data
.
exception
.
params
[
0
];
event
->
u
.
RipInfo
.
dwType
=
data
.
exception
.
params
[
1
];
break
;
}
event
->
u
.
Exception
.
dwFirstChance
=
data
.
exception
.
first
;
event
->
u
.
Exception
.
dwFirstChance
=
data
.
exception
.
first
;
event
->
u
.
Exception
.
ExceptionRecord
.
ExceptionCode
=
data
.
exception
.
exc_code
;
event
->
u
.
Exception
.
ExceptionRecord
.
ExceptionCode
=
data
.
exception
.
exc_code
;
event
->
u
.
Exception
.
ExceptionRecord
.
ExceptionFlags
=
data
.
exception
.
flags
;
event
->
u
.
Exception
.
ExceptionRecord
.
ExceptionFlags
=
data
.
exception
.
flags
;
...
@@ -128,10 +135,6 @@ BOOL WINAPI WaitForDebugEvent(
...
@@ -128,10 +135,6 @@ BOOL WINAPI WaitForDebugEvent(
case
UNLOAD_DLL_DEBUG_EVENT
:
case
UNLOAD_DLL_DEBUG_EVENT
:
event
->
u
.
UnloadDll
.
lpBaseOfDll
=
wine_server_get_ptr
(
data
.
unload_dll
.
base
);
event
->
u
.
UnloadDll
.
lpBaseOfDll
=
wine_server_get_ptr
(
data
.
unload_dll
.
base
);
break
;
break
;
case
RIP_EVENT
:
event
->
u
.
RipInfo
.
dwError
=
data
.
rip_info
.
error
;
event
->
u
.
RipInfo
.
dwType
=
data
.
rip_info
.
type
;
break
;
}
}
done:
done:
/* nothing */
;
/* nothing */
;
...
...
include/ntstatus.h
View file @
0114be09
...
@@ -1212,6 +1212,7 @@
...
@@ -1212,6 +1212,7 @@
#define DBG_TERMINATE_PROCESS ((NTSTATUS) 0x40010004)
#define DBG_TERMINATE_PROCESS ((NTSTATUS) 0x40010004)
#define DBG_CONTROL_C ((NTSTATUS) 0x40010005)
#define DBG_CONTROL_C ((NTSTATUS) 0x40010005)
#define DBG_PRINTEXCEPTION_C ((NTSTATUS) 0x40010006)
#define DBG_PRINTEXCEPTION_C ((NTSTATUS) 0x40010006)
#define DBG_RIPEXCEPTION ((NTSTATUS) 0x40010007)
#define DBG_CONTROL_BREAK ((NTSTATUS) 0x40010008)
#define DBG_CONTROL_BREAK ((NTSTATUS) 0x40010008)
#define DBG_COMMAND_EXCEPTION ((NTSTATUS) 0x40010009)
#define DBG_COMMAND_EXCEPTION ((NTSTATUS) 0x40010009)
#define DBG_EXCEPTION_NOT_HANDLED ((NTSTATUS) 0x80010001)
#define DBG_EXCEPTION_NOT_HANDLED ((NTSTATUS) 0x80010001)
...
...
include/winnt.h
View file @
0114be09
...
@@ -623,6 +623,7 @@ typedef DWORD FLONG;
...
@@ -623,6 +623,7 @@ typedef DWORD FLONG;
#define DBG_TERMINATE_PROCESS ((DWORD) 0x40010004)
#define DBG_TERMINATE_PROCESS ((DWORD) 0x40010004)
#define DBG_CONTROL_C ((DWORD) 0x40010005)
#define DBG_CONTROL_C ((DWORD) 0x40010005)
#define DBG_PRINTEXCEPTION_C ((DWORD) 0x40010006)
#define DBG_PRINTEXCEPTION_C ((DWORD) 0x40010006)
#define DBG_RIPEXCEPTION ((DWORD) 0x40010007)
#define DBG_CONTROL_BREAK ((DWORD) 0x40010008)
#define DBG_CONTROL_BREAK ((DWORD) 0x40010008)
#define DBG_COMMAND_EXCEPTION ((DWORD) 0x40010009)
#define DBG_COMMAND_EXCEPTION ((DWORD) 0x40010009)
#define DBG_EXCEPTION_NOT_HANDLED ((DWORD) 0x80010001)
#define DBG_EXCEPTION_NOT_HANDLED ((DWORD) 0x80010001)
...
...
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