diff options
Diffstat (limited to 'src/emu/x64int3.c')
| -rw-r--r-- | src/emu/x64int3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/x64int3.c b/src/emu/x64int3.c index 1e9d2376..f79a451d 100644 --- a/src/emu/x64int3.c +++ b/src/emu/x64int3.c @@ -8,11 +8,11 @@ #include <unistd.h> #include <sys/types.h> #include <pthread.h> -#include <signal.h> #include <poll.h> #include <sys/wait.h> #include <elf.h> +#include "x64_signals.h" #include "os.h" #include "debug.h" #include "box64stack.h" @@ -395,9 +395,9 @@ void x64Int3(x64emu_t* emu, uintptr_t* addr) printf_log(LOG_DEBUG, "%04d|Warning, x64int3 with no CC opcode at %p?\n", GetTID(), (void*)R_RIP); return; } - if(!BOX64ENV(ignoreint3) && my_context->signals[SIGTRAP]) { + if(!BOX64ENV(ignoreint3) && my_context->signals[X64_SIGTRAP]) { R_RIP = *addr; // update RIP - EmitSignal(emu, SIGTRAP, NULL, 3); + EmitSignal(emu, X64_SIGTRAP, NULL, 3); } else { printf_log(LOG_DEBUG, "%04d|Warning, ignoring unsupported Int 3 call @%p\n", GetTID(), (void*)R_RIP); R_RIP = *addr; |