This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: redboot, eb40a and the cross-compiler
On Thu, Dec 05, 2002 at 04:50:38PM +0100, Konstantin Kletschke wrote:
> On Thu, Dec 05, 2002 at 03:13:22PM +0100, Andrew Lunn wrote:
>
> > the stub telling gdb what happened and where. Connect gdb to your
> > target it it will decode this message for you.
>
> Oh Ohhhh... How does one that?
> Well, going to search the gdb how-to :-)
Start redboot and pass the elf of the redboot image you are running as
a command line parameter.
Something like
arm-elf-gdb redboot.elf
Then you need to set the serial port and speed. That goes something
like
set remotebaud <speed>
I forgotten what you said the speed was....
then
target remote com0
or
target remote /dev/ttyS0
or whatever depending on your platform.
gdb should then connect. You can do things like where, list, print etc
to find out what happened.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss