This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: MI set thread command
- From: Daniel Jacobowitz <drow at false dot org>
- To: Fabian Cenedese <Cenedese at indel dot ch>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 7 Sep 2004 13:08:23 -0400
- Subject: Re: MI set thread command
- References: <5.2.0.9.1.20040907104922.01cfa2a8@NT_SERVER>
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