summaryrefslogtreecommitdiff
path: root/package/gdbserver/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-30 21:56:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-30 21:56:00 +0100
commit0561af53ed65d2149018219985e2f64bb8b8f668 (patch)
tree21b8f27e80f1bb2b2595f59c22354c1403d47c72 /package/gdbserver/patches
parent1408b9903889a53630674f87b813b7c2d9cd78e8 (diff)
enable gdbserver for cris, checked basic usage on foxboard
Diffstat (limited to 'package/gdbserver/patches')
-rw-r--r--package/gdbserver/patches/patch-gdb_gdbserver_linux-cris-low_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/gdbserver/patches/patch-gdb_gdbserver_linux-cris-low_c b/package/gdbserver/patches/patch-gdb_gdbserver_linux-cris-low_c
new file mode 100644
index 000000000..e500d6642
--- /dev/null
+++ b/package/gdbserver/patches/patch-gdb_gdbserver_linux-cris-low_c
@@ -0,0 +1,11 @@
+--- gdb-7.1.orig/gdb/gdbserver/linux-cris-low.c
++++ gdb-7.1/gdb/gdbserver/linux-cris-low.c
+@@ -62,7 +62,7 @@
+ extern int debug_threads;
+
+ static CORE_ADDR
+-cris_get_pc (struct regcache *regcache, void)
++cris_get_pc (struct regcache *regcache)
+ {
+ unsigned long pc;
+ collect_register_by_name (regcache, "pc", &pc);