From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13019 invoked by alias); 18 Feb 2008 14:19:00 -0000 Received: (qmail 13002 invoked by uid 22791); 18 Feb 2008 14:18:58 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 18 Feb 2008 14:18:38 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id C1D949839A; Mon, 18 Feb 2008 14:18:36 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 766CF98100; Mon, 18 Feb 2008 14:18:36 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JR6pH-0003LL-4l; Mon, 18 Feb 2008 09:18:35 -0500 Date: Tue, 19 Feb 2008 16:31:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: Vladimir Prus , gdb@sources.redhat.com Subject: Re: Variable objects and STL containers Message-ID: <20080218141835.GA12715@caradoc.them.org> Mail-Followup-To: Nick Roberts , Vladimir Prus , gdb@sources.redhat.com References: <18343.64413.689019.489727@kahikatea.snap.net.nz> <18344.836.184542.934917@kahikatea.snap.net.nz> <20080205131634.GA10652@caradoc.them.org> <18357.23056.842755.97621@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18357.23056.842755.97621@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes 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: 2008-02/txt/msg00127.txt.bz2 On Fri, Feb 15, 2008 at 10:23:28PM +1300, Nick Roberts wrote: > Would it be possible for the gcc developers to add that information? > I mean with a special option, like -g3 means include macro information. I don't think so. There is no useful way to represent their actions; you'd need a compiler to some intermediate language, probably the DWARF stack machine. > Alternatively would it be possible to share code for those methods with > Gdb, as with the bfd library? They're written in C++ and templated for every user type that uses them. So, not this either. -- Daniel Jacobowitz CodeSourcery