This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: RedBoot built with gcc 3.4.4
On Wed, Feb 07, 2007 at 01:43:35PM +0100, Guennadi Liakhovetski wrote:
> On Wed, 7 Feb 2007, Andrew Lunn wrote:
>
> >>$T0a0f:58ab00a0;0d:34d500a0;#0b
> >>
> >>and it keeps repeating on every ENTER. I was told that this string comes
> >>from some debugging mode, which is invoked due to some unrecognised
> >>exception.
> >
> >Correct. Use gdb and find out where it crashed. It can decode the
> >string to give you an address.
>
> Ok, a short look through eCos / RedBoot docs didn't reveal anything. Could
> you, please, give some short instructions? I used gdb also remotely, but
> with the bdi2000 stub... And never heard of such cryptic lines. How do I
> debug it? I'll try to look further.
http://ecos.sourceware.org/docs-latest/user-guide/user-guide-installation-target.html
Connect the serial port of your PC to the serial port of your device.
start gdb with the elf or redboot.
gdb redboot.elf
target remote /dev/ttyS0
bt
Andrew