Subject: Re: toolchain/37061: threaded program stopped in debugger cannot be continued
To: None <gnats-bugs@netbsd.org>
From: Nick Hudson <nick.hudson@dsl.pipex.com>
List: netbsd-bugs
Date: 10/05/2007 18:33:17
On Friday 05 October 2007 18:15:10 Aaron J. Grier wrote:
> The following reply was made to PR toolchain/37061; it has been noted by
> GNATS.
>
> From: "Aaron J. Grier" <aaron@frye.com>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: toolchain/37061: threaded program stopped in debugger cannot
> be continued Date: Fri, 5 Oct 2007 10:14:55 -0700
>
>  On Fri, Oct 05, 2007 at 12:00:05PM +0000, Nick Hudson wrote:
>  >  Can you test the wrstuden-fixsa branch?
>
>  Mindaugas also wrote to me:
>  > > FYI, it was fixed in -current:
>  > > http://mail-index.netbsd.org/source-changes/2007/10/03/0008.html
>
>  I'm building current now, and will try that first.  if it doesn't work,
>  I'll try the wrstuden-fixsa branch.

ptrace in -current is quite broken for LWPs - there's another PR somewhere. 
It'll still crash your box, I believe.

Also, gdb in -current has no support for threads (yet). I have some code, but 
I've got sidetracked.

Nick