From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21373 invoked by alias); 2 May 2002 21:07:17 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21364 invoked from network); 2 May 2002 21:07:14 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 2 May 2002 21:07:14 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id OAA03067; Thu, 2 May 2002 14:07:12 -0700 (PDT) Message-ID: <3CD1A78A.4091975C@redhat.com> Date: Thu, 02 May 2002 14:07:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb-patches@sources.redhat.com Subject: Re: [PATCH RFA/RFC] Don't use lwp_from_thread() in thread_db_wait() References: <1020311234554.ZM20650@localhost.localdomain> <20020402161946.A954@nevyn.them.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00053.txt.bz2 Daniel Jacobowitz wrote: > > On Mon, Mar 11, 2002 at 04:45:54PM -0700, Kevin Buettner wrote: > > I'm seeing the following failure when I run the gdb testsuite on an > > SMP machine (GNU/Linux/x86): > > > > FAIL: gdb.threads/pthreads.exp: continue to bkpt at common_routine in thread 2 > > [snip great analysis] > > > Comments? Okay to commit? > > > > * thread-db.c (thread_db_wait): Don't attempt to use > > lwp_from_thread(). Doing so assumes that the main thread > > is already stopped and this might not be the case. Instead, > > simply wait for any thread. > > Has anyone had a chance to look at this patch? No, I've been a schmuck -- I promised Kevin I would look at it, and I haven't.