This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

debug/6291: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]