aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-03-22 01:43:32 +0000
committerAndrew Cagney <cagney@redhat.com>2004-03-22 01:43:32 +0000
commit244675f99af964096502f9dfa58fee5676c4c8d5 (patch)
tree04a62a6e0ddb95e773984398d898103e98ad0dff /gdb/blockframe.c
parentfb9da979021dd3c7c410b3983e23a884ffcbb9fb (diff)
downloadgdb-244675f99af964096502f9dfa58fee5676c4c8d5.zip
gdb-244675f99af964096502f9dfa58fee5676c4c8d5.tar.gz
gdb-244675f99af964096502f9dfa58fee5676c4c8d5.tar.bz2
2004-03-21 Andrew Cagney <cagney@redhat.com>
* inferior.h (deprecated_pc_in_call_dummy_at_entry_point): Delete declaration and out-of-date comment. * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): Delete function. * mn10300-tdep.c (mn10300_gdbarch_init): Do not set deprecated_pc_in_call_dummy.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 1e96555..1ff4685 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -585,14 +585,6 @@ deprecated_pc_in_call_dummy_on_stack (CORE_ADDR pc, CORE_ADDR sp,
&& INNER_THAN ((pc), (frame_address)));
}
-int
-deprecated_pc_in_call_dummy_at_entry_point (CORE_ADDR pc, CORE_ADDR sp,
- CORE_ADDR frame_address)
-{
- CORE_ADDR addr = entry_point_address ();
- return ((pc) >= addr && (pc) <= (addr + DECR_PC_AFTER_BREAK));
-}
-
/* Returns true for a user frame or a call_function_by_hand dummy
frame, and false for the CRT0 start-up frame. Purpose is to
terminate backtrace. */