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,

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.

Attachment: eb01.tar.bz2
Description: application/tbz


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