This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: [lynxos] gdbserver hangs when killing inferior from GDB
- From: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org
- Date: Mon, 21 Dec 2015 16:49:34 +0000
- Subject: Re: RFA: [lynxos] gdbserver hangs when killing inferior from GDB
- Authentication-results: sourceware.org; auth=none
- References: <1450711076-29914-1-git-send-email-brobecker at adacore dot com>
On 12/21/2015 03:17 PM, Joel Brobecker wrote:
> This patch fixes the issue by enhancing lynx_mourn to clean
> the threads and process list up.
>
> gdb/gdbserver/ChangeLog:
>
> * lynx-low.c (lynx_delete_thread_callback): New function.
> (lynx_mourn): Properly delete our process and all of its
> threads. Remove call to clear_inferiors.
>
> Tested on LynxOS using AdaCore's gdb-testsuite.
> OK to push?
OK.
Thanks,
Pedro Alves