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: [s390*] Import upstream fix for 64->32 debugging.
Date: Sat, 27 Jun 2026 23:56:34 GMT	[thread overview]
Message-ID: <178260459405.1.182316175544050948.rpms-gdb-9b1a6425a19d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 9b1a6425a19d68a9d670bac2a4cc63b6ff9659f5
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2014-05-14T21:21:44+02:00
Stats  : +42/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/9b1a6425a19d68a9d670bac2a4cc63b6ff9659f5?branch=gdb-17.2-rebase-f44

Log:
[s390*] Import upstream fix for 64->32 debugging.

---
diff --git a/gdb-upstream.patch b/gdb-upstream.patch
index 0936e1c..6d82704 100644
--- a/gdb-upstream.patch
+++ b/gdb-upstream.patch
@@ -64,3 +64,41 @@ index b5a7e1e..462df1f 100644
 
 --u3/rZRmxL6MmkK24--
 
+
+
+commit 20dca09662aa0d2706fbe325b8f448ef74773028
+Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
+Date:   Tue May 13 14:55:53 2014 +0200
+
+    PR target/16940 S390: Fix erroneous offset in fill_gregset.
+    
+    This fixes a bug that leads to various failures when debugging a
+    31-bit inferior with a 64-bit gdb on s390x.
+    
+    Conflicts:
+    
+    	gdb/ChangeLog
+
+### a/gdb/ChangeLog
+### b/gdb/ChangeLog
+## -1,3 +1,9 @@
++2014-05-13  Andreas Arnez  <arnez@vnet.linux.ibm.com>
++
++	PR target/16940
++	* s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
++	call to regcache_raw_collect.
++
+ 2014-05-05  Joel Brobecker  <brobecker@adacore.com>
+ 
+ 	* version.in: Set GDB version number to 7.7.1.DATE-cvs.
+--- a/gdb/s390-linux-nat.c
++++ b/gdb/s390-linux-nat.c
+@@ -164,7 +164,7 @@ fill_gregset (const struct regcache *regcache, gregset_t *regp, int regno)
+ 		  memset (p, 0, 4);
+ 		  p += 4;
+ 		}
+-	      regcache_raw_collect (regcache, reg, p + 4);
++	      regcache_raw_collect (regcache, reg, p);
+ 	    }
+ 	}
+ 

diff --git a/gdb.spec b/gdb.spec
index e5e0cee..f6c4edf 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -39,7 +39,7 @@ Version: 7.7.1
 
 # 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: 12%{?dist}
+Release: 13%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain and GFDL
 Group: Development/Debuggers
@@ -1404,6 +1404,9 @@ fi
 %endif # 0%{!?el5:1} || "%{_target_cpu}" == "noarch"
 
 %changelog
+* Wed May 14 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-13.fc21
+- [s390*] Import upstream fix for 64->32 debugging.
+
 * Mon May 12 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-12.fc21
 - [s390*] Fix compilation error.
 

                 reply	other threads:[~2026-06-27 23:56 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=178260459405.1.182316175544050948.rpms-gdb-9b1a6425a19d@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