This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC3.2 gdb prerequisite?
- From: Tim Josling <tej at melbpc dot org dot au>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 21 Jun 2002 06:38:34 +1000
- Subject: GCC3.2 gdb prerequisite?
- Organization: Melbourne PC User Group
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.
Thanks,
Tim Josling