This is the mail archive of the
mailing list for the GDB project.
Re: "thread", "thread apply" and "step" ?
On Tue, Aug 05, 2008 at 04:11:14PM -0400, Rich Wagner wrote:
> I'm using "gdb --version":
> GNU gdb Red Hat Linux (18.104.22.168-1.132.EL4rh)
Could you try 6.8, or even better a CVS snapshot, and see if it still
does this? That release is several years old.
I think GDB does step the correct thread nowadays.
> P.S. Where I work, we also use a customized version of gdb where we
> provide our own RSP interpreter, because the customized version is used
> for remote debugging. Would the introduction of RSP change things as
> they relate to threads and stepping? I'm assuming the "official"
> GDB-spec-based answers would necessarily apply to an RSP-based debug
> session, but I mention RSP in case it affects things.
If you implement vCont, the serial protocol should work just as well.