From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1334 invoked by alias); 13 Dec 2001 18:57:37 -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 1307 invoked from network); 13 Dec 2001 18:57:33 -0000 Received: from unknown (HELO localhost.cygnus.com) (205.180.231.71) by sources.redhat.com with SMTP; 13 Dec 2001 18:57:33 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 646933D60; Thu, 13 Dec 2001 10:57:27 -0800 (PST) Message-ID: <3C18FA17.6030603@cygnus.com> Date: Thu, 13 Dec 2001 10:57:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.6) Gecko/20011207 X-Accept-Language: en-us MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Don't use thread_db on corefiles References: <20011213114847.A17989@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00353.txt.bz2 > This patch fixes a really frustrating internal error when you open the > coredump of a multithreaded application. Depending on your kernel, either > the core has threads (corefile.c supports this just fine) or it doesn't. > Neither way will opening libthread_db work right. Daniel, can you explain the problem? Thread-db should work on core files (or realize it is silly and not open its self). > This patch isn't quite complete, because strange things happen when you > connect to a remote target too. But fixing that requires a little more > fiddling. Andrew