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
commit7a8829053b26d5ad89e4bb67b4e0f687512721ab (patch)
tree287d9169bca17121446417eaffc9d35fa63162bf /gdb/blockframe.c
parent0ec5872bdad469f03bcca1a591ca69c6806b6974 (diff)
downloadbinutils-gdb-7a8829053b26d5ad89e4bb67b4e0f687512721ab.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. */