arm-unknown-elf-gdb doesn't load my ELF
Torsten Mohr
tmohr@s.netic.de
Sat Nov 22 10:50:00 GMT 2003
Hi,
i just tried it again with insight+dejagnu-weekly
6.0.0.90 20031111 (in later versions ARM code
was broken anyway). I still get this error message
shown below.
Could anybody please be so kind and explain me what
it means?
At the moment i can't generate ARM code with the
latest official toolchain and load it in GDB.
Is there anything else i could try? I don't know
any further from here.
The whole project that contains the problem is
attached to this mail.
Thanks for any hints,
Torsten.
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eb01.tar.bz2
Type: application/x-tbz
Size: 14129 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb/attachments/20031122/735af1e5/attachment.bin>
More information about the Gdb
mailing list