delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/14/07:28:26

Date: Thu, 14 May 1998 14:27:19 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Michel JULIER <julier AT GES DOT univ-montp2 DOT fr>
cc: djgpp AT delorie DOT com
Subject: Re: BUG: debugging with gcc 2.8.1
In-Reply-To: <1.5.4.16.19980514110938.237f77da@um2gess0>
Message-ID: <Pine.SUN.3.91.980514142151.1074D-100000@is>
MIME-Version: 1.0

On Thu, 14 May 1998, Michel JULIER wrote:

>   -In a program that contains #include "sub_prog.c", it is impossible
> to follow the pointer while stepping with gdb (actually, I use rhide).

This is a known limitation of the COFF debugging info, see section 12.8 of
the DJGPP FAQ list.  Stabs debugging info avoids this problem (I think GCC
2.8.1 supports it in the stock distribution), so use -gstabs option when
compiling. 

>   -With another subprogram, I get an error compliling the program with
> "gcc -g -Wall -save-temps -c fit_gene.c"
> >Compiling: fit_gene.c
> >Assembler messages:
> >fit_gene.s(4208) Error: Fatal error: C_EFCN symbol out of scope
> >There were some errors

This sounds like a genuine GCC bug.  Please read the section about
reporting bugs in the GCC manual and post a bug report to gnu.gcc.bug
like that section explains. 

- Raw text -


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