This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix PR 12702 - gdb can hang waiting for thread group leader (gdbserver)
- From: Pedro Alves <palves at redhat dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Wed, 24 Jul 2013 19:25:23 +0100
- Subject: Re: [PATCH] Fix PR 12702 - gdb can hang waiting for thread group leader (gdbserver)
- References: <CANFwon2cWyxzWi+Sqfk6mUK0ZCWQRisMmGWe6mxPMgDLTV_j2g at mail dot gmail dot com>
On 07/20/2013 10:59 AM, Hui Zhu wrote:
> Hi,
>
> I got a issue with leader-exit.exp will hang with target_board=native-gdbserver.
> I found the reason is gdbserver still have this issue. So I post a
> patch for gdbserver.
leader-exit.exp is part of a series of tests for a set of related
problems. See:
http://www.sourceware.org/ml/gdb-patches/2011-10/msg00704.html
Several are currently masked because gdbserver doesn't support
fork/exec yet.
We should fix this by implementing TARGET_WAITKIND_NO_RESUMED
on gdbserver, like the patch above did for native.
--
Pedro Alves