From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30370 invoked by alias); 18 Aug 2010 14:29:43 -0000 Received: (qmail 30359 invoked by uid 22791); 18 Aug 2010 14:29:42 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e24smtp01.br.ibm.com (HELO e24smtp01.br.ibm.com) (32.104.18.85) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 18 Aug 2010 14:29:37 +0000 Received: from mailhub3.br.ibm.com (mailhub3.br.ibm.com [9.18.232.110]) by e24smtp01.br.ibm.com (8.14.4/8.13.1) with ESMTP id o7IEaGcA025750 for ; Wed, 18 Aug 2010 11:36:16 -0300 Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.8.31.91]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o7IEYvhM2035956 for ; Wed, 18 Aug 2010 11:34:57 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o7IETHDR012401 for ; Wed, 18 Aug 2010 11:29:17 -0300 Received: from [9.78.145.3] ([9.78.145.3]) by d24av01.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o7IETGTn012381; Wed, 18 Aug 2010 11:29:17 -0300 Subject: Re: PR corefile/8210: Linux core files should use linux-thread-db.c From: Thiago Jung Bauermann To: Pedro Alves Cc: gdb-patches@sourceware.org In-Reply-To: <201008181328.38872.pedro@codesourcery.com> References: <201008142005.49256.pedro@codesourcery.com> <201008181328.38872.pedro@codesourcery.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 18 Aug 2010 14:29:00 -0000 Message-ID: <1282141768.19094.1.camel@hactar> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00293.txt.bz2 On Wed, 2010-08-18 at 13:28 +0100, Pedro Alves wrote: > On Saturday 14 August 2010 20:05:49, Pedro Alves wrote: > > > PR corefile/8210 > > > > gdb/ > > * linux-thread-db.c (add_thread_db_info): Skip glibc/BZ5983 > > workaround on core files. > > (try_thread_db_load_1): Don't try enabling thread event reporting > > on core files. > > (thread_db_load): Allow thread_db on core files. > > (attach_thread): Don't check thread signals on core files, nor try > > really attaching to the thread, nor enabling thread event event > > reporting. > > (thread_db_detach): Don't try disabing thread event reporting or > > removing thread event breakpoints when debugging a core file. > > (find_new_threads_callback): Don't try enabling thread event > > reporting on core files. > > (thread_db_find_new_threads_2): Don't look for a stopped lwp when > > debugging a core file. > > (thread_db_find_new_threads): Don't update thread > > cores (processors) when debugging a core (dump). > > I've applied this as well. This is patch is great. IMHO it deserves a NEWS entry. :-) -- []'s Thiago Jung Bauermann IBM Linux Technology Center