From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12404 invoked by alias); 3 Sep 2009 00:08:44 -0000 Received: (qmail 12396 invoked by uid 22791); 3 Sep 2009 00:08:44 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1-old.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Sep 2009 00:08:37 +0000 Received: from int-mx05.intmail.prod.int.phx2.redhat.com ([10.11.47.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8308YTh023195 for ; Wed, 2 Sep 2009 20:08:34 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8308XsC007918; Wed, 2 Sep 2009 20:08:33 -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 n8308V1u029098; Wed, 2 Sep 2009 20:08:32 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 6B99F378242; Wed, 2 Sep 2009 18:08:31 -0600 (MDT) From: Tom Tromey To: nickrob@snap.net.nz (Nick Roberts) Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] varobj.c: Report changed values that use a pretty-printer References: <19103.1108.215005.684662@totara.tehura.co.nz> Reply-To: tromey@redhat.com Date: Thu, 03 Sep 2009 00:08:00 -0000 In-Reply-To: <19103.1108.215005.684662@totara.tehura.co.nz> (Nick Roberts's message of "Thu, 3 Sep 2009 11:48:36 +1200") 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: 2009-09/txt/msg00072.txt.bz2 >>>>> "Nick" == Nick Roberts writes: Nick> I've had a play with pretty printing in MI and it looks really neat. I've Nick> got Emacs to display map objects as described on Trom Tromey's page: Nick> http://tromey.com/blog/?p=546 Nick> There have been a few problems, notably changed values don't seem Nick> to get reported by -var-update. The patch below seems to fix Nick> this. Oops, bad timing ... I have a big patch to redo all this code, as discussed on the gdb list and the archer list. It is on the archer-tromey-python branch, but I plan to push it to CVS as soon as Volodya declares it ready (and as soon as I tidy up the documentation, my task for tomorrow). Nick> The scope of this work seems enormous as it opens the possiblity Nick> of formatting the watch expressions of all STL containers (as, Nick> ISTR, is already done in Totalview). Of course the amount of work Nick> it entails is probably enormous too and the problem, as always, is Nick> finding someone to do it. GCC svn trunk has pretty-printers for basically everything in libstdc++ :-) I'd like to write printers for some other programs (gdb, or gcc, or python, or emacs) but haven't found the time ... Tom