summaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-08 19:03:05 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-08 19:03:05 +0000
commit4d4aefc09f72c454d9894f5358107c0acc5c8a47 (patch)
tree39430024740383c917b9a743f268b303e379401c /gdb/blockframe.c
parentfe453dde5cffcb35719cc34a0be7b56c400f50c0 (diff)
downloadgdb-4d4aefc09f72c454d9894f5358107c0acc5c8a47.tar.gz
2004-05-08 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete. * gdbarch.h, gdbarch.c: Re-generate. * blockframe.c (legacy_frame_chain_valid): Simplify by eliminating DEPRECATED_USE_GENERIC_DUMMY_FRAMES. * infcall.c (legacy_push_dummy_code, call_function_by_hand): Ditto. * frame.c (frame_type_from_pc, legacy_get_prev_frame): Ditto.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index a4c209a7a82..428377e688d 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -527,8 +527,7 @@ int
legacy_frame_chain_valid (CORE_ADDR fp, struct frame_info *fi)
{
/* Don't prune CALL_DUMMY frames. */
- if (DEPRECATED_USE_GENERIC_DUMMY_FRAMES
- && DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (fi), 0, 0))
+ if (DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (fi), 0, 0))
return 1;
/* If the new frame pointer is zero, then it isn't valid. */