[ECOS] redboot, eb40a and the cross-compiler

Gary Thomas gthomas@ecoscentric.com
Thu Dec 5 06:45:00 GMT 2002

On Thu, 2002-12-05 at 08:50, 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 :-)

1. disconnect your 'minicom' (or whatever terminal emulator you use)
2. arm-elf-gdb -nw <redboot-ELF-image-file>
   (gdb) set remote baud 28400
   (gdb) tar rem /dev/ttyS0          (on Linux, on Windows ??)
   (gdb) info regs
   (gdb) bt

This will connect GDB to the target board, using the device "ttyS0".
Note: your connection details may vary.  Once connected, you can
use GDB to query the board, for the contents of registers, get
a backtrace, etc.

Gary Thomas                       |
eCosCentric, Ltd.                 |  
+1 (970) 229-1963                 |  eCos & RedBoot experts
http://www.ecoscentric.com/       |
email: <gthomas@ecoscentric.com>  |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list