This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 5/6] gdb: Remove cleanup from linux-fork.c:inferior_call_waitpid
>>>>> "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