aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-04-30 22:38:03 +0000
committerAndrew Cagney <cagney@redhat.com>2004-04-30 22:38:03 +0000
commitc40f49a4cd5125955faee6a98c692e40d12793bb (patch)
tree20039bce7c6c71b15404c91bb2681ea8dbb052f2
parente81554cd7c73126774d5dc771bbb0fd614f381c5 (diff)
downloadgdb-c40f49a4cd5125955faee6a98c692e40d12793bb.zip
gdb-c40f49a4cd5125955faee6a98c692e40d12793bb.tar.gz
gdb-c40f49a4cd5125955faee6a98c692e40d12793bb.tar.bz2
2004-04-30 Andrew Cagney <cagney@redhat.com>
* mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function. (mipsnbsd_init_abi): Do not set pc_in_sigtramp.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mipsnbsd-tdep.c9
2 files changed, 5 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4e3883f..3a2f2d5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-30 Andrew Cagney <cagney@redhat.com>
+
+ * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function.
+ (mipsnbsd_init_abi): Do not set pc_in_sigtramp.
+
2004-04-30 Mark Kettenis <kettenis@gnu.org>
* m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.
diff --git a/gdb/mipsnbsd-tdep.c b/gdb/mipsnbsd-tdep.c
index 18147dc..163d5ff 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);