From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20787 invoked by alias); 12 Feb 2002 22:33:16 -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 20704 invoked from network); 12 Feb 2002 22:33:14 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 12 Feb 2002 22:33:14 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16alU6-0000su-00; Tue, 12 Feb 2002 17:33:10 -0500 Date: Tue, 12 Feb 2002 14:33:00 -0000 From: Daniel Jacobowitz To: Dan Conti Cc: gdb@sources.redhat.com Subject: Re: debugging gcc 3.x c++ Message-ID: <20020212173310.A3228@nevyn.them.org> Mail-Followup-To: Dan Conti , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i X-SW-Source: 2002-02/txt/msg00192.txt.bz2 On Tue, Feb 12, 2002 at 02:00:12PM -0800, Dan Conti wrote: > Hi, i had ran into this bug before with gcc 3.0.3 and gdb 5.1, and was > told that it was properly fixed in the current versions of gdb (to be > specific, i was told that it was fixed in cvs between the 5.1 and 5.1.1 > release). In the cvs snapshot i checked and the 5.1.1 release, it's > fixed in some but not all instances. > > Basically when i go to print some of my C++ classes in the debugger, i > get a message saying "Value can't be converted to integer." There's a PR > filed on this at: > > http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&dat > abase=gdb&pr=243 > > Personally i am using a arm-elf cross toolchain, gcc 3.0.3 and gdb 5.1.1 > on a cygwin host. > > I have no problem fixing this myself if someone could point me in the > right direction, since i'm not really familiar with gdb internals. This is fixed in GDB CVS. It has been for a bit over a month now. Could you give it a try? I see on the PR trail that I told you this at the time. The misunderstanding may come from 5.1.1 being released afterwards; that does NOT contain the fix. 5.2 will. > Also, something i'm not clear on, according to the gdb mailing lists > page, 'gdb-prs' is a "Mailing list for discussing bugs submitted to the > bug reporting database", but for some reason i can't post to this list > about a bug submitted to the bug reporting database. Perhaps the > description should mention that it's for testers only (i'm assuming this > is the case?) ? Actually, it's for GNATS use only. GNATS messages get copied there. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer