From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15531 invoked by alias); 24 Sep 2009 18:31:08 -0000 Received: (qmail 15518 invoked by uid 22791); 24 Sep 2009 18:31:06 -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; Thu, 24 Sep 2009 18:31:00 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8OIUwOF004924 for ; Thu, 24 Sep 2009 14:30:58 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8OIUvbJ031127; Thu, 24 Sep 2009 14:30:58 -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 n8OIUu7G031227; Thu, 24 Sep 2009 14:30:57 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 8656E378185; Thu, 24 Sep 2009 12:30:56 -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> <19103.5356.263602.590270@totara.tehura.co.nz> <19131.969.240479.323260@totara.tehura.co.nz> Reply-To: tromey@redhat.com Date: Thu, 24 Sep 2009 18:31:00 -0000 In-Reply-To: <19131.969.240479.323260@totara.tehura.co.nz> (Nick Roberts's message of "Thu, 24 Sep 2009 17:29:45 +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/msg00754.txt.bz2 >>>>> "Nick" == Nick Roberts writes: Nick, sorry about the double reply. The copy of your message that I received was CCd to gdb-patches@redhat.com... either you resent it (?) or there is some bad address mangling going on somewhere. (If you did not resend it, let me know, because I'd like to try to track down the problem.) Tom> Yes, they are installed in a way that lets them auto-activate, if the Tom> distro configures everything properly. We're already doing this in Tom> Fedora 11. Nick> How does that work? GDB has code in it to automatically find and read a .py file when a new objfile is created. On Fedora, we install such a file that loads the libstdc++ printers when libstdc++.so is used by the inferior. See (info "(gdb)Auto-loading") for the details. Tom