[openwrt/openwrt] gdb: Remove MIPS NSIG patch

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 12 12:53:21 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2758e1b21c35efbc9dbf40348afb4a73d88af207

commit 2758e1b21c35efbc9dbf40348afb4a73d88af207
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Thu Oct 10 22:26:56 2024 +0200

    gdb: Remove MIPS NSIG patch
    
    This bug was fixed in the libc:
    https://sourceware.org/bugzilla/show_bug.cgi?id=14523
    https://git.busybox.net/uClibc/commit/?id=2da958760f798224065508431787e3a83b7fe2ae
    https://git.musl-libc.org/cgit/musl/commit/?id=7c440977db9444d7e6b1c3dcb1fdf4ee49ca4158
    
    Link: https://github.com/openwrt/openwrt/pull/16665
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../gdb/patches/001-gdb-pr14523-mips-signal-number.patch | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/package/devel/gdb/patches/001-gdb-pr14523-mips-signal-number.patch b/package/devel/gdb/patches/001-gdb-pr14523-mips-signal-number.patch
deleted file mode 100644
index dd6cdbdbc8..0000000000
--- a/package/devel/gdb/patches/001-gdb-pr14523-mips-signal-number.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-See http://sourceware.org/bugzilla/show_bug.cgi?id=14523
-
---- a/gdbsupport/signals.cc
-+++ b/gdbsupport/signals.cc
-@@ -347,6 +347,11 @@ 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)
-+	/* 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"));




More information about the lede-commits mailing list