summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/core/gdbmach.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/core/gdbmach.c')
-rw-r--r--src/arch/i386/core/gdbmach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/core/gdbmach.c b/src/arch/i386/core/gdbmach.c
index d07663c4..97827ecb 100644
--- a/src/arch/i386/core/gdbmach.c
+++ b/src/arch/i386/core/gdbmach.c
@@ -142,7 +142,7 @@ static void gdbmach_enable_hwbps ( void ) {
__asm__ __volatile__ ( "movl %0, %%dr7\n" : : "r" ( dr7 ) );
}
-__cdecl void gdbmach_handler ( int signo, gdbreg_t *regs ) {
+__asmcall void gdbmach_handler ( int signo, gdbreg_t *regs ) {
gdbmach_disable_hwbps();
gdbstub_handler ( signo, regs );
gdbmach_enable_hwbps();