Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gdb-7.6.x:

 * add patch fixing (actually workarounding) "GDB bug: target.c (gdb_signal_from_host): unrecognized real-time signal"-problem
 * refs [https://sourceware.org/bugzilla/show_bug.cgi?id=14523 gdb-bug-14523], patch taken from OpenWrt


git-svn-id: file:///var/svn/freetz/trunk@11569 149334a1-2f27-0410-a3b9-fc62619ac1e6
  • Loading branch information...
commit 22c74b53c95d989f511812cdabd982779f0b2a97 1 parent 61a4ee8
er13 authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 make/gdb/patches/7.6.2/001-gdb-pr14523-mips-signal-number.patch
View
16 make/gdb/patches/7.6.2/001-gdb-pr14523-mips-signal-number.patch
@@ -0,0 +1,16 @@
+See http://sourceware.org/bugzilla/show_bug.cgi?id=14523
+
+--- gdb/common/signals.c
++++ gdb/common/signals.c
+@@ -346,6 +346,11 @@
+ else if (64 <= hostsig && hostsig <= 127)
+ return (enum gdb_signal)
+ (hostsig - 64 + (int) GDB_SIGNAL_REALTIME_64);
++ else if (hostsig == 128)
++ /* Some platforms, such as Linux MIPS, have NSIG == 128, in which case
++ signal 128 is the highest realtime signal. There is no constant for
++ that though. */
++ return GDB_SIGNAL_UNKNOWN;
+ else
+ error (_("GDB bug: target.c (gdb_signal_from_host): "
+ "unrecognized real-time signal"));
Please sign in to comment.
Something went wrong with that request. Please try again.