Hello Pedro, thank you for your review. From: Pedro Alves Subject: Re: [RFA] thread specific breakpoints and single stepping Date: Tue, 08 Jul 2008 21:05:02 +0100 > I don't think that's correct. You can't be sure inferior_ptid > is the user stepping thread at this point. GDB may have context-switched > already due to another event having happened in another thread after > the user started the step, and before reaching here. I see. I could also reproduce some cases you suggested. > Does it work for you? It works better than mine. But while I am concerning about single-stepping for software watchpoints, I noticed that we should also check whether a hardware watchpoint is triggered. A revised patch is attached, which includes tests and ChangeLog entries. Is that OK? Thanks again, -- Emi SUZUKI / emi-suzuki at tjsys.co.jp