This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/19197] New: Cygwin's gdb turns up its nose at DWARF debug info...
- From: "bsdfan3 at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Dec 2004 02:41:06 -0000
- Subject: [Bug debug/19197] New: Cygwin's gdb turns up its nose at DWARF debug info...
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
--enable-dwarf2 seems to work just fine on Cygwin32, except for the fact that
GDB turns up its nose at the presence of DWARF debug info in files that aren't
ELF (such as WindowsNT PE files). This problem reared its UGLY head when I was
trying to debug the built-but-not-installed GCC 4 I keep on hand. Error
messages are as follows:
Lucas@your-xu5v9frokn ~/b-gcc
$ gdb gcc/xgcc
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
/netrel/src/gdb-20030919-1/gdb/dwarf2read.c:1197: internal-error: read_comp_unit
_head: dwarf from non elf file
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n
/netrel/src/gdb-20030919-1/gdb/dwarf2read.c:1197: internal-error: read_comp_unit
_head: dwarf from non elf file
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
--
Summary: Cygwin's gdb turns up its nose at DWARF debug info...
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bsdfan3 at users dot sourceforge dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19197