[PATCH] Fix PR 12702 - gdb can hang waiting for thread group leader (gdbserver)

Pedro Alves palves@redhat.com
Wed Jul 24 18:25:00 GMT 2013


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



More information about the Gdb-patches mailing list