From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7927 invoked by alias); 5 Aug 2008 20:24:40 -0000 Received: (qmail 7916 invoked by uid 22791); 5 Aug 2008 20:24:39 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 05 Aug 2008 20:24:01 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3EBA0983EF; Tue, 5 Aug 2008 20:23:59 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 23401983A9; Tue, 5 Aug 2008 20:23:59 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KQT4Y-0003kL-H7; Tue, 05 Aug 2008 16:23:58 -0400 Date: Tue, 05 Aug 2008 20:24:00 -0000 From: Daniel Jacobowitz To: Rich Wagner Cc: gdb@sourceware.org Subject: Re: "thread", "thread apply" and "step" ? Message-ID: <20080805202358.GB14077@caradoc.them.org> Mail-Followup-To: Rich Wagner , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00083.txt.bz2 On Tue, Aug 05, 2008 at 04:11:14PM -0400, Rich Wagner wrote: > I'm using "gdb --version": > > GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh) Could you try 6.8, or even better a CVS snapshot, and see if it still does this? That release is several years old. I think GDB does step the correct thread nowadays. > P.S. Where I work, we also use a customized version of gdb where we > provide our own RSP interpreter, because the customized version is used > for remote debugging. Would the introduction of RSP change things as > they relate to threads and stepping? I'm assuming the "official" > GDB-spec-based answers would necessarily apply to an RSP-based debug > session, but I mention RSP in case it affects things. If you implement vCont, the serial protocol should work just as well. -- Daniel Jacobowitz CodeSourcery