From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17418 invoked by alias); 26 Sep 2003 18:12: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 17408 invoked from network); 26 Sep 2003 18:12:15 -0000 Received: from unknown (HELO srv01.cas.org) (134.243.50.9) by sources.redhat.com with SMTP; 26 Sep 2003 18:12:15 -0000 Received: from cas.org (pmd24awu [134.243.216.44]) by srv01.cas.org (8.12.9/8.12.9/CAS_MAIL_HUB-3.02) with ESMTP id h8QICB0W014400 for ; Fri, 26 Sep 2003 14:12:12 -0400 (EDT) Message-ID: <3F74817B.3080704@cas.org> Date: Fri, 26 Sep 2003 18:17:00 -0000 From: Paul Dubuc Organization: Chemical Abstracts Service (CAS) User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: GDB Mailing List Subject: GDB and compiler version. Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-09/txt/msg00326.txt.bz2 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? Thanks, -- Paul M. Dubuc