diff options
author | Pedro Alves <palves@redhat.com> | 2018-04-10 14:49:30 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2018-04-10 14:49:30 +0100 |
commit | 731f534f918cfaa35c20b5eb6220a8eba4819f04 (patch) | |
tree | 32d4b440a20836edfca758a05a36629c745e1d54 /gdb/tid-parse.h | |
parent | d4ae1932770d9ec76f3d0a429aab45f1cb15e964 (diff) | |
download | gdb-731f534f918cfaa35c20b5eb6220a8eba4819f04.zip gdb-731f534f918cfaa35c20b5eb6220a8eba4819f04.tar.gz gdb-731f534f918cfaa35c20b5eb6220a8eba4819f04.tar.bz2 |
Replace finish_thread_state_cleanup with a RAII class
gdb/ChangeLog:
2018-04-10 Pedro Alves <palves@redhat.com>
* gdbthread.h (finish_thread_state_cleanup): Delete declaration.
(scoped_finish_thread_state): New class.
* infcmd.c (run_command_1): Use it instead of finish_thread_state
cleanup.
* infrun.c (proceed, prepare_for_detach, wait_for_inferior)
(fetch_inferior_event, normal_stop): Likewise.
* thread.c (finish_thread_state_cleanup): Delete.
Diffstat (limited to 'gdb/tid-parse.h')
0 files changed, 0 insertions, 0 deletions