[ECOS] Gdb 6.7, gcc 4.2.2, redboot on arm (gba), "target remote" doesn't work.

Andrew Lunn andrew@lunn.ch
Sat Jan 12 23:04:00 GMT 2008

On Sat, Jan 12, 2008 at 11:52:34PM +0100, Paul Chavent wrote:
> Hello.
> I try to use redboot on a Game Boy Advance (arm). I use the latest release of ecos found on cvs with my own hal.
> When i try to use gdb for running the twothreads example i have the following problem in gdb :
> 8<----------------------------------------------------------
> # arm-thumb-elf-gdb twothreads
> GNU gdb 6.7.1
> Copyright (C) 2007 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-thumb-elf"...
> (gdb) set remotebaud 57600
> (gdb) set debug remote 1
> (gdb) set debug serial 1
> (gdb) target remote /dev/ttyUSB0
> Remote debugging using /dev/ttyUSB0
> Sending packet: $qSupported#37...[

The $ here should of made RedBoot drop into GDB stub mode. But it
looks like it did not happen.

Does your redboot image actually contain the GDB stub? RAM images
generally don't have a GDB stub, ROM images do. However you can
configure this either way... What is the value of


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

More information about the Ecos-discuss mailing list