[Converted from Gnats 253] Run the test suite with -gdwarf-2 (edit site.exp and set target to unix/-gdwarf-2). Run gdb on the program. The gdb symbol table can't handle DW_FORM-strp. Test suite log excerpt: (gdb) file /berman/fsf/_today_/berman/native/build/gdb/gdb_5_1-2001-07-29-branch/gdb/testsuite/gdb.base/run Reading symbols from /berman/fsf/_today_/berman/native/build/gdb/gdb_5_1-2001-07-29-branch/gdb/testsuite/gdb.base/run...Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader. The same gdb works with dwarf-2 in gcc 2.95.3, gcc 3.0.2, and gcc gcc-3_0-branch. The same gdb works with stabs+ with gcc HEAD, gcc 2.95.3, gcc 3.0.2, and gcc gcc-3_0-branch. gdb HEAD works with dwarf-2 and stabs+ with all four compilers. Out of the 16 combinations, only this one is broken. This bug is high priority to me. Fixing this bug would enable me to test and report on this configuration regularly (the test suite takes 18 hours to run with all the timeouts, and then yields 188 ERRORs, 4 WARNINGs, and 2459 FAILs. Release: gdb gdb_5_1-2001-07-29-branch pulled 2001-12-03 Environment: red hat linux 7.1 gcc HEAD pulled 2001-12-03 gdb gdb_5_1-2001-07-29-branch pulled 2001-12-03 binutils HEAD pulled 2001-12-03 configuration: native i686-pc-linux-gnu How-To-Repeat: See description.
Fix: Daniel Jacobowitz suggests this porting this patch from the mainline to the branch: http://sources.redhat.com/ml/gdb-patches/2001-11/msg00231.html Also see this message: http://sources.redhat.com/ml/gdb-patches/2001-12/msg00040.html
State-Changed-From-To: open->closed State-Changed-Why: Fixed as of 2001-12-08. The patch which Daniel pointed to was effective. That patch has been merged into the branch.