From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25540 invoked by alias); 4 Feb 2002 15:17:37 -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 25451 invoked from network); 4 Feb 2002 15:17:34 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 4 Feb 2002 15:17:34 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16XksR-00017H-00; Mon, 04 Feb 2002 10:17:51 -0500 Date: Mon, 04 Feb 2002 07:17:00 -0000 From: Daniel Jacobowitz To: Colin Fox Cc: gdb Subject: Re: GCC 3.0 Message-ID: <20020204101751.A4275@nevyn.them.org> Mail-Followup-To: Colin Fox , gdb References: <1012811166.31330.23.camel@elgrande> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1012811166.31330.23.camel@elgrande> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-02/txt/msg00078.txt.bz2 On Mon, Feb 04, 2002 at 12:26:06AM -0800, Colin Fox wrote: > Greetings everyone. > > I've tried to update to the latest gcc (3.0) and the latest gdb (5.1.1), > and I've found that there is some incompatibility involved. > > Specifically, in a number of cases (which worked fine in gcc 2.96) where > I could "print *this", when I try my software with gcc 3.0 I get a > "Value can't be converted to an integer". > > In DDD, when I try to display "*this", I get a "Disabling display 1 to > avoid infinite recursion.". Again, this works fine if I compile with gcc > 2.96. > > Is this a bug in the gcc 3.0 debug output, or is this simply something > that gdb will have to be brought up to date on? Use a GDB snapshot from CVS instead. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer