This is the mail archive of the gdb@sources.redhat.com 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: MI set thread command


On Tue, Sep 07, 2004 at 11:02:35AM +0200, Fabian Cenedese wrote:
> Hi
> 
> The manual says for the MI set thread command:
> Hct - where c should be 'c' for step and continue, but 'g' for other operations.

This is not an MI command.  MI is the machine-interface used to drive
GDB, mostly from GUIs; you're asking about the remote protocol.

> What are does other operations? Reading registers? When does gdb use
> the one or the other? What is used if I issue "thread xx" on the command line?
> So far I couldn't quite make it out from watching the protocols.

Yes, usually for reading registers.  If you couldn't make it out from
reading the remote protocol logs I recommend reading remote.c.  It's
fairly easy to follow this bit.

-- 
Daniel Jacobowitz


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