diff options
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index 6b0ed77..a032c47 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -1449,7 +1449,8 @@ legacy_get_prev_frame (struct frame_info *this_frame) the frame chain, not just the inner most frame! The generic, per-architecture, frame code should handle this and the below should simply be removed. */ - fromleaf = FRAMELESS_FUNCTION_INVOCATION (this_frame); + fromleaf = (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION_P () + && DEPRECATED_FRAMELESS_FUNCTION_INVOCATION (this_frame)); else fromleaf = 0; |