diff options
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/fbsd-kgdb-alpha.h')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/fbsd-kgdb-alpha.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gdb/fbsd-kgdb-alpha.h b/gnu/usr.bin/binutils/gdb/fbsd-kgdb-alpha.h new file mode 100644 index 0000000..90dbc14 --- /dev/null +++ b/gnu/usr.bin/binutils/gdb/fbsd-kgdb-alpha.h @@ -0,0 +1,11 @@ +/* $FreeBSD$ */ + +#ifndef FBSD_KGDB_ALPHA_H +#define FBSD_KGDB_ALPHA_H + +#undef FRAME_SAVED_PC +#define FRAME_SAVED_PC(FRAME) \ + (kernel_debugging ? fbsd_kern_frame_saved_pc(FRAME) : \ + alpha_saved_pc_after_call(FRAME)) + +#endif /* FBSD_KGDB_ALPHA_H */ |