From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20834 invoked by alias); 5 Oct 2011 18:47:48 -0000 Received: (qmail 20821 invoked by uid 22791); 5 Oct 2011 18:47:47 -0000 X-SWARE-Spam-Status: No, hits=-7.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_BJ 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; Wed, 05 Oct 2011 18:47:27 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p95IlCVE028899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 5 Oct 2011 14:47:12 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p95IlBWv002746; Wed, 5 Oct 2011 14:47:12 -0400 Received: from barimba (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 p95Il9YM014583; Wed, 5 Oct 2011 14:47:10 -0400 From: Tom Tromey To: Joel Brobecker Cc: Jan Kratochvil , Jon Grant , gdb@sourceware.org Subject: Re: gdb backtrace include library as well as symbol name References: <4E7FAB5E.5020705@jguk.org> <20110926063307.GA1031@host1.jankratochvil.net> <20110926153601.GH27340@adacore.com> Date: Wed, 05 Oct 2011 18:47:00 -0000 In-Reply-To: <20110926153601.GH27340@adacore.com> (Joel Brobecker's message of "Mon, 26 Sep 2011 08:36:01 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2011-10/txt/msg00018.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: Jan> Yes, this is common RFE. It was discussed in the thread: Jan> Re: [patch] GDB 7.2: new feature for "backtrace" that cuts Jan> path to file (remain filename) Jan> http://sourceware.org/ml/gdb-patches/2011-07/msg00796.html Joel> I understood that thread as being something slightly different. Joel> But what's being asked here is that the name of the exe being Joel> debugged be printed for symbols in the main exe. This is the only Joel> time as far as I known when the name of the objfile is not Joel> printed, so I think that the current output is fine. I think it would be a decent addition. What happened to the patch which Jan references? It also seemed like a good idea, or at least a good one once minor changes were made. Joel> There has been a project of decorated backtraces, which allows Joel> a user to enhance them via Python. Have you looked at this project? Joel> Not sure if this project made it to the main repository, of if Joel> it is still only in Archer, though. Phil is reimplementing this in a better way. Tom