This is the mail archive of the insight@sources.redhat.com mailing list for the Insight 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]

Re: insight-6.0: error loading an ELF (target arm-unknown-elf)


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



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