[PATCH 5/6] gdb: Remove cleanup from linux-fork.c:inferior_call_waitpid

Tom Tromey tom@tromey.com
Wed Jan 2 15:46:00 GMT 2019


>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:

Andrew> Replace cleanup in linux-fork.c:inferior_call_waitpid with a RAII
Andrew> object.

Andrew> gdb/ChangeLog:

Andrew> 	* linux-fork.c (class scoped_switch_fork_info): New class.
Andrew> 	(inferior_call_waitpid): Update to use scoped_switch_fork_info.

Thanks, this is ok.

Tom



More information about the Gdb-patches mailing list