This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Remove some dead wood from i386bsd-tdep.c
- From: Mark Kettenis <kettenis at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 1 Jul 2002 11:57:23 +0200 (CEST)
- Subject: [PATCH] Remove some dead wood from i386bsd-tdep.c
Subject says it all.
Committed.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed.
Index: i386bsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386bsd-tdep.c,v
retrieving revision 1.3
diff -u -r1.3 i386bsd-tdep.c
--- i386bsd-tdep.c 30 Jun 2002 14:43:23 -0000 1.3
+++ i386bsd-tdep.c 1 Jul 2002 09:37:58 -0000
@@ -71,17 +71,6 @@
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