This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: restart -> "Can't attach LWP" + hang
- From: Daniel Jacobowitz <drow at false dot org>
- To: David L <idht4n at hotmail dot com>
- Cc: gdb at sourceware dot org, Michael Snyder <Michael dot Snyder at palmsource dot com>
- Date: Fri, 25 Aug 2006 11:43:20 -0400
- Subject: Re: restart -> "Can't attach LWP" + hang
- References: <BAY104-F31B1BC230F11DE1F82C59D84450@phx.gbl>
On Fri, Aug 25, 2006 at 08:41:59AM -0700, David L wrote:
> I just installed gdb 6.5 and tried to use checkpoint/restart. After
> entering restart and next, I got the message:
>
> [New Thread -1210636064 (LWP 20892)]
> Can't attach LWP 20892: Operation not permitted
>
> I typed next again and gdb stopped responding.
>
> What am I doing wrong?
Are you using a threaded program? I'm pretty sure that doesn't work
(and I can't think of any way to make it work, either).
--
Daniel Jacobowitz
CodeSourcery