Change record_full_gdb_operation_disable_set not to return a cleanup
authorTom Tromey <tom@tromey.com>
Sat, 30 Sep 2017 03:49:04 +0000 (21:49 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 3 Oct 2017 11:33:44 +0000 (05:33 -0600)
This changes record_full_gdb_operation_disable_set to return a
scoped_restore rather than a cleanup, and fixes all the users.

ChangeLog
2017-10-03  Tom Tromey  <tom@tromey.com>

* record-full.h (record_full_gdb_operation_disable_set): Return
scoped_restore_tmpl<int>.
* infrun.c (adjust_pc_after_break): Update.
(handle_signal_stop): Update.
* record-full.c (record_full_gdb_operation_disable_set): Return
scoped_restore_tmpl<int>.
(record_full_wait_1, record_full_insert_breakpoint)
(record_full_remove_breakpoint, record_full_save)
(record_full_goto_insn): Update.


No differences found
This page took 0.02511 seconds and 4 git commands to generate.