From 77b13a25ae1c7b34b797306c1cf0489c6d6c259b Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 1 Jul 2002 09:41:00 +0000 Subject: [PATCH] * i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed. --- gdb/ChangeLog | 2 ++ gdb/i386bsd-tdep.c | 11 ----------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6b2edd0..5779d19 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2002-07-01 Mark Kettenis + * i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed. + * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed. * i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of this macro. Include "value.h". 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 -- 2.7.4