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: [PATCH] Disable thread specific breakpoints when thread dies


On Fri, Jan 20, 2006 at 05:41:15PM -0500, Daniel Jacobowitz wrote:
> Any comments?  Does this work for you?  It does seem to avoid inserting
> the breakpoint unnecessarily, as I'd expect.

> 2006-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
> 
> 	* linux-nat.c (struct saved_ptids, threads_to_delete)
> 	(record_dead_thread, prune_lwps, find_thread_from_lwp)
> 	(exit_lwp): New.
> 	(linux_nat_resume): Call prune_lwps.
> 	(wait_lwp, linux_nat_wait): Call exit_lwp.

There weren't any comments; I've checked this in.

-- 
Daniel Jacobowitz
CodeSourcery


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