From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29298 invoked by alias); 1 Jul 2008 11:41:03 -0000 Received: (qmail 29290 invoked by uid 22791); 1 Jul 2008 11:41:03 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Jul 2008 11:40:45 +0000 Received: (qmail 25745 invoked from network); 1 Jul 2008 11:40:44 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Jul 2008 11:40:44 -0000 From: Pedro Alves To: Vladimir Prus Subject: Re: How to catch GDB crash Date: Tue, 01 Jul 2008 11:41:00 -0000 User-Agent: KMail/1.9.9 Cc: gdb@sourceware.org, Dmitry Smirnov References: <200806241829.29427.pedro@codesourcery.com> <200806260027.59248.pedro@codesourcery.com> <200807011537.35321.vladimir@codesourcery.com> In-Reply-To: <200807011537.35321.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807011240.42203.pedro@codesourcery.com> 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-07/txt/msg00004.txt.bz2 A Tuesday 01 July 2008 12:37:35, Vladimir Prus wrote: > I think that for the time being, we can change the assert to check that > either the program is single-threaded, or the thread is known. If the > program is single-threaded, the the thread id is not registered, omitting > thread-id completely seems right. > > I can make this change, or you have something already? > Please go ahead. Thanks. -- Pedro Alves