From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17735 invoked by alias); 24 Dec 2002 12:18:22 -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 17721 invoked from network); 24 Dec 2002 12:18:19 -0000 Received: from unknown (HELO cmailg1.svr.pol.co.uk) (195.92.195.171) by 209.249.29.67 with SMTP; 24 Dec 2002 12:18:19 -0000 Received: from modem-60.desitin.dialup.pol.co.uk ([62.136.89.60] helo=phekda.freeserve.co.uk) by cmailg1.svr.pol.co.uk with esmtp (Exim 3.35 #1) id 18Qo0c-0002IE-00; Tue, 24 Dec 2002 12:18:07 +0000 Received: from iolanthe.int.phekda.freeserve.co.uk ([192.168.1.1] helo=phekda.freeserve.co.uk ident=rich) by phekda.freeserve.co.uk with esmtp (Exim 3.22 #1) id 18Qnz9-0005Ul-00; Tue, 24 Dec 2002 12:16:35 +0000 Message-ID: <3E085023.415DB634@phekda.freeserve.co.uk> Date: Tue, 24 Dec 2002 04:18:00 -0000 From: Richard Dawe X-Accept-Language: de,fr MIME-Version: 1.0 To: gdb@sources.redhat.com, Richard Dawe , Eli Zaretskii Subject: Re: gdb 5.3 (& earlier): Crash with mixed debug formats References: <3E083C24.63AF6C93@phekda.freeserve.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg00315.txt.bz2 Hello. Richard Dawe wrote: > I discovered recently that the DJGPP port of gdb crashes, when you have a > mix stabs+ and DWARF-2 debug information and try to tab-complete a function > name. [snip] Andris Pavenis, one of the DJGPP developers, reported just now in a message entitled "GDB-5.3 for DJGPP" on the djgpp-workers mailing list (see http://www.delorie.com/djgpp/mail-archives/ ) that: "I had one problem with using GDB-5.3 prereleases built for DJGPP. The reason is errorous line info generated by gcc (at least 3.1, 3.2, 3.2.1), when command line option -imacros is being used (we use it from specs to get sys/version.h included automatically). The result from that is GDB internal error. I don't currently have time to dig into that too much, so only thing I have done is to patch one of sources in GDB to workaround this problem (I have only seen while loading information about preprocessor macros it when -gdwarf-23 or -g3 is used). I'm now in Latvia for Christmass and New Year holydays and don't have this patch anywhere near me now. I can only send it after I'll return in Finland in January" I wonder if anyone can reproduce the problem using my example modified to use -imacros and, say, gcc 3.2.x on Linux. Thanks, regards, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]