summaryrefslogtreecommitdiff
path: root/package/gdb-microblaze/patches/patch-gdb_common_signals_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-12 22:40:46 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-12 22:40:59 +0200
commitd0ac419702c94bf2d2eda50b008613bac8149745 (patch)
treec5c4631cd19aca23abf9b76abf1ecf4d50ee6f93 /package/gdb-microblaze/patches/patch-gdb_common_signals_c
parent9dcf0c59a384703891da3a65ce3df4742b5e7b4f (diff)
gdb: decouple toolchain and package, add special package for microblaze, looks cleaner to me
Diffstat (limited to 'package/gdb-microblaze/patches/patch-gdb_common_signals_c')
-rw-r--r--package/gdb-microblaze/patches/patch-gdb_common_signals_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/gdb-microblaze/patches/patch-gdb_common_signals_c b/package/gdb-microblaze/patches/patch-gdb_common_signals_c
new file mode 100644
index 000000000..114f5b867
--- /dev/null
+++ b/package/gdb-microblaze/patches/patch-gdb_common_signals_c
@@ -0,0 +1,13 @@
+* added from https://github.com/rofl0r/sabotage
+
+--- gdb-7.5.orig/gdb/common/signals.c 2012-05-24 18:51:37.000000000 +0200
++++ gdb-7.5/gdb/common/signals.c 2012-10-01 14:44:23.000000000 +0200
+@@ -346,6 +346,8 @@ gdb_signal_from_host (int hostsig)
+ else if (64 <= hostsig && hostsig <= 127)
+ return (enum gdb_signal)
+ (hostsig - 64 + (int) GDB_SIGNAL_REALTIME_64);
++ else if (hostsig == 128)
++ return GDB_SIGNAL_UNKNOWN;
+ else
+ error (_("GDB bug: target.c (gdb_signal_from_host): "
+ "unrecognized real-time signal"));