util: Enable assembly breakpointt on x86_64.

A breakpoint is much nicer than abort when gdb is attached.
This commit is contained in:
José Fonseca 2009-03-31 18:00:46 +01:00
parent 71384f29f1
commit fcc2598fff
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ void debug_print_format(const char *msg, unsigned fmt );
* Hard-coded breakpoint.
*/
#ifdef DEBUG
#if defined(PIPE_ARCH_X86) && defined(PIPE_CC_GCC)
#if (defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)) && defined(PIPE_CC_GCC)
#define debug_break() __asm("int3")
#elif defined(PIPE_CC_MSVC)
#define debug_break() __debugbreak()