Re: [PATCHv5] gdb: handle main thread exiting during detach

Andrew Burgess
2023-10-26T17:27:19Z

Kevin Buettner <kevinb@redhat.com> writes:

> On Wed, 18 Oct 2023 10:49:44 +0100
> Andrew Burgess <aburgess@redhat.com> wrote:
>
>> gdb/linux-nat.c | 24 ++-
>> gdb/remote.c | 27 +++-
>> .../main-thread-exit-during-detach.c | 61 ++++++++
>> .../main-thread-exit-during-detach.exp | 140 ++++++++++++++++++
>> gdbserver/mem-break.cc | 11 ++
>> 5 files changed, 255 insertions(+), 8 deletions(-)
>> create mode 100644 gdb/testsuite/gdb.threads/main-thread-exit-during-detach.c
>> create mode 100644 gdb/testsuite/gdb.threads/main-thread-exit-during-detach.exp
>
> Thanks for the detailed commit log! It made the patch fairly easy to review.
>
> Tested-by: Kevin Buettner <kevinb@redhat.com>
> Approved-by: Kevin Buettner <kevinb@redhat.com>

Pushed.

Thanks,
Andrew