aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.opt
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-08-13 14:44:08 -0600
committerTom Tromey <tom@tromey.com>2017-09-11 16:15:09 -0600
commita9921622de0a7332a333c5206ce8cd632803df97 (patch)
treed6fd47ffb7622621a9d7ec74568d931cc0199068 /gdb/testsuite/gdb.opt
parentbe0d7abb5e3b0be4cb928845e70a9134f1b19700 (diff)
downloadgdb-a9921622de0a7332a333c5206ce8cd632803df97.zip
gdb-a9921622de0a7332a333c5206ce8cd632803df97.tar.gz
gdb-a9921622de0a7332a333c5206ce8cd632803df97.tar.bz2
Replace clear_hook_in_cleanup with scoped_restore_hook_in
This removes clear_hook_in_cleanup in favor of a scoped_restore-like class. scoped_restore itself can't be used because hook_in is a bitfield. ChangeLog 2017-09-11 Tom Tromey <tom@tromey.com> * cli/cli-script.c (class scoped_restore_hook_in): New. (clear_hook_in_cleanup): Remove. (execute_cmd_pre_hook, execute_cmd_post_hook): Use scoped_restore_hook_in.
Diffstat (limited to 'gdb/testsuite/gdb.opt')
0 files changed, 0 insertions, 0 deletions