This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC3.2 gdb prerequisite?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Tim Josling <tej at melbpc dot org dot au>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 20 Jun 2002 17:44:10 -0400
- Subject: Re: GCC3.2 gdb prerequisite?
- References: <3D123D4A.7B0EEFCE@melbpc.org.au>
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