Hello community, here is the log from the commit of package gdb for openSUSE:Factory checked in at 2014-07-01 07:05:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdb (Old) and /work/SRC/openSUSE:Factory/.gdb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gdb" Changes: -------- --- /work/SRC/openSUSE:Factory/gdb/gdb.changes 2014-02-15 08:13:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gdb.new/gdb.changes 2014-07-01 07:05:19.000000000 +0200 @@ -1,0 +2,23 @@ +Thu Jun 26 14:00:26 UTC 2014 - rguenther@suse.com + +- Add baselibs.conf to sources. + +------------------------------------------------------------------- +Thu Jun 26 08:59:49 UTC 2014 - rguenther@suse.com + +- For _with_testsuite require gcc-fortran, not gcc-gfortran. + [bnc#884399] + +------------------------------------------------------------------- +Wed May 14 07:43:54 UTC 2014 - rguenther@suse.com + +- Fix debugging of threaded 31bit inferiors on s390x + (gdb-7.7-bnc877566.patch). [bnc#877566] +- Add patchlist.pl and patchname_get.sh as sources. + +------------------------------------------------------------------- +Wed Feb 12 16:24:38 UTC 2014 - matz@suse.de + +- Fix build on s390 (gdb-fix-s390-build.patch). + +------------------------------------------------------------------- New: ---- gdb-7.7-bnc877566.patch gdb-fix-s390-build.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdb.spec ++++++ --- /var/tmp/diff_new_pack.3OGz5N/_old 2014-07-01 07:05:21.000000000 +0200 +++ /var/tmp/diff_new_pack.3OGz5N/_new 2014-07-01 07:05:21.000000000 +0200 @@ -82,6 +82,11 @@ # Provide gdbtui for RHEL-5 and RHEL-6 as it is removed upstream (BZ 797664). Source6: gdbtui +# Infrastructure to sync patches from the Fedora rpm +Source10: patchlist.pl +Source11: patchname_get.sh +Source12: baselibs.conf + #Fedora Packages begin Patch1: gdb-6.3-rh-testversion-20041202.patch Patch2: gdb-archer.patch @@ -195,6 +200,8 @@ Patch1002: gdb-6.6-buildid-locate-rpm-suse.patch Patch1004: gdb-ia64-tdep.patch Patch1006: gdb-ppc64le.patch +Patch1007: gdb-fix-s390-build.patch +Patch1008: gdb-7.7-bnc877566.patch BuildRequires: bison BuildRequires: flex @@ -247,7 +254,7 @@ # gcc-objc++ is not covered by the GDB testsuite. BuildRequires: gcc BuildRequires: gcc-c++ -BuildRequires: gcc-gfortran +BuildRequires: gcc-fortran BuildRequires: gcc-java BuildRequires: gcc-objc # Copied from gcc-4.1.2-32. @@ -441,6 +448,8 @@ %patch1002 -p1 %patch1004 -p1 %patch1006 -p1 +%patch1007 -p1 +%patch1008 -p1 find -name "*.orig" | xargs rm -f ! find -name "*.rej" # Should not happen. ++++++ gdb-7.7-bnc877566.patch ++++++ This fixes a bug that leads to various failures when debugging a 31-bit inferior with a 64-bit gdb on s390x. gdb/ * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in call to regcache_raw_collect. --- gdb/s390-linux-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/s390-linux-nat.c b/gdb/s390-linux-nat.c index 5c38952..45db7c9 100644 --- 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); } } -- 1.8.4.2 ++++++ gdb-fix-s390-build.patch ++++++ Index: gdb-7.7/gdb/s390-linux-nat.c =================================================================== --- gdb-7.7.orig/gdb/s390-linux-nat.c 2014-02-12 16:10:55.000000000 +0100 +++ gdb-7.7/gdb/s390-linux-nat.c 2014-02-12 16:40:33.000000000 +0100 @@ -563,7 +563,7 @@ s390_can_use_hw_breakpoint (int type, in } static int -s390_region_ok_for_hw_watchpoint (CORE_ADDR addr, int cnt) +s390_region_ok_for_hw_watchpoint (CORE_ADDR addr, LONGEST cnt) { return 1; } -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org