This is the mail archive of the
mailing list for the GDB project.
DWARF for arm-wince-pe.
- From: Pedro Alves <pedro_alves at portugalmail dot pt>
- To: gdb at sources dot redhat dot com
- Date: Wed, 26 Jul 2006 22:26:52 +0100
- Subject: DWARF for arm-wince-pe.
I'm trying to add dwarf support for arm-wince-pe. I have implemented the
binutils and the gcc part.
I am now looking into gdb support.
Gdb is issuing this internan-error:
internal-error: read_comp_unit_head: dwarf from non elf file
A problem internal to GDB has been detected,
further debugging may prove unreliable."
Looking at warf2read.c:read_comp_unit_head around line 1293, I see:
signed_addr = bfd_get_sign_extend_vma (abfd);
if (signed_addr < 0)
internal_error (__FILE__, __LINE__,
_("read_comp_unit_head: dwarf from non elf file"));
I'm trying to find out what cygwin does to support dwarf 2 on coff, and
do the same, but my limited knowledge of gdb internals is not helping
Can anyone please give me a pointer at where should I be looking at to