From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26668 invoked by alias); 26 Sep 2003 18:39:50 -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 26645 invoked from network); 26 Sep 2003 18:39:49 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 26 Sep 2003 18:39:49 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 1A2xVM-0002Kx-9y; Fri, 26 Sep 2003 14:39:48 -0400 Date: Fri, 26 Sep 2003 18:40:00 -0000 From: Daniel Jacobowitz To: Paul Dubuc Cc: GDB Mailing List Subject: Re: GDB and compiler version. Message-ID: <20030926183948.GB8920@nevyn.them.org> Mail-Followup-To: Paul Dubuc , GDB Mailing List References: <3F74817B.3080704@cas.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F74817B.3080704@cas.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-09/txt/msg00329.txt.bz2 On Fri, Sep 26, 2003 at 02:12:11PM -0400, Paul Dubuc wrote: > We are using gdb with the GCC C++ compiler on Solaris. Recently we > upgraded GCC > from 2.95.3 to 3.3.1 and gdb from 5.0 to 5.3. We also upgraded binutils > 2.11 to > 2.14. > > My question is Are there any compiler or binutils dependencies in gdb? > Should > gdb 5.3 compiled with g++ 3.3.1 work as well on code that is compiled with > g++ > 2.95.3? Or do I always need to use a gdb that is built with the same > version of > GCC that is used to build the programs it debugs? It should not matter. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer