public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/39104] New: stabs debug info fails onIRIX 5.3
@ 2009-02-05 11:14 J dot J dot vanderHeijden at gmail dot com
2009-02-05 11:36 ` [Bug debug/39104] " J dot J dot vanderHeijden at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: J dot J dot vanderHeijden at gmail dot com @ 2009-02-05 11:14 UTC (permalink / raw)
To: gcc-bugs
On IRIX 5.3, stabs debug info is embedded in ECOFF. Beginning with gas 2.13,
-mdebug must be passed to correctly handle COFF debugging info. GCC does not do
this.
The result is a lot of stabs related failures:
http://gcc.gnu.org/ml/gcc-testresults/2009-01/msg02896.html
A possible solution is to add %{gstabs*:-mdebug} %{!gstabs*:-no-mdebug} to
SUBTARGET_ASM_DEBUGGING_SPEC, but only for an IRIX5 target, and only when using
GAS.
--
Summary: stabs debug info fails onIRIX 5.3
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: J dot J dot vanderHeijden at gmail dot com
GCC build triplet: mips-sgi-irix5.3
GCC host triplet: mips-sgi-irix5.3
GCC target triplet: mips-sgi-irix5.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39104
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/39104] stabs debug info fails onIRIX 5.3
2009-02-05 11:14 [Bug debug/39104] New: stabs debug info fails onIRIX 5.3 J dot J dot vanderHeijden at gmail dot com
@ 2009-02-05 11:36 ` J dot J dot vanderHeijden at gmail dot com
2010-04-21 14:11 ` ro at gcc dot gnu dot org
2010-04-21 14:24 ` ro at CeBiTec dot Uni-Bielefeld dot DE
2 siblings, 0 replies; 4+ messages in thread
From: J dot J dot vanderHeijden at gmail dot com @ 2009-02-05 11:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from J dot J dot vanderHeijden at gmail dot com 2009-02-05 11:36 -------
Created an attachment (id=17244)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17244&action=view)
Call GAS with -mdebug when using stabs, do not emit .stabd directives
With this patch applied, stabs related failures al go away,
=== g++ Summary ===
# of expected passes 18090
# of unexpected failures 13
# of unexpected successes 1
# of expected failures 141
# of unsupported tests 225
/build53/gcc/gcc-trunk/obj-quick/gcc/testsuite/g++/../../g++ version 4.4.0
20090202 (experimental) [trunk revision 143874] (GCC)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39104
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/39104] stabs debug info fails onIRIX 5.3
2009-02-05 11:14 [Bug debug/39104] New: stabs debug info fails onIRIX 5.3 J dot J dot vanderHeijden at gmail dot com
2009-02-05 11:36 ` [Bug debug/39104] " J dot J dot vanderHeijden at gmail dot com
@ 2010-04-21 14:11 ` ro at gcc dot gnu dot org
2010-04-21 14:24 ` ro at CeBiTec dot Uni-Bielefeld dot DE
2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu dot org @ 2010-04-21 14:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ro at gcc dot gnu dot org 2010-04-21 14:11 -------
Mine.
--
ro at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ro at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-04-21 14:11:29
date| |
Summary|stabs debug info fails |stabs debug info fails
|onIRIX 5.3 |onIRIX 5.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39104
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/39104] stabs debug info fails onIRIX 5.3
2009-02-05 11:14 [Bug debug/39104] New: stabs debug info fails onIRIX 5.3 J dot J dot vanderHeijden at gmail dot com
2009-02-05 11:36 ` [Bug debug/39104] " J dot J dot vanderHeijden at gmail dot com
2010-04-21 14:11 ` ro at gcc dot gnu dot org
@ 2010-04-21 14:24 ` ro at CeBiTec dot Uni-Bielefeld dot DE
2 siblings, 0 replies; 4+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld dot DE @ 2010-04-21 14:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-04-21 14:24 -------
Subject: Re: stabs debug info fails onIRIX 5.3
I don't think this is a gcc bug. While the native IRIX 5 tools use
ECOFF debugging info embedded in ELF (mdebug), they don't know about
Stabs-in-ECOFF/mdebug which is a GCC extension which IRIX 5 gdb cannot
handle. Therefore it seems to be more useful to use Stabs-in-ELF
instead of Stabs-in-ECOFF/mdebug instead, like gas on IRIX 6 does.
In fact, I've got a patch to gas to do so. It seems like gas cannot
properly handle the case where ECOFF_DEBUGGING_INFO isn't a compile time
constant, but can change at runtime based on the -mdebug/-no-mdebug
switch. Once this is properly tested, I'll submit it to the gas
maintainers and update this PR accordingly.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39104
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-04-21 14:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-05 11:14 [Bug debug/39104] New: stabs debug info fails onIRIX 5.3 J dot J dot vanderHeijden at gmail dot com
2009-02-05 11:36 ` [Bug debug/39104] " J dot J dot vanderHeijden at gmail dot com
2010-04-21 14:11 ` ro at gcc dot gnu dot org
2010-04-21 14:24 ` ro at CeBiTec dot Uni-Bielefeld dot DE
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).