diff options
Diffstat (limited to 'gdb/alpha-linux-tdep.c')
-rw-r--r-- | gdb/alpha-linux-tdep.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c index f9b060d..ed7a7c6 100644 --- a/gdb/alpha-linux-tdep.c +++ b/gdb/alpha-linux-tdep.c @@ -85,12 +85,20 @@ alpha_linux_sigtramp_offset (CORE_ADDR pc) return -1; } +static int +alpha_linux_pc_in_sigtramp (CORE_ADDR pc, char *func_name) +{ + return (alpha_linux_sigtramp_offset (pc) >= 0); +} + static void alpha_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); + set_gdbarch_pc_in_sigtramp (gdbarch, alpha_linux_pc_in_sigtramp); + tdep->dynamic_sigtramp_offset = alpha_linux_sigtramp_offset; } |