This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Make linux native always have at least one thread


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]