From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18228 invoked by alias); 7 Sep 2004 17:08:25 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18219 invoked from network); 7 Sep 2004 17:08:24 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 7 Sep 2004 17:08:24 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1C4jSB-0002K0-Ju; Tue, 07 Sep 2004 13:08:23 -0400 Date: Tue, 07 Sep 2004 17:08:00 -0000 From: Daniel Jacobowitz To: Fabian Cenedese Cc: gdb@sources.redhat.com Subject: Re: MI set thread command Message-ID: <20040907170823.GA8884@nevyn.them.org> Mail-Followup-To: Fabian Cenedese , gdb@sources.redhat.com References: <5.2.0.9.1.20040907104922.01cfa2a8@NT_SERVER> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.2.0.9.1.20040907104922.01cfa2a8@NT_SERVER> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-09/txt/msg00058.txt.bz2 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