[Pkg-gdb-logs] [gdb] 09/11: debian/patches: drop linuxthreads_signal_handling.patch

Hector Oron zumbi at moszumanska.debian.org
Wed Dec 14 11:35:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch master
in repository gdb.

commit 57be0564844317b29858a5bd655580533e778258
Author: Héctor Orón Martínez <zumbi at debian.org>
Date:   Wed Dec 14 12:06:54 2016 +0100

    debian/patches: drop linuxthreads_signal_handling.patch
    
      The patch did not make it upstream, GNU/kFreeBSD uses fptl now which should
      deprecated linux threads.
    
    Signed-off-by: Héctor Orón Martínez <zumbi at debian.org>
---
 debian/patches/linuxthreads_signal_handling.patch | 45 -----------------------
 debian/patches/series                             |  1 -
 2 files changed, 46 deletions(-)

diff --git a/debian/patches/linuxthreads_signal_handling.patch b/debian/patches/linuxthreads_signal_handling.patch
deleted file mode 100644
index d2965d6..0000000
--- a/debian/patches/linuxthreads_signal_handling.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Description: Temporary support for LinuxThreads signal handling on GNU/kFreeBSD
-
-Author: Robert Millan <rmh at debian.org>
-Bug-Debian: http://bugs.debian.org/550361
-Bug-Debian: http://bugs.debian.org/669043
-Bug-Debian: http://bugs.debian.org/698200
-Origin: vendor, http://bugs.debian.org/669043
-
-Index: gdb/gdb/common/signals.c
-===================================================================
---- gdb.orig/gdb/common/signals.c	2016-12-12 16:57:27.818426265 +0100
-+++ gdb/gdb/common/signals.c	2016-12-12 16:57:27.814426226 +0100
-@@ -336,6 +336,15 @@
-     return GDB_SIGNAL_LIBRT;
- #endif
- 
-+#if defined(__GLIBC__) && defined(__FreeBSD_kernel__)
-+  if (hostsig == 32)
-+    return TARGET_SIGNAL_LINUXTHREADS_RESTART;
-+  if (hostsig == 33)
-+    return TARGET_SIGNAL_LINUXTHREADS_CANCEL;
-+  if (hostsig == 34)
-+    return TARGET_SIGNAL_LINUXTHREADS_DEBUG;
-+#endif
-+
- #if defined (REALTIME_LO)
-   if (hostsig >= REALTIME_LO && hostsig < REALTIME_HI)
-     {
-Index: gdb/include/gdb/signals.def
-===================================================================
---- gdb.orig/include/gdb/signals.def	2016-12-12 16:57:27.818426265 +0100
-+++ gdb/include/gdb/signals.def	2016-12-12 16:58:41.527153514 +0100
-@@ -196,7 +196,11 @@
- 
- SET (GDB_SIGNAL_LIBRT, 151, "SIGLIBRT", "librt internal signal")
- 
-+SET (TARGET_SIGNAL_LINUXTHREADS_RESTART, 152, "32", "LinuxThreads restart signal")
-+SET (TARGET_SIGNAL_LINUXTHREADS_CANCEL, 153, "33", "LinuxThreads cancel signal")
-+SET (TARGET_SIGNAL_LINUXTHREADS_DEBUG, 154, "34", "LinuxThreads debug signal")
-+
- /* If you are adding a new signal, add it just above this comment.  */
- 
- /* Last and unused enum value, for sizing arrays, etc.  */
--SET (GDB_SIGNAL_LAST, 152, NULL, "GDB_SIGNAL_LAST")
-+SET (GDB_SIGNAL_LAST, 155, NULL, "GDB_SIGNAL_LAST")
diff --git a/debian/patches/series b/debian/patches/series
index 9fa5b29..2a67f59 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,4 @@
 gdb-fortran-main.patch
-linuxthreads_signal_handling.patch
 solve_PATH_MAX_issue.patch
 gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
 python-config.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gdb/gdb.git



More information about the Pkg-gdb-logs mailing list