public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* debug/6291: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."
@ 2002-04-13 16:56 Sylvain.Pion
0 siblings, 0 replies; 4+ messages in thread
From: Sylvain.Pion @ 2002-04-13 16:56 UTC (permalink / raw)
To: gcc-gnats; +Cc: Sylvain.Pion
>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:
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: debug/6291: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."
@ 2002-04-13 17:29 dberlin
0 siblings, 0 replies; 4+ messages in thread
From: dberlin @ 2002-04-13 17:29 UTC (permalink / raw)
To: Sylvain.Pion, dberlin, gcc-bugs, gcc-prs, nobody
Synopsis: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."
Responsible-Changed-From-To: unassigned->dberlin
Responsible-Changed-By: dberlin
Responsible-Changed-When: Sat Apr 13 17:29:05 2002
Responsible-Changed-Why:
meef
State-Changed-From-To: open->closed
State-Changed-By: dberlin
State-Changed-When: Sat Apr 13 17:29:05 2002
State-Changed-Why:
Not a GCC bug.
You simply need to upgrade your GDB.
Latest GDB CVS supports this.
5.1.1 supports it as well, IIRC.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6291
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: debug/6291: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."
@ 2002-04-13 17:26 Andrew Pinski
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Pinski @ 2002-04-13 17:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR debug/6291; it has been noted by GNATS.
From: Andrew Pinski <pinskia@physics.uc.edu>
To: Sylvain.Pion@sophia.inria.fr
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: debug/6291: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."
Date: Sat, 13 Apr 2002 20:17:47 -0400
Update gdb to the cvs version, or when gdb 5.1.1 comes out that.
Since gdb 5.1 does not support all of the dwarf 2 debugging stuff.
Thanks,
Andrew Pinski
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: debug/6291: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."
@ 2002-04-13 17:16 Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2002-04-13 17:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR debug/6291; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@mvista.com>
To: Sylvain.Pion@sophia.inria.fr
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: debug/6291: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader."
Date: Sat, 13 Apr 2002 20:13:40 -0400
On Sat, Apr 13, 2002 at 11:52:23PM -0000, Sylvain.Pion@sophia.inria.fr wrote:
>
> >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.
Easy, use GDB 5.1.1. Released for (among others) this exact reason. I
do wish we had not switched to a DWARF-2 default at the same time as
this...
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-04-14 0:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-13 16:56 debug/6291: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader." Sylvain.Pion
2002-04-13 17:16 Daniel Jacobowitz
2002-04-13 17:26 Andrew Pinski
2002-04-13 17:29 dberlin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).