This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: insight-6.0: error loading an ELF (target arm-unknown-elf)
- From: Keith Seitz <keiths at redhat dot com>
- To: Torsten Mohr <tmohr at s dot netic dot de>
- Cc: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: 20 Nov 2003 07:37:23 -0800
- Subject: Re: insight-6.0: error loading an ELF (target arm-unknown-elf)
- Organization:
- References: <200311201448.49867.tmohr@s.netic.de>
On Thu, 2003-11-20 at 05:48, Torsten Mohr wrote:
> But insight-6.0 refuses to load the ELF (filename "main"):
>
> Error loading "path/main":
> bad offset (0x20206a6) in compilation unit header
> (offset 0x0 + 6) [in module /path/main]
[snip]
> I don't think the error is in insight, but i'm really
> interested in what this error message means, it doesn't
> mean anything to me at the moment. As readelf and objcopy
> work fine, it might be some information in the debug
> sections?
You are absolutely correct. [How refreshing: someone who understands the
difference between insight and gdb!]
Given the language of the error message ("compilation unit header"), I
suspect your suspicions about the debug info are correct: there is an
error with gdb reading the dwarf debug info.
Your best route is to run this via the command line, take your testcase
and command line output, and bring it to the attention of the gdb folks:
gdb At sources. DoT readhat dOt com.
Good luck,
Keith