delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/06/13:32:42

Message-Id: <200004061657.SAA02787@cerbere.u-strasbg.fr>
X-Sender: muller AT ics DOT u-strasbg DOT fr
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.2
Date: Thu, 06 Apr 2000 18:48:33 +0200
To: djgpp-workers AT delorie DOT com
From: Pierre Muller <muller AT cerbere DOT u-strasbg DOT fr>
Subject: Compiling GDB for DJGPP
References: <38EC4420 DOT 7122722F AT softhome DOT net>
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

  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???)



  


Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller AT ics DOT u-strasbg DOT fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99

- Raw text -


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