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: GCC3.2 gdb prerequisite?


On Fri, Jun 21, 2002 at 06:38:34AM +1000, Tim Josling wrote:
> I am debugging my COBOL front end with GCC3.2 ie the bleeding edge mainline,
> and I am finding problems with GDB
> 
> 1. Always reports source file later than executable, even when it isn't.
> 2. 'l' prints wrong lines.
> 3. Most annoyingly, the program works fine under gdb, though it crashes when
> run standalone.
> 
> I am running gdb5.0-rh15 on Red Hat gnu/linux 7.2. Is a gdb upgrade likely to
> help? Has anyone else used gdb successfully with gcc3.2 and if so what version
> were they using?
> 
> I am running ld 2.11.90.0.8. It sometimes complains of invalid dwarf types in
> object files. Maybe I should upgrade ld as well. 

You are likely to have better results with binutils 2.12 (2.12.1) and
GDB 5.2.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
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]