This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos 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: Gdb 6.7, gcc 4.2.2, redboot on arm (gba), "target remote" doesn't work.


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
CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS?

          Andrew

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


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