Commit 55e1af93 authored by Alexandre Julliard's avatar Alexandre Julliard

Added DebugBreak.

parent 410ae4f3
......@@ -1227,6 +1227,7 @@ HANDLE WINAPI CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR);
#define CreateSemaphore WINELIB_NAME_AW(CreateSemaphore)
HANDLE WINAPI CreateThread(LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD);
BOOL WINAPI DebugActiveProcess(DWORD);
void WINAPI DebugBreak(void);
BOOL WINAPI DisableThreadLibraryCalls(HMODULE);
BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,LPFILETIME);
BOOL WINAPI DuplicateHandle(HANDLE,HANDLE,HANDLE,HANDLE*,DWORD,BOOL,DWORD);
......
......@@ -196,9 +196,7 @@ import ntdll.dll
178 stdcall CreateThread(ptr long ptr long long ptr) CreateThread
179 stdcall CreateToolhelp32Snapshot(long long) CreateToolhelp32Snapshot
180 stdcall DebugActiveProcess(long) DebugActiveProcess
# FIXME
#181 register DebugBreak() DebugBreak
181 stub DebugBreak
181 register DebugBreak() DebugBreak
182 stdcall DefineDosDeviceA(long str str) DefineDosDeviceA
183 stub DefineDosDeviceW
184 stdcall DeleteAtom(long) DeleteAtom
......
......@@ -6,7 +6,6 @@
#include <unistd.h>
#include <sys/types.h>
#include <signal.h>
#include "syslevel.h"
#include "heap.h"
#include "stackframe.h"
......@@ -241,8 +240,7 @@ VOID SYSLEVEL_CheckNotLevel( INT level )
{
ERR("(%d): Holding lock of level %d!\n",
level, i );
kill( getpid(), SIGHUP );
DebugBreak();
break;
}
}
......
......@@ -299,7 +299,7 @@ void X11DRV_USER_ParseOptions(int *argc, char *argv[])
*/
static int X11DRV_USER_ErrorHandler(Display *display, XErrorEvent *error_evt)
{
kill( getpid(), SIGHUP ); /* force an entry in the debugger */
DebugBreak(); /* force an entry in the debugger */
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment