This is the mail archive of the gdb@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: Stepping of multithreaded application


On Monday 16 May 2011 16:22:49, Tomas Martinec wrote:
> > I imagine you're seeing a 'Hc1', 'c', and only continuing
> > thread 1 instead of all threads?
> 
> Yes, that is right.

Hmm.  This is making me very nervous on changing GDB's
age old behavior...  Who knows which old targets out
there are assuming:

- "Hc 0" to mean continue all threads
- "Hc $FOO" to continue/step only thread $FOO

and picking the 's' (step) thread from the previous Hg ?

I fear we'd be switching from one broken behavior to
another.  Since new stubs can just vCont, I'm now
inclined to leave things as is.

> > I'll test and apply your fix if nothing turns up regardless.
> 
> Please let me know if you find a problem with the fix.

I've applied this fix.  Thanks.

-- 
Pedro Alves


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