diff options
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index 6b1be94..7088f32 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -2313,12 +2313,14 @@ get_frame_address_in_block_if_available (struct frame_info *this_frame, { *pc = get_frame_address_in_block (this_frame); } - if (ex.reason < 0 && ex.error == NOT_AVAILABLE_ERROR) - return 0; - else if (ex.reason < 0) - throw_exception (ex); - else - return 1; + if (ex.reason < 0) + { + if (ex.error == NOT_AVAILABLE_ERROR) + return 0; + throw_exception (ex); + } + + return 1; } void |