aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386bsd-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-07-01 09:41:00 +0000
committerMark Kettenis <kettenis@gnu.org>2002-07-01 09:41:00 +0000
commit77b13a25ae1c7b34b797306c1cf0489c6d6c259b (patch)
tree8265fbf0d1431772d891ccb19d0edd8f18375fbd /gdb/i386bsd-tdep.c
parent52e9098c242de8531191e7d57cef206379ca778c (diff)
downloadgdb-77b13a25ae1c7b34b797306c1cf0489c6d6c259b.zip
gdb-77b13a25ae1c7b34b797306c1cf0489c6d6c259b.tar.gz
gdb-77b13a25ae1c7b34b797306c1cf0489c6d6c259b.tar.bz2
* i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed.
Diffstat (limited to 'gdb/i386bsd-tdep.c')
-rw-r--r--gdb/i386bsd-tdep.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/i386bsd-tdep.c b/gdb/i386bsd-tdep.c
index 940f2ec..a82733d 100644
--- a/gdb/i386bsd-tdep.c
+++ b/gdb/i386bsd-tdep.c
@@ -71,17 +71,6 @@ i386bsd_sigtramp_saved_pc (struct frame_info *frame)
return read_memory_unsigned_integer (addr + sc_pc_offset, 4);
}
-/* Return the saved program counter for FRAME. */
-
-static CORE_ADDR
-i386bsd_frame_saved_pc (struct frame_info *frame)
-{
- if (frame->signal_handler_caller)
- return i386bsd_sigtramp_saved_pc (frame);
-
- return read_memory_unsigned_integer (frame->frame + 4, 4);
-}
-
/* Return the start address of the sigtramp routine. */
CORE_ADDR