Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Fabian Cenedese <Cenedese@indel.ch>
Cc: gdb@sources.redhat.com
Subject: Re: MI set thread command
Date: Tue, 07 Sep 2004 17:08:00 -0000	[thread overview]
Message-ID: <20040907170823.GA8884@nevyn.them.org> (raw)
In-Reply-To: <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


  reply	other threads:[~2004-09-07 17:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-07  9:03 Fabian Cenedese
2004-09-07 17:08 ` Daniel Jacobowitz [this message]
2004-09-08  7:46   ` Fabian Cenedese
2004-09-08 13:05     ` Daniel Jacobowitz
2004-09-08 13:52       ` Fabian Cenedese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040907170823.GA8884@nevyn.them.org \
    --to=drow@false.org \
    --cc=Cenedese@indel.ch \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox