From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21852 invoked by alias); 21 Jan 2010 16:34:01 -0000 Received: (qmail 21838 invoked by uid 22791); 21 Jan 2010 16:33:59 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 Jan 2010 16:33:55 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0LGXojk024791 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 21 Jan 2010 11:33:51 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0LGXos1014661; Thu, 21 Jan 2010 11:33:50 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o0LGXndm027511; Thu, 21 Jan 2010 11:33:49 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 1F605379965; Thu, 21 Jan 2010 09:33:49 -0700 (MST) From: Tom Tromey To: Jan Kratochvil Cc: Doug Evans , gdb-patches@sourceware.org Subject: Re: [patch] print a more useful error message for "gdb core" References: <20100120235605.607D284413@ruffy.mtv.corp.google.com> <20100121135838.GA5211@host0.dyn.jankratochvil.net> Reply-To: tromey@redhat.com Date: Thu, 21 Jan 2010 16:34:00 -0000 In-Reply-To: <20100121135838.GA5211@host0.dyn.jankratochvil.net> (Jan Kratochvil's message of "Thu, 21 Jan 2010 14:58:38 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-01/txt/msg00528.txt.bz2 >>>>> "Jan" == Jan Kratochvil writes: Jan> I would prefer to try automatically loading it as a core file ("gdb Jan> -c core") and to print a warning instead of error. Fedora GDB is Jan> patched for build-id (still not submitted for FSF) so that it can Jan> find the executable in such case. I agree, but I don't think this should block Doug's patch. It seems to me that something like Doug's patch will be needed anyway, if the build-id is not available. Tom