From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5469 invoked by alias); 6 Aug 2008 04:42:34 -0000 Received: (qmail 5447 invoked by uid 22791); 6 Aug 2008 04:42:33 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 06 Aug 2008 04:41:58 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id 026453BC58; Tue, 5 Aug 2008 21:41:56 -0700 (PDT) Subject: Re: "thread", "thread apply" and "step" ? From: Michael Snyder To: Daniel Jacobowitz Cc: Rich Wagner , gdb@sourceware.org In-Reply-To: <20080805202358.GB14077@caradoc.them.org> References: <20080805202358.GB14077@caradoc.them.org> Content-Type: text/plain Date: Wed, 06 Aug 2008 04:42:00 -0000 Message-Id: <1217997716.3549.665.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit 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/msg00088.txt.bz2 On Tue, 2008-08-05 at 16:23 -0400, Daniel Jacobowitz wrote: > 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. You do? You mean, gdb actually changes the "runnable" state of the threads, and successfully tells the OS which thread to schedule? Big news to me...