From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15483 invoked by alias); 30 Dec 2008 00:01:22 -0000 Received: (qmail 15443 invoked by uid 22791); 30 Dec 2008 00:01:22 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,KAM_MX,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Dec 2008 00:00:32 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mBU009WH000688; Mon, 29 Dec 2008 19:00:09 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mBU008Le029345; Mon, 29 Dec 2008 19:00:08 -0500 Received: from opsy.redhat.com (vpn-12-253.rdu.redhat.com [10.11.12.253]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mBU0075S004244; Mon, 29 Dec 2008 19:00:07 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id CB14750801F; Mon, 29 Dec 2008 17:00:06 -0700 (MST) To: Joel Brobecker Cc: Emi SUZUKI , gdb@sourceware.org Subject: Re: Watchpoint on an unloaded shared library(2) References: <20081217.154039.01371590.emi-suzuki@tjsys.co.jp> <20081229051317.GB16483@adacore.com> <20081229135332.GA10806@caradoc.them.org> From: Tom Tromey Reply-To: tromey@redhat.com Date: Tue, 30 Dec 2008 00:01:00 -0000 In-Reply-To: <20081229135332.GA10806@caradoc.them.org> (Daniel Jacobowitz's message of "Mon\, 29 Dec 2008 08\:53\:32 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (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: 2008-12/txt/msg00093.txt.bz2 Joel> I'm not even sure why we use "print_expression (b->exp) rather Joel> than printing exp_string directly - perhaps someone does? Daniel> I don't know, but it drives me nuts. Me too! I usually recognize the expression I typed, not necessarily the canonicalization that gdb comes up with. Pedro> This looks like PR 8079: Pedro> http://sourceware.org/bugzilla/show_bug.cgi?id=8079 I propose that if nobody comes up with a reason for the current behavior, we commit that patch. I can run it through the regression tester and fix up the problems next week, if you like. Let me know. Tom