msvcrt: Add _crt_debugger_hook implementation.

Based on a patch by Andrey Zhezherun.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2016-01-19 13:53:19 +01:00 committed by Alexandre Julliard
parent 39ec97ea9d
commit ecfc10bbfb
9 changed files with 22 additions and 12 deletions

View File

@ -30,7 +30,7 @@
@ cdecl _controlfp_s(ptr long long) ucrtbase._controlfp_s
@ stub _crt_at_quick_exit
@ cdecl _crt_atexit(ptr) ucrtbase._crt_atexit
@ stub _crt_debugger_hook
@ cdecl _crt_debugger_hook(long) ucrtbase._crt_debugger_hook
@ cdecl _endthread() ucrtbase._endthread
@ cdecl _endthreadex(long) ucrtbase._endthreadex
@ cdecl _errno() ucrtbase._errno

View File

@ -745,7 +745,8 @@
@ cdecl _cputws(wstr)
@ cdecl _creat(str long) MSVCRT__creat
@ cdecl _create_locale(long str) MSVCRT__create_locale
@ stub _crt_debugger_hook
@ cdecl -arch=i386 _crt_debugger_hook(long) MSVCRT__crt_debugger_hook
@ cdecl -arch=arm,win64 __crt_debugger_hook(long) MSVCRT__crt_debugger_hook
@ varargs _cscanf(str)
@ varargs _cscanf_l(str ptr)
@ varargs _cscanf_s(str)

View File

@ -1093,8 +1093,8 @@
@ cdecl _cputws(wstr)
@ cdecl _creat(str long) MSVCRT__creat
@ cdecl _create_locale(long str) MSVCRT__create_locale
@ stub -arch=i386 _crt_debugger_hook
@ stub -arch=arm,win64 __crt_debugger_hook
@ cdecl -arch=i386 _crt_debugger_hook(long) MSVCRT__crt_debugger_hook
@ cdecl -arch=arm,win64 __crt_debugger_hook(long) MSVCRT__crt_debugger_hook
@ varargs _cscanf(str)
@ varargs _cscanf_l(str ptr)
@ varargs _cscanf_s(str)

View File

@ -1084,8 +1084,8 @@
@ cdecl _cputws(wstr)
@ cdecl _creat(str long) MSVCRT__creat
@ cdecl _create_locale(long str) MSVCRT__create_locale
@ stub -arch=i386 _crt_debugger_hook
@ stub -arch=arm,win64 __crt_debugger_hook
@ cdecl -arch=i386 _crt_debugger_hook(long) MSVCRT__crt_debugger_hook
@ cdecl -arch=arm,win64 __crt_debugger_hook(long) MSVCRT__crt_debugger_hook
@ varargs _cscanf(str)
@ varargs _cscanf_l(str ptr)
@ varargs _cscanf_s(str)

View File

@ -1038,8 +1038,8 @@
@ cdecl _copysignf(float float) msvcr120._copysignf
@ cdecl _creat(str long) msvcr120._creat
@ cdecl _create_locale(long str) msvcr120._create_locale
@ stub -arch=i386 _crt_debugger_hook
@ stub -arch=arm,win64 __crt_debugger_hook
@ cdecl -arch=i386 _crt_debugger_hook(long) msvcr120._crt_debugger_hook
@ cdecl -arch=arm,win64 __crt_debugger_hook(long) msvcr120.__crt_debugger_hook
@ cdecl _ctime32(ptr) msvcr120._ctime32
@ cdecl _ctime32_s(str long ptr) msvcr120._ctime32_s
@ cdecl _ctime64(ptr) msvcr120._ctime64

View File

@ -409,8 +409,8 @@
@ cdecl _cputws(wstr)
@ cdecl _creat(str long) MSVCRT__creat
@ cdecl _create_locale(long str) MSVCRT__create_locale
@ stub -arch=i386 _crt_debugger_hook
@ stub -arch=arm,win64 __crt_debugger_hook
@ cdecl -arch=i386 _crt_debugger_hook(long) MSVCRT__crt_debugger_hook
@ cdecl -arch=arm,win64 __crt_debugger_hook(long) MSVCRT__crt_debugger_hook
@ varargs _cscanf(str)
@ varargs _cscanf_l(str ptr)
@ varargs _cscanf_s(str)

View File

@ -392,7 +392,8 @@
@ cdecl _cputws(wstr)
@ cdecl _creat(str long) MSVCRT__creat
@ cdecl _create_locale(long str) MSVCRT__create_locale
@ stub _crt_debugger_hook
@ cdecl -arch=i386 _crt_debugger_hook(long) MSVCRT__crt_debugger_hook
@ cdecl -arch=arm,win64 __crt_debugger_hook(long) MSVCRT__crt_debugger_hook
@ varargs _cscanf(str)
@ varargs _cscanf_l(str ptr)
@ varargs _cscanf_s(str)

View File

@ -498,3 +498,11 @@ void CDECL MSVCR120__vacopy(__ms_va_list *dest, __ms_va_list src)
{
__ms_va_copy(*dest, src);
}
/*********************************************************************
* _crt_debugger_hook (MSVCR80.@)
*/
void CDECL MSVCRT__crt_debugger_hook(int reserved)
{
WARN("(%x)\n", reserved);
}

View File

@ -242,7 +242,7 @@
@ cdecl _create_locale(long str) MSVCRT__create_locale
@ stub _crt_at_quick_exit
@ cdecl _crt_atexit(ptr) MSVCRT__crt_atexit
@ stub _crt_debugger_hook
@ cdecl _crt_debugger_hook(long) MSVCRT__crt_debugger_hook
@ cdecl _ctime32(ptr) MSVCRT__ctime32
@ cdecl _ctime32_s(str long ptr) MSVCRT__ctime32_s
@ cdecl _ctime64(ptr) MSVCRT__ctime64