This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/61: attaching to multithreaded program
- To: nobody at sources dot redhat dot com
- Subject: Re: gdb/61: attaching to multithreaded program
- From: Mark Kettenis <kettenis at science dot uva dot nl>
- Date: 30 Jul 2001 14:38:01 -0000
- Cc: gdb-prs at sources dot redhat dot com,
- Reply-To: Mark Kettenis <kettenis at science dot uva dot nl>
The following reply was made to PR gdb/61; it has been noted by GNATS.
From: Mark Kettenis <kettenis@science.uva.nl>
To: haakon@oppdal.net
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/61: attaching to multithreaded program
Date: Mon, 30 Jul 2001 16:35:09 +0200 (MET DST)
I think specifying anything but the "main thread" (the first thread,
i.e. the one with the lowest process ID) doesn't work. And even that
may be fragile. Linux's thread model is a bit braindamaged, and I
don't think there's much that we can do to really improve things.
However, it seems to work for me. If you can send a self-contained
testcase that fails for you, I'm willing to look a bit closer at this.
Mark