This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
debug/6291: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."
- From: Sylvain dot Pion at sophia dot inria dot fr
- To: gcc-gnats at gcc dot gnu dot org
- Cc: Sylvain dot Pion at sophia dot inria dot fr
- Date: 13 Apr 2002 23:52:23 -0000
- Subject: debug/6291: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."
- Reply-to: Sylvain dot Pion at sophia dot inria dot fr
>Number: 6291
>Category: debug
>Synopsis: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 13 16:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Sylvain Pion
>Release: 3.1 20020411 (prerelease) and 3.2 20020411 (experimental)
>Organization:
>Environment:
RedHat Linux 6.1 (manually upgraded).
GDB 5.1
>Description:
Debugging information seems totally broken.
When I compile a trivial C or C++ program, GDB tells me :
Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.
I can't even put a breakpoint on "main".
This shows up with current GCC 3.1 and 3.2 (gcc and g++).
2.95.3 and 3.0.4 both work fine.
This seems critical for the 3.1 release !
>How-To-Repeat:
Compile with "-g", with gcc or g++ the following program:
int main() { return 0; }
Then run "gdb a.out", and then type "b main" in gdb.
>Fix:
I don't know of any fix.
>Release-Note:
>Audit-Trail:
>Unformatted: