diff options
Diffstat (limited to 'src/arch/i386/include/gdbmach.h')
-rw-r--r-- | src/arch/i386/include/gdbmach.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/i386/include/gdbmach.h b/src/arch/i386/include/gdbmach.h index 794dab19..416ae341 100644 --- a/src/arch/i386/include/gdbmach.h +++ b/src/arch/i386/include/gdbmach.h @@ -46,6 +46,14 @@ enum { GDBMACH_AWATCH, }; +/* Interrupt vectors */ +extern void gdbmach_nocode_sigfpe ( void ); +extern void gdbmach_nocode_sigtrap ( void ); +extern void gdbmach_nocode_sigstkflt ( void ); +extern void gdbmach_nocode_sigill ( void ); +extern void gdbmach_withcode_sigbus ( void ); +extern void gdbmach_withcode_sigsegv ( void ); + static inline void gdbmach_set_pc ( gdbreg_t *regs, gdbreg_t pc ) { regs [ GDBMACH_EIP ] = pc; } @@ -61,4 +69,6 @@ static inline void gdbmach_breakpoint ( void ) { extern int gdbmach_set_breakpoint ( int type, unsigned long addr, size_t len, int enable ); +extern void gdbmach_init ( void ); + #endif /* GDBMACH_H */ |