From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29847 invoked by alias); 18 Dec 2012 08:33:07 -0000 Received: (qmail 29833 invoked by uid 22791); 18 Dec 2012 08:33:06 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD 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; Tue, 18 Dec 2012 08:32:59 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBI8WvEE027179 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 18 Dec 2012 03:32:57 -0500 Received: from host2.jankratochvil.net (ovpn-116-39.ams2.redhat.com [10.36.116.39]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qBI8Wr8I012269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 18 Dec 2012 03:32:56 -0500 Date: Tue, 18 Dec 2012 08:33:00 -0000 From: Jan Kratochvil To: William Douglas Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] print_frame add info Message-ID: <20121218083252.GA8054@host2.jankratochvil.net> References: <87ehiocel0.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ehiocel0.fsf@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2012-12/txt/msg00619.txt.bz2 Hello, On Tue, 18 Dec 2012 02:51:39 +0100, William Douglas wrote: > I want to have gdb's output for shared objects' stack frames changed to > append the from /path/to/lib.so.1 even if the function name or file name > are available. > > It would make things easier for me when I don't readily know what > library a certain file is in and the change doesn't seem especially > drastic. This is a several years lasting plan. It was at least posted in: http://sourceware.org/ml/gdb-patches/2011-07/msg00796.html * It should be configurable. * One of the options should be to print just basename.so. The lines should not become needlessly long. * IMO it should be before the function name so that one can copy-paste it as a linespec to "break" and other commands. But linespec should be able to parse "objectname:funcname" which it currently cannot. And I was not sure how well will one parse "objectname:funcname" in linespec, Keith Seitz is rewriting the linespec parser somehow. Thanks, Jan