This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: corrupted debug info?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 26 Feb 2003 12:29:24 -0500
- Subject: Re: corrupted debug info?
- References: <3E5CF41C.80409@nec-labs.com>
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