From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5130 invoked by alias); 24 Sep 2009 05:29:57 -0000 Received: (qmail 5121 invoked by uid 22791); 24 Sep 2009 05:29:56 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx.southnet.co.nz (HELO viper.snap.net.nz) (202.37.101.20) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Sep 2009 05:29:52 +0000 Received: from totara (134.62.255.123.dynamic.snap.net.nz [123.255.62.134]) by viper.snap.net.nz (Postfix) with ESMTP id 7C44C3DA93E; Thu, 24 Sep 2009 17:29:48 +1200 (NZST) Received: by totara (Postfix, from userid 1000) id 53473C167; Thu, 24 Sep 2009 17:29:45 +1200 (NZST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19131.969.240479.323260@totara.tehura.co.nz> Date: Thu, 24 Sep 2009 05:29:00 -0000 To: Tom Tromey Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] varobj.c: Report changed values that use a pretty-printer In-Reply-To: References: <19103.1108.215005.684662@totara.tehura.co.nz> <19103.5356.263602.590270@totara.tehura.co.nz> From: nickrob@snap.net.nz (Nick Roberts) 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: 2009-09/txt/msg00740.txt.bz2 > Tom> GCC svn trunk has pretty-printers for basically everything in > Tom> libstdc++ :-) > > Nick> Cool! Will they be distributed as part of the libstdc++ package > Nick> files? i.e. with future GNU/Linux distributions > > Yes, they are installed in a way that lets them auto-activate, if the > distro configures everything properly. We're already doing this in > Fedora 11. How does that work? I can see that a front-end can get GDB to read the file printers.py, if it is distributed with the libstdc++ package, using "library-loaded" notification: =library-loaded,id="/usr/lib/libstdc++.so.6",target-name="/usr/lib/libstdc++.so.6",host-name="/usr/lib/libstdc++.so.6",symbols-loaded="0" Or do you mean that the build of GDB in Fedora 11 will recognise that libstdc++ has been loaded and then automatically read in the file printers.py? -- Nick http://users.snap.net.nz/~nickrob