Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: 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
conditions.
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 ?? ()
(gdb) regs
PC=0900131a SR=000000f1 PR=0900134a MACH=00000001 MACHL=00000000
GBR=7ec82d5f VBR=09000000
R0-R7 000012a8 09001314 09010804 00000000 09066a0e 09066a0e 09010804
09009eac
R8-R15 090257e0 09059a00 00000000 090258dc 0900c980 09000494 0900e7f4
0900e7f4
(gdb)

This means that I have a WORKING GDB STUB!!! At least it responds to GDB
commands.
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

---
Linus Nielsen Feltzing - linus_at_haxx.se
Received on 2002-03-14

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy