From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1269 invoked by alias); 26 Nov 2003 22:34:18 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1259 invoked from network); 26 Nov 2003 22:34:15 -0000 Received: from unknown (HELO yosemite.airs.com) (209.128.65.135) by sources.redhat.com with SMTP; 26 Nov 2003 22:34:15 -0000 Received: (qmail 29823 invoked by uid 10); 26 Nov 2003 22:34:14 -0000 Received: (qmail 19675 invoked by uid 500); 26 Nov 2003 22:34:08 -0000 From: Ian Lance Taylor To: Daniel Jacobowitz Cc: Michael Elizabeth Chastain , gdb@sources.redhat.com Subject: Re: C++/Java regressions References: <20031126214341.626764B40B@berman.michael-chastain.com> <20031126222837.GA5007@nevyn.them.org> Date: Wed, 26 Nov 2003 22:34:00 -0000 In-Reply-To: <20031126222837.GA5007@nevyn.them.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg00274.txt.bz2 Daniel Jacobowitz writes: > It does make sense, but I see Michael's concern. If you look at the > complete GDB output in this case, you get roughly: > Stopped at breakpoint 1, A::bar () for A::bar() > Stopped at breakpoint 1, A::bar () for A::bar() const > Stopped at breakpoint 1, A::bar (a = 1) for A::bar(int) Ah. > I still think the demangler should return A::bar. If we want GDB's > output to be unambiguous then GDB is the right place to print the > const. Without debug info we may not have it... but who really cares? It's certainly easy for me to do it either way, and I doubt anybody other than the GDB group really cares, so y'all just tell me what to do. Ian