From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23912 invoked by alias); 25 Nov 2003 17:06:42 -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 23902 invoked from network); 25 Nov 2003 17:06:40 -0000 Received: from unknown (HELO smtp10.atl.mindspring.net) (207.69.200.246) by sources.redhat.com with SMTP; 25 Nov 2003 17:06:40 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by smtp10.atl.mindspring.net with esmtp (Exim 3.33 #1) id 1AOge4-0007HQ-00; Tue, 25 Nov 2003 12:06:36 -0500 Received: by berman.michael-chastain.com (Postfix, from userid 502) id D8D974B409; Tue, 25 Nov 2003 12:06:32 -0500 (EST) To: mec.gnu@mindspring.com Subject: Re: C++/Java regressions Cc: gdb@sources.redhat.com, ian@wasabisystems.com Message-Id: <20031125170632.D8D974B409@berman.michael-chastain.com> Date: Tue, 25 Nov 2003 17:06:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2003-11/txt/msg00242.txt.bz2 [Ian might not need any more of this ...] I asked: mec> What is the correct output when a breakpoint is taken on mec> "A::bar(int) const" ? After some deliberation, I decided that I want the test script to be liberal in what it accepts. class A { public: ... int foo (int arg); int bar (int arg) const; }; When a breakpoint is taken on A::foo, the script currently accepts: Breakpoint N, A::foo (this=...) Breakpoint N, A::foo(int) (this=...) When a breakpoint is taken on A::bar, the script currently accepts: Breakpoint N, A::bar (this=...) Breakpoint N, A::bar(int) const (this=...) I am going to keep all these patterns and add another pattern to accept what gdb is printing today: Breakpoint N, A::bar const (this=...) If someone wants to spend time on making gdb's output better here, that is okay with me. But I decided that it's too low priority for my attention and the list bandwidth. David C is that okay with you? Patch to follow. Michael C