public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: [rhel6] Fix T-stopping of processes after their detachment (RH BZ 1486223).
Date: Sat, 27 Jun 2026 23:58:20 GMT	[thread overview]
Message-ID: <178260470050.1.11928941640678453225.rpms-gdb-f318b4ab7b52@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : f318b4ab7b52765f4875a12e99a575a20c27f5ee
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2017-08-30T20:44:56+02:00
Stats  : +23/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/f318b4ab7b52765f4875a12e99a575a20c27f5ee?branch=gdb-17.2-rebase-f44

Log:
[rhel6] Fix T-stopping of processes after their detachment (RH BZ 1486223).

---
diff --git a/gdb-rhbz1486223-rhel6-stop.patch b/gdb-rhbz1486223-rhel6-stop.patch
new file mode 100644
index 0000000..2b4c6f2
--- /dev/null
+++ b/gdb-rhbz1486223-rhel6-stop.patch
@@ -0,0 +1,15 @@
+https://bugzilla.redhat.com/show_bug.cgi?id=1486223
+
+diff --git a/gdb/nat/linux-procfs.c b/gdb/nat/linux-procfs.c
+index a12f6228cb..2bf496c97b 100644
+--- a/gdb/nat/linux-procfs.c
++++ b/gdb/nat/linux-procfs.c
+@@ -104,7 +104,7 @@ parse_proc_status_state (const char *state)
+       return PROC_STATE_TRACING_STOP;
+     case 'T':
+       /* Before Linux 2.6.33, tracing stop used uppercase T.  */
+-      if (strcmp (state, "T (tracing stop)") == 0)
++      if (strcmp (state, "T (tracing stop)\n") == 0)
+ 	return PROC_STATE_TRACING_STOP;
+       else
+ 	return PROC_STATE_STOPPED;

diff --git a/gdb.spec b/gdb.spec
index 14d6e4b..86e0743 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -26,7 +26,7 @@ Version: 8.0
 
 # The release always contains a leading reserved number, start it at 1.
 # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 24%{?dist}
+Release: 25%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
 Group: Development/Debuggers
@@ -726,6 +726,9 @@ Patch1242: gdb-rhbz1420304-s390x-33of35.patch
 Patch1243: gdb-rhbz1420304-s390x-34of35.patch
 Patch1244: gdb-rhbz1420304-s390x-35of35.patch
 
+# [rhel6] Fix T-stopping of processes after their detachment (RH BZ 1486223).
+Patch1254: gdb-rhbz1486223-rhel6-stop.patch
+
 %if 0%{!?rhel:1} || 0%{?rhel} > 6
 # RL_STATE_FEDORA_GDB would not be found for:
 # Patch642: gdb-readline62-ask-more-rh.patch
@@ -1133,6 +1136,7 @@ done
 %patch1152 -p1
 %patch1153 -p1
 %patch1155 -p1
+%patch1254 -p1
 
 %patch1075 -p1
 %if 0%{?rhel:1} && 0%{?rhel} <= 7
@@ -1715,6 +1719,9 @@ then
 fi
 
 %changelog
+* Wed Aug 30 2017 Jan Kratochvil <jan.kratochvil@redhat.com> - 8.0-25.fc26
+- [rhel6] Fix T-stopping of processes after their detachment (RH BZ 1486223).
+
 * Thu Aug 24 2017 Jan Kratochvil <jan.kratochvil@redhat.com> - 8.0-24.fc26
 - Backport DWARF-5 and breakpoint fixes from upstream stable branch 8.0.
 

                 reply	other threads:[~2026-06-27 23:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178260470050.1.11928941640678453225.rpms-gdb-f318b4ab7b52@fedoraproject.org \
    --to=jan.kratochvil@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox