This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: corrupted debug info?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]