This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Make linux native always have at least one thread
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 24 Mar 2008 18:50:28 -0400
- Subject: Re: Make linux native always have at least one thread
- References: <200803242054.39769.pedro@codesourcery.com>
On Mon, Mar 24, 2008 at 08:54:39PM +0000, Pedro Alves wrote:
> 2008-01-24 Pedro Alves <pedro@codesourcery.com>
>
> * linux-nat.c (linux_nat_attach): Add the pid we attached to, to
> gdb's thread list.
> (linux_nat_wait): Add main lwp to gdb's thread list.
> * linux-thread-db.c (find_new_threads_callback): Also attach to
> already listed threads which thread_db didn't know about yet.
OK - yay!
--
Daniel Jacobowitz
CodeSourcery