Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro_alves@portugalmail.pt>
To: gdb@sources.redhat.com
Subject: DWARF for arm-wince-pe.
Date: Thu, 27 Jul 2006 00:42:00 -0000	[thread overview]
Message-ID: <44C7DE1C.8080404@portugalmail.pt> (raw)

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


             reply	other threads:[~2006-07-26 21:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-27  0:42 Pedro Alves [this message]
2006-07-27  0:45 ` Jim Blandy
2006-07-27  9:01 ` Jim Blandy
2006-07-27 11:37   ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44C7DE1C.8080404@portugalmail.pt \
    --to=pedro_alves@portugalmail.pt \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox