debugging.h: use int 3 on amd64 too
This commit is contained in:
parent
23757210d1
commit
2f573dd6b4
|
|
@ -29,9 +29,9 @@
|
|||
#include "warnings.h"
|
||||
#include "generic/static.h"
|
||||
|
||||
#if defined( _MSC_VER ) && defined( _M_IX86 )
|
||||
#if defined( _MSC_VER ) && ( defined( _M_IX86 ) || defined( _M_AMD64 ) )
|
||||
#define DEBUGGER_BREAKPOINT() __asm { int 3 }
|
||||
#elif defined ( __i386__ ) && defined ( __GNUC__ ) && __GNUC__ >= 2
|
||||
#elif ( defined ( __i386__ ) || defined ( __x86_64__ ) ) && defined ( __GNUC__ ) && __GNUC__ >= 2
|
||||
#define DEBUGGER_BREAKPOINT() __asm__ __volatile__ ( "int $03" )
|
||||
#else
|
||||
#include <signal.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user