diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-24 18:23:37 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-25 08:58:36 -0600 |
commit | 09a5e1b570eefbc029939fd43c99152996060d95 (patch) | |
tree | 97c643a7f93c79bd67ad7d5681bd51e8b96677a6 /gdb/infrun.h | |
parent | d8dab6c3bbe6432ff20237e621f2f3a3d30d4d4b (diff) | |
download | gdb-09a5e1b570eefbc029939fd43c99152996060d95.zip gdb-09a5e1b570eefbc029939fd43c99152996060d95.tar.gz gdb-09a5e1b570eefbc029939fd43c99152996060d95.tar.bz2 |
Use TRY/CATCH in remove_prev_frame
This changes remove_prev_frame to use TRY/CATCH instead of a cleanup.
TRY/CATCH seemed appropriate here because the cleanup is only needed
in the case where an exception is thrown.
Tested by the buildbot.
ChangeLog
2018-05-25 Tom Tromey <tom@tromey.com>
* frame.c (remove_prev_frame): Remove.
(get_prev_frame_if_no_cycle): Use TRY/CATCH.
Diffstat (limited to 'gdb/infrun.h')
0 files changed, 0 insertions, 0 deletions