summaryrefslogtreecommitdiff
path: root/package/gdb-microblaze/patches/patch-gdb_gdbserver_configure_srv
diff options
context:
space:
mode:
Diffstat (limited to 'package/gdb-microblaze/patches/patch-gdb_gdbserver_configure_srv')
-rw-r--r--package/gdb-microblaze/patches/patch-gdb_gdbserver_configure_srv16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/gdb-microblaze/patches/patch-gdb_gdbserver_configure_srv b/package/gdb-microblaze/patches/patch-gdb_gdbserver_configure_srv
new file mode 100644
index 000000000..409bf5d75
--- /dev/null
+++ b/package/gdb-microblaze/patches/patch-gdb_gdbserver_configure_srv
@@ -0,0 +1,16 @@
+--- gdb-7.8.2.orig/gdb/gdbserver/configure.srv 2015-01-15 11:58:12.000000000 +0100
++++ gdb-7.8.2/gdb/gdbserver/configure.srv 2016-09-21 10:34:30.025222164 +0200
+@@ -198,6 +198,13 @@ case "${target}" in
+ srv_linux_usrregs=yes
+ srv_linux_thread_db=yes
+ ;;
++ microblaze*-*-linux*) srv_regobj=microblaze-linux.o
++ srv_tgtobj="$srv_linux_obj linux-microblaze-low.o"
++ srv_linux_usrregs=yes
++ srv_linux_regsets=yes
++ srv_linux_thread_db=yes
++ ;;
++
+ nios2*-*-linux*) srv_regobj="nios2-linux.o"
+ srv_tgtobj="$srv_linux_obj linux-nios2-low.o"
+ srv_xmlfiles="nios2-linux.xml"