]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - gnu/usr.bin/binutils/gdb/fbsd-kgdb-i386.h
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / gnu / usr.bin / binutils / gdb / fbsd-kgdb-i386.h
1 /* $FreeBSD$ */
2
3 #ifndef FBSD_KGDB_I386_H
4 #define FBSD_KGDB_I386_H
5
6 #include "i386/tm-fbsd.h"
7 #include "fbsd-kgdb.h"
8
9 /* Override FRAME_SAVED_PC to enable the recognition of signal handlers.  */
10 #undef  FRAME_SAVED_PC
11 #define FRAME_SAVED_PC(FRAME) \
12   (kernel_debugging \
13     ? fbsd_kern_frame_saved_pc (FRAME) \
14     : i386bsd_frame_saved_pc (FRAME))
15 extern CORE_ADDR fbsd_kern_frame_saved_pc(struct frame_info *fr);
16
17 /* Offset to saved PC in sigcontext, from <sys/signal.h>.  */
18 /* DEO:XXX where is this really from??? */
19 #define SIGCONTEXT_PC_OFFSET 20
20
21 #endif /* FBSD_KGDB_I386_H */