summaryrefslogtreecommitdiff
path: root/package/gdb
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-10-05 11:22:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-10-05 11:22:44 +0200
commitac7bde56d63418ece6ccb2c574730723337d845f (patch)
tree15356a17dc0fbfbcf557bb6d8a8c0f939fc84df5 /package/gdb
parent1eeb1687577e4298f969cf781a330af01d2db1ad (diff)
make firefox work again on lemote yeelong
Diffstat (limited to 'package/gdb')
-rw-r--r--package/gdb/patches/patch-gdb_common_signals_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/gdb/patches/patch-gdb_common_signals_c b/package/gdb/patches/patch-gdb_common_signals_c
new file mode 100644
index 000000000..666e37430
--- /dev/null
+++ b/package/gdb/patches/patch-gdb_common_signals_c
@@ -0,0 +1,11 @@
+--- 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"));