This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix =thread-exited not showing up when detaching (PR 15564)
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Mon, 06 Jul 2015 16:33:31 +0100
- Subject: Re: [PATCH] Fix =thread-exited not showing up when detaching (PR 15564)
- Authentication-results: sourceware.org; auth=none
- References: <1430417119-12617-1-git-send-email-simon dot marchi at ericsson dot com> <555B3537 dot 8000207 at redhat dot com> <556E0546 dot 4060408 at ericsson dot com>
Hi Simon,
On 06/02/2015 08:34 PM, Simon Marchi wrote:
>>> gdb/ChangeLog:
>>>
>>> PR gdb/15564
>>> * inferior.c (detach_inferior): Call exit_inferior_1 with silent = 0.
>>>
>>> gdb/testsuite/ChangeLog:
>>>
>>> PR gdb/15564
>>> * gdb.mi/mi-detach.exp: New file.
Just noticed that this test fails with gdbserver:
$ make check RUNTESTFLAGS="--target_board=native-gdbserver mi-detach.exp"
...
Running /home/pedro/gdb/mygit/build/../src/gdb/testsuite/gdb.mi/mi-detach.exp ...
FAIL: gdb.mi/mi-detach.exp: detach
(I bisected this, and it turns out to failed already when it was
first added.)
Thanks,
Pedro Alves