This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: arm-unknown-elf-gdb doesn't load my ELF
- From: Torsten Mohr <tmohr at s dot netic dot de>
- To: gdb at sources dot redhat dot com
- Date: Fri, 21 Nov 2003 11:16:22 +0100
- Subject: Re: arm-unknown-elf-gdb doesn't load my ELF
- Organization: Qwe Inc.
- References: <200311201745.23090.tmohr@s.netic.de>
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.