www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/06/15:02:41

From: pavenis AT lanet DOT lv
To: Pierre Muller <muller AT cerbere DOT u-strasbg DOT fr>, djgpp-workers AT delorie DOT com
Date: Thu, 6 Apr 2000 20:32:29 +0200
MIME-Version: 1.0
Subject: Re: Compiling GDB for DJGPP
Message-ID: <38ECF45D.2966.FC5721@localhost>
In-reply-to: <200004061657.SAA02787@cerbere.u-strasbg.fr>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 6 Apr 2000, at 18:48, Pierre Muller wrote:

> 
>   Using CVS repository 
> I tried to compile the current tree,
> 
>   First, I wolud like to state that indeed configure works without problems !
> 
>   Second, I wanted to use  -gstabs option instead of -g 
> (the is a line count limitation with -g that is overflooded)
> 
>   I am using gcc 2.952 with DJGPP 2.03
> 
>   but changing "CFLAGS= -g -O" into  "CFLAGS=-gstabs -O"
> leads to an unexpected and unnice result :
> 
>   The labels used for the stabn generation of source line encoding are labeled
> by
>    LM???
> where ??? represents a number,
> 
>   the problem is that gcc only considers .L???? labels as local labels
> thus it keep all these LM??? labels
> and when debugging  gdb with itself a backtrace gives 
> a list of LM??? without args :(
> 
>   Does anyone have an idea what is wrong here ???
> 
> I am quite sure it worked better with older gcc versions !!
> (I tested gcc v 2.951 but this one also generates LM???)

I suspect You are using binutils-2.8.1. I suggest to install 
bnu251b.zip. 

However I haven't verifed Your problem with 2.8.1.

At least I didn't saw local labels in object files both when using 
binutils-2.9.1 (with some patches) and 4th April snaphot of binutils
(with patches practically identical to ones from bnu2951s.zip, only
binaries were built under Linux using cross-compiling)

Andris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019