summaryrefslogtreecommitdiff
path: root/package/gdbserver/patches/patch-gdb_gdbserver_linux-cris-low_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/gdbserver/patches/patch-gdb_gdbserver_linux-cris-low_c')
-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);