summaryrefslogtreecommitdiff
path: root/package
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
parent1408b9903889a53630674f87b813b7c2d9cd78e8 (diff)
enable gdbserver for cris, checked basic usage on foxboard
Diffstat (limited to 'package')
-rw-r--r--package/gdbserver/Makefile2
-rw-r--r--package/gdbserver/patches/patch-gdb_gdbserver_linux-cris-low_c11
2 files changed, 11 insertions, 2 deletions
diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile
index e57cc44f2..e13e4ec53 100644
--- a/package/gdbserver/Makefile
+++ b/package/gdbserver/Makefile
@@ -9,8 +9,6 @@ PKG_SECTION:= debug
PKG_DEPENDS:= libthread-db
PKG_SUBPKGS:= GDBSERVER
-PKG_ARCH_DEPENDS:= !cris
-
WRKSRC= ${WRKDIST}/gdb/gdbserver
include ${TOPDIR}/mk/package.mk
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);