MI set thread command

Daniel Jacobowitz drow@false.org
Tue Sep 7 17:08:00 GMT 2004


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



More information about the Gdb mailing list