Blame SOURCES/gdb-rhbz1105165-ibm-tdb-support-system-z-2of9.patch

7b26da
commit 9b44a3a57d17ea2d35823780007a38daeeaec6a4
7b26da
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
7b26da
Date:   Tue May 13 14:55:53 2014 +0200
7b26da
7b26da
    S390: Fix erroneous offset in fill_gregset.
7b26da
    
7b26da
    This fixes a bug that leads to various failures when debugging a
7b26da
    31-bit inferior with a 64-bit gdb on s390x.
7b26da
7b26da
Index: gdb-7.6.1/gdb/s390-nat.c
7b26da
===================================================================
7b26da
--- gdb-7.6.1.orig/gdb/s390-nat.c
7b26da
+++ gdb-7.6.1/gdb/s390-nat.c
7b26da
@@ -167,7 +167,7 @@ fill_gregset (const struct regcache *reg
7b26da
 		  memset (p, 0, 4);
7b26da
 		  p += 4;
7b26da
 		}
7b26da
-	      regcache_raw_collect (regcache, reg, p + 4);
7b26da
+	      regcache_raw_collect (regcache, reg, p);
7b26da
 	    }
7b26da
 	}
7b26da