diff --git a/gdb-7.99.90.20170420.tar.bz2 b/gdb-7.99.90.20170420.tar.bz2 deleted file mode 100644 index e008f26..0000000 --- a/gdb-7.99.90.20170420.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a2d8698118e74ab3b0f770630961db92b86505b8d46672da807790f053579502 -size 28146459 diff --git a/gdb-8.0.tar.bz2 b/gdb-8.0.tar.bz2 new file mode 100644 index 0000000..5638127 --- /dev/null +++ b/gdb-8.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96a6e2e693e4b4ac9e59b2c65000100f2fc100a38f6329bc1f4e153393564471 +size 28071680 diff --git a/gdb-release-werror.patch b/gdb-release-werror.patch deleted file mode 100644 index a12bbc0..0000000 --- a/gdb-release-werror.patch +++ /dev/null @@ -1,74 +0,0 @@ -http://sourceware.org/ml/gdb-patches/2017-04/msg00593.html -Subject: [patch+8.0] release branch: Fix: --enable-werror - - ---8t9RHnE3ZwKMSgU+ -Content-Type: text/plain; charset=iso-2022-jp -Content-Disposition: inline - -Hi, - -gdb-8.0-branch -./configure --enable-werror --enable-targets=all -aarch64-tdep.c:3045:13: error: ‘void selftests::aarch64_process_record_test()’ declared ‘static’ but never defined [-Werror=unused-function] -arm-tdep.c:9601:13: error: ‘void selftests::arm_record_test()’ declared ‘static’ but never defined [-Werror=unused-function] - -OK for check-in? - -Please do not tell me release branches do not support --enable-werror as this -is due to a sourcebase bug, not due to some unexpected compiler -incompatibility. - -Sergio: Shouldn't it be also buildbot-tested? - - -Jan - ---8t9RHnE3ZwKMSgU+ -Content-Type: text/plain; charset=us-ascii -Content-Disposition: inline; filename=1 - -gdb/ChangeLog -2017-04-21 Jan Kratochvil - - * aarch64-tdep.c (selftests::aarch64_process_record_test): Make it #if - GDB_SELF_TEST. - * arm-tdep.c (selftests::arm_record_test): Likewise. - -diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c -index 28c2573..6113621 100644 ---- a/gdb/aarch64-tdep.c -+++ b/gdb/aarch64-tdep.c -@@ -3040,10 +3040,12 @@ aarch64_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file) - paddress (gdbarch, tdep->lowest_pc)); - } - -+#if GDB_SELF_TEST - namespace selftests - { - static void aarch64_process_record_test (void); - } -+#endif - - /* Suppress warning from -Wmissing-prototypes. */ - extern initialize_file_ftype _initialize_aarch64_tdep; -diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c -index c8fabfb..9ac667f 100644 ---- a/gdb/arm-tdep.c -+++ b/gdb/arm-tdep.c -@@ -9596,10 +9596,12 @@ arm_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file) - (unsigned long) tdep->lowest_pc); - } - -+#if GDB_SELF_TEST - namespace selftests - { - static void arm_record_test (void); - } -+#endif - - extern initialize_file_ftype _initialize_arm_tdep; /* -Wmissing-prototypes */ - - ---8t9RHnE3ZwKMSgU+-- - diff --git a/gdb-vla-intel-fortran-vla-strings.patch b/gdb-vla-intel-fortran-vla-strings.patch index 7c9851d..3ca0c1a 100644 --- a/gdb-vla-intel-fortran-vla-strings.patch +++ b/gdb-vla-intel-fortran-vla-strings.patch @@ -1,6 +1,9 @@ git diff --stat -p gdb/master...gdb/users/bheckel/fortran-vla-strings 0ad7d8d1a3a36c6e04e3b6d37d8825f18d595723 +entry for NEWS: + * Fortran: Support pointers to dynamic types. + gdb/NEWS | 2 + gdb/c-valprint.c | 22 +++++ gdb/dwarf2read.c | 158 +++++++++++++++++++++++++----- @@ -23,19 +26,6 @@ git diff --stat -p gdb/master...gdb/users/bheckel/fortran-vla-strings gdb/valprint.c | 6 -- 20 files changed, 827 insertions(+), 110 deletions(-) -Index: gdb-7.99.90.20170420/gdb/NEWS -=================================================================== ---- gdb-7.99.90.20170420.orig/gdb/NEWS 2017-04-20 22:27:47.076032111 +0200 -+++ gdb-7.99.90.20170420/gdb/NEWS 2017-04-20 22:27:49.946050236 +0200 -@@ -1,6 +1,8 @@ - What has changed in GDB? - (Organized release by release) - -+* Fortran: Support pointers to dynamic types. -+ - *** Changes since GDB 7.12 - - * GDB now supports access to the PKU register on GNU/Linux. The register is Index: gdb-7.99.90.20170420/gdb/c-valprint.c =================================================================== --- gdb-7.99.90.20170420.orig/gdb/c-valprint.c 2017-04-20 22:27:47.077032118 +0200 diff --git a/gdb.changes b/gdb.changes index 4a33905..9474e31 100644 --- a/gdb.changes +++ b/gdb.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Jun 6 14:37:05 UTC 2017 - matz@suse.com + +- Rebase to gdb 8.0 release: + * support for DWARF5 (except its .debug_names) + * support C++11 rvalue references + * support PKU register (memory protection keys on future Intel CPUs) + * python scripting: + - start, stop and access running btrace + - rvalue references in gdb.Type + * record/replay x86_64 rdrand and rdseed + * removed support for GCJ compiled java programs + * user commands accept more than 10 arguments + * "eval" expands user-defined command arguments + * new options: + set/show disassembler-options (on arm, ppc s390) +- Removed obsoleted patches: + gdb-release-werror.patch + ------------------------------------------------------------------- Thu Apr 27 14:39:44 UTC 2017 - matz@suse.com diff --git a/gdb.spec b/gdb.spec index fc8f6c4..5a61995 100644 --- a/gdb.spec +++ b/gdb.spec @@ -24,7 +24,7 @@ License: GPL-3.0+ and GPL-3.0-with-GCC-exception and LGPL-2.1+ and LGPL-3 Group: Development/Tools/Debuggers Name: gdb -Version: 7.99.90.20170420 +Version: 8.0 Release: 0 # The release always contains a leading reserved number, start it at 1. @@ -216,7 +216,6 @@ Patch125: gdb-tls-2of2.patch Patch126: gdb-libexec-add-index.patch Patch127: gdb-add-index-chmod.patch Patch128: gdb-rhbz1398387-tab-crash-test.patch -Patch129: gdb-release-werror.patch Patch130: gdb-testsuite-readline63-sigint.patch #Fedora Packages end @@ -516,7 +515,6 @@ find -name "*.info*"|xargs rm -f %patch126 -p1 %patch127 -p1 %patch128 -p1 -%patch129 -p1 %patch130 -p1 #Fedora patching end