From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2799 invoked by alias); 14 Sep 2009 15:44:30 -0000 Received: (qmail 2791 invoked by uid 22791); 14 Sep 2009 15:44:30 -0000 X-SWARE-Spam-Status: No, hits=-2.4 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; Mon, 14 Sep 2009 15:44:25 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8EFiN8Y021720; Mon, 14 Sep 2009 11:44:23 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8EFiMDr018950; Mon, 14 Sep 2009 11:44:22 -0400 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 n8EFiLtT029846; Mon, 14 Sep 2009 11:44:22 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 0374A378175; Mon, 14 Sep 2009 09:44:20 -0600 (MDT) From: Tom Tromey To: Shadowcat Cc: gdb@sourceware.org Subject: Re: Dereferencing pointers on "backtrace full" References: <4AAE192E.9050803@phasethrough.com> Reply-To: tromey@redhat.com Date: Mon, 14 Sep 2009 15:44:00 -0000 In-Reply-To: <4AAE192E.9050803@phasethrough.com> (shadowcat@phasethrough.com's message of "Mon, 14 Sep 2009 06:21:34 -0400") 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-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: 2009-09/txt/msg00176.txt.bz2 >>>>> "Shadowcat" == Shadowcat writes: Shadowcat> Is there any way for GDB to do this? I'd like to be able to Shadowcat> type "bt full" and get, at a quick glance, the exact values Shadowcat> of all the pointers referenced by local variables. It would Shadowcat> make things a lot easier in a lot of situations. There is no built-in way to do this that I know of. You might be able to do it using Python scripting, in CVS GDB. I am not certain... we have a "backtrace" written purely in Python on the archer python branch, but offhand I don't recall whether all the infrastructure bits needed for this have been pushed upstream yet. Tom