This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

DWARF for arm-wince-pe.


Hi,

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:

"/cygdrive/d/cegcc/trunk/cegcc/src/gdb-cvs/gdb/dwarf2read.c:1293:
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
here.

Can anyone please give me a pointer at where should I be looking at to
fix this?

Cheers,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]