This is the mail archive of the gdb@sources.redhat.com 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]

Re: arm-unknown-elf-gdb doesn't load my ELF


Hi,

did anybody else receive this message?

I don't think i did something obviously wrong, or did i?

The problem is that with the latest tools i can't create
and load an ELF file, as written below.


Thanks for any hints,
Torsten.



> Hi,
>
> i have a small "hello world" project for an ARM
> evaluation board.  With previous toolchains it
> worked ok, but when i try to load it now i get
> an error (filename is "main"):
>
> (gdb) file main
> Reading symbols from main...Dwarf Error: bad offset \
> (0x20206a6) in compilation unit header (offset 0x0 + 6) \
> [in module /home/tmohr/p/arm/eb01/main]
>
> what's going wrong here?
>
> I use the latest toolchain:
>
> binutils-2.14
> gcc-3.3.2
> insight-6.0
>
> The whole project is located at:
>
> http://www.s.netic.de/tmohr/eb01.tar.bz2
>
>
> I just mailed this on the insight-mailing list, but got
> the hint to rather do this on the gdb list.
>
> Is this a bug in gdb or gcc or somewhere else?
>
>
> Thanks for any hints,
> Torsten.


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