From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22530 invoked by alias); 18 Aug 2010 12:28:48 -0000 Received: (qmail 22521 invoked by uid 22791); 18 Aug 2010 12:28:48 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 18 Aug 2010 12:28:43 +0000 Received: (qmail 9136 invoked from network); 18 Aug 2010 12:28:41 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 18 Aug 2010 12:28:41 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: PR corefile/8210: Linux core files should use linux-thread-db.c Date: Wed, 18 Aug 2010 12:28:00 -0000 User-Agent: KMail/1.13.2 (Linux/2.6.33-29-realtime; KDE/4.4.2; x86_64; ; ) References: <201008142005.49256.pedro@codesourcery.com> In-Reply-To: <201008142005.49256.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008181328.38872.pedro@codesourcery.com> 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/msg00291.txt.bz2 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. -- Pedro Alves