[binutils-gdb] Replace finish_thread_state_cleanup with a RAII class
sergiodj+buildbot@sergiodj.net
sergiodj+buildbot@sergiodj.net
Tue Apr 10 14:11:00 GMT 2018
*** TEST RESULTS FOR COMMIT 731f534f918cfaa35c20b5eb6220a8eba4819f04 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 731f534f918cfaa35c20b5eb6220a8eba4819f04
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.
More information about the Gdb-testers
mailing list