public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/18242] New: Dignostic for unsupported debug format is incorrect
@ 2004-10-31 2:59 dannysmith at users dot sourceforge dot net
2004-10-31 4:31 ` [Bug debug/18242] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2004-10-31 2:59 UTC (permalink / raw)
To: gcc-bugs
> gcc -gxcoff trivial.c
> trivial.c:1: error: target system does not support the "dwarf-2" debug format
Here is why:
In flags.h:
enum debug_info_type
{
NO_DEBUG, /* Write no debug info. */
DBX_DEBUG, /* Write BSD .stabs for DBX (using dbxout.c). */
SDB_DEBUG, /* Write COFF for (old) SDB (using sdbout.c). */
DWARF2_DEBUG, /* Write Dwarf v2 debug info (using dwarf2out.c). */
XCOFF_DEBUG, /* Write IBM/Xcoff debug info (using dbxout.c). */
VMS_DEBUG, /* Write VMS debug info (using vmsdbgout.c). */
VMS_AND_DWARF2_DEBUG /* Write VMS debug info (using vmsdbgout.c).
and DWARF v2 debug info (using dwarf2out.c). */
};
In toplev.c
/* Indexed by enum debug_info_type. */
const char *const debug_type_names[] =
{
"none", "stabs", "coff", "dwarf-1", "dwarf-2", "xcoff", "vms"
};
I suppose the names should be:
"none", "stabs", "coff", "dwarf-2", "xcoff", "vms", "vms"
--
Summary: Dignostic for unsupported debug format is incorrect
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dannysmith at users dot sourceforge dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-mingw32
GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18242
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/18242] [4.0 Regression] Dignostic for unsupported debug format is incorrect
2004-10-31 2:59 [Bug debug/18242] New: Dignostic for unsupported debug format is incorrect dannysmith at users dot sourceforge dot net
@ 2004-10-31 4:31 ` pinskia at gcc dot gnu dot org
2004-11-02 2:41 ` cvs-commit at gcc dot gnu dot org
2004-11-02 2:44 ` dannysmith at users dot sourceforge dot net
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-31 4:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-31 04:31 -------
confirmed, someone forgot to remove dwarf-1 from the list, the patch to do this looks obvious, if
someone beats me fine.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2004-10-31 04:31:42
date| |
Summary|Dignostic for unsupported |[4.0 Regression] Dignostic
|debug format is incorrect |for unsupported debug format
| |is incorrect
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18242
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/18242] [4.0 Regression] Dignostic for unsupported debug format is incorrect
2004-10-31 2:59 [Bug debug/18242] New: Dignostic for unsupported debug format is incorrect dannysmith at users dot sourceforge dot net
2004-10-31 4:31 ` [Bug debug/18242] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-11-02 2:41 ` cvs-commit at gcc dot gnu dot org
2004-11-02 2:44 ` dannysmith at users dot sourceforge dot net
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-02 2:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-02 02:41 -------
Subject: Bug 18242
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: dannysmith@gcc.gnu.org 2004-11-02 02:41:37
Modified files:
gcc : ChangeLog toplev.c
Log message:
PR debug/18242
* toplev.c (debug_type[_names): Remove "dwarf-1".
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6129&r2=2.6130
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/toplev.c.diff?cvsroot=gcc&r1=1.929&r2=1.930
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18242
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug debug/18242] [4.0 Regression] Dignostic for unsupported debug format is incorrect
2004-10-31 2:59 [Bug debug/18242] New: Dignostic for unsupported debug format is incorrect dannysmith at users dot sourceforge dot net
2004-10-31 4:31 ` [Bug debug/18242] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-02 2:41 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-02 2:44 ` dannysmith at users dot sourceforge dot net
2 siblings, 0 replies; 4+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2004-11-02 2:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dannysmith at users dot sourceforge dot net 2004-11-02 02:44 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18242
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-11-02 2:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-31 2:59 [Bug debug/18242] New: Dignostic for unsupported debug format is incorrect dannysmith at users dot sourceforge dot net
2004-10-31 4:31 ` [Bug debug/18242] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-02 2:41 ` cvs-commit at gcc dot gnu dot org
2004-11-02 2:44 ` dannysmith at users dot sourceforge dot net
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).