Remove make_cleanup_restore_current_thread from gdbserver
authorTom Tromey <tom@tromey.com>
Mon, 5 Feb 2018 09:59:52 +0000 (10:59 +0100)
committerTom Tromey <tom@tromey.com>
Thu, 8 Feb 2018 18:46:55 +0000 (11:46 -0700)
commit8ce47547b34fddec16d1ccd801f025a56976af95
tree6f44ae6381c071699678f22072431a66499ae59f
parent45dd3607e24aaf515b5d75c666b351575410392b
Remove make_cleanup_restore_current_thread from gdbserver

This removes make_cleanup_restore_current_thread from gdbserver,
replacing it with a use of scoped_restore.

2018-02-08  Tom Tromey  <tom@tromey.com>

* linux-low.c (install_software_single_step_breakpoints): Use
make_scoped_restore.
* inferiors.c (make_cleanup_restore_current_thread): Remove.
(do_restore_current_thread_cleanup): Remove.
* gdbthread.h (make_cleanup_restore_current_thread): Don't
declare.
gdb/gdbserver/ChangeLog
gdb/gdbserver/gdbthread.h
gdb/gdbserver/inferiors.c
gdb/gdbserver/linux-low.c
This page took 0.033232 seconds and 4 git commands to generate.