Rockbox mail archiveSubject: GDB remote debugging rocks!
GDB remote debugging rocks!
From: Nielsen Linus (ext) <"Nielsen>
Date: Thu, 14 Mar 2002 14:28:29 +0100
YES! YES! YES!
Take a look:
[linus_at_pc1727 stub]$ sh-elf-gdb
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=sh-elf".
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0x0900131a in ?? ()
PC=0900131a SR=000000f1 PR=0900134a MACH=00000001 MACHL=00000000
R0-R7 000012a8 09001314 09010804 00000000 09066a0e 09066a0e 09010804
R8-R15 090257e0 09059a00 00000000 090258dc 0900c980 09000494 0900e7f4
This means that I have a WORKING GDB STUB!!! At least it responds to GDB
I will try to write a small program, download it and run it, just to test
the stub some more. I just wanted to tell you all about the good news!
Prepare for some kick-ass Rockbox development!!!
--- Linus Nielsen Feltzing - linus_at_haxx.seReceived on 2002-03-14