corrupted debug info?

Daniel Jacobowitz drow@mvista.com
Wed Feb 26 18:00:00 GMT 2003


On Wed, Feb 26, 2003 at 12:06:36PM -0500, Andrea Galbusera wrote:
> Hi folks!
> 
> I'm experiencing difficulties in debugging some rather big obj files 
> (6Mb+ each). gdb seems unable to retrieve the correct line number 
> information. Looking at these files with 'objdump -g' I get the following:

If your source files are 2Mb, they are probably more than 64k lines. 
Stabs only has a 16-bit line number field.

Might want to try DWARF-2 instead (and more recent binutils).


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc mailing list