From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3251 invoked by alias); 11 Sep 2003 19:54:26 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 3240 invoked from network); 11 Sep 2003 19:54:26 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 11 Sep 2003 19:54:26 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 19xXWJ-0006sy-Ea; Thu, 11 Sep 2003 15:54:23 -0400 Date: Thu, 11 Sep 2003 19:54:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: Joel Brobecker , Jim Blandy , gdb-patches@sources.redhat.com Subject: Re: [RFA] parse and eval breakpoint conditions with correct language Message-ID: <20030911195423.GA21025@nevyn.them.org> Mail-Followup-To: Andrew Cagney , Joel Brobecker , Jim Blandy , gdb-patches@sources.redhat.com References: <20030910015400.GS423@gnat.com> <20030911180920.GD945@gnat.com> <3F60CB0C.5060504@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F60CB0C.5060504@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-09/txt/msg00242.txt.bz2 On Thu, Sep 11, 2003 at 03:20:44PM -0400, Andrew Cagney wrote: > > >Groumf! Our nightly regression test showed a small regression > >which does not appear on my machine. We have an all-Ada program which > >defines a function named Func1, and here is what the test does: > > > > (gdb) break *Func1'Address > > (gdb) run > > I've been wondering if this language stuff was going to interact badly > with breakpoints. Anyway, is it possible to create an equivalent gcj > test case since gcj is likely more accessable to developers? I think this is going to become an increasingly prominent problem. You can create testcases for this in C++, if your system starts C++ programs up in startup code which is auto(asm) instead of c++. I think it's as simple as: (gdb) break classname::func And we won't correctly load the class. This happens on Solaris, not sure about GNU/Linux. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer