aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-11-06 18:54:11 +0000
committerAndrew Cagney <cagney@redhat.com>2001-11-06 18:54:11 +0000
commite6b47f070d6de8f18b35fa78f169d1107484d08f (patch)
tree3c8e0fc152cbe73890ec305fb5956862a0258324 /gdb/blockframe.c
parent69a0d5f4faf69df010fda32619a31359d4bedf04 (diff)
downloadfsf-binutils-gdb-e6b47f070d6de8f18b35fa78f169d1107484d08f.zip
fsf-binutils-gdb-e6b47f070d6de8f18b35fa78f169d1107484d08f.tar.gz
fsf-binutils-gdb-e6b47f070d6de8f18b35fa78f169d1107484d08f.tar.bz2
Zap another #ifdef INIT_EXTRA_FRAME_INFO
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 1c6ec2c..78331ce 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -437,9 +437,8 @@ get_prev_frame (struct frame_info *next_frame)
INIT_FRAME_PC_FIRST (fromleaf, prev);
-#ifdef INIT_EXTRA_FRAME_INFO
- INIT_EXTRA_FRAME_INFO (fromleaf, prev);
-#endif
+ if (INIT_EXTRA_FRAME_INFO_P ())
+ INIT_EXTRA_FRAME_INFO (fromleaf, prev);
/* This entry is in the frame queue now, which is good since
FRAME_SAVED_PC may use that queue to figure out its value