Remove cleanup from stop_all_threads
authorTom Tromey <tom@tromey.com>
Wed, 23 Jan 2019 18:58:35 +0000 (18:58 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 23 Jan 2019 19:14:44 +0000 (19:14 +0000)
commit9885e6bb5b0f6f0147f9b3a15a4bd4516faf4a26
treec2ce9da21e4b1ad2a16802624e848eb34246ff31
parent286526c1e5f6d54bf6ecc961d7c2d0a32b58fe45
Remove cleanup from stop_all_threads

This removes the cleanup from stop_all_threads, replacing it with a
scope_exit.

gdb/ChangeLog:
2019-01-23  Tom Tromey  <tom@tromey.com>
    Pedro Alves  <palves@redhat.com>

* infrun.c (disable_thread_events): Delete.
(stop_all_threads): Use SCOPE_EXIT.
gdb/ChangeLog
gdb/infrun.c