From c40f49a4cd5125955faee6a98c692e40d12793bb Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 30 Apr 2004 22:38:03 +0000 Subject: [PATCH] 2004-04-30 Andrew Cagney * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function. (mipsnbsd_init_abi): Do not set pc_in_sigtramp. --- gdb/ChangeLog | 5 +++++ gdb/mipsnbsd-tdep.c | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4e3883f34f0..3a2f2d5acfd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-04-30 Andrew Cagney + + * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function. + (mipsnbsd_init_abi): Do not set pc_in_sigtramp. + 2004-04-30 Mark Kettenis * m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define. diff --git a/gdb/mipsnbsd-tdep.c b/gdb/mipsnbsd-tdep.c index 18147dc858b..163d5ff0c06 100644 --- a/gdb/mipsnbsd-tdep.c +++ b/gdb/mipsnbsd-tdep.c @@ -221,13 +221,6 @@ mipsnbsd_sigtramp_offset (CORE_ADDR pc) return -1; } -static int -mipsnbsd_pc_in_sigtramp (CORE_ADDR pc, char *func_name) -{ - return (nbsd_pc_in_sigtramp (pc, func_name) - || mipsnbsd_sigtramp_offset (pc) >= 0); -} - /* Figure out where the longjmp will land. We expect that we have just entered longjmp and haven't yet setup the stack frame, so the args are still in the argument regs. A0_REGNUM points at the @@ -345,8 +338,6 @@ static void mipsnbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { - set_gdbarch_deprecated_pc_in_sigtramp (gdbarch, mipsnbsd_pc_in_sigtramp); - set_gdbarch_get_longjmp_target (gdbarch, mipsnbsd_get_longjmp_target); set_gdbarch_cannot_fetch_register (gdbarch, mipsnbsd_cannot_fetch_register); -- 2.30.2