gdb/253: "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."

mec@shout.net mec@shout.net
Thu Oct 18 18:44:00 GMT 2001


>Number:         253
>Category:       gdb
>Synopsis:       "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 05 23:38:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     mec@shout.net
>Release:        gdb gdb_5_1-2001-07-29-branch pulled 2001-12-03
>Organization:
>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
>Description:
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.
>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
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gdb-prs mailing list