- Rebase to gdb 7.11.1: minor bug fixes.

- Remove gdb-gcc6-Wparentheses-warning.patch (applied upstream).
- Add some patches from Fedora F24:
  gdb-bare-DW_TAG_lexical_block-1of2.patch
  gdb-bare-DW_TAG_lexical_block-2of2.patch
  gdb-bz1219747-attach-kills.patch
  gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
  gdb-rhbz1325795-framefilters-test.patch
  gdb-testsuite-dw2-undefined-ret-addr.patch
- Use xz instead of bzip2 as archive format.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=140
This commit is contained in:
2016-06-20 16:42:06 +00:00
committed by Git OBS Bridge
parent fd8d2b3507
commit f0a54bf7bf
15 changed files with 1159 additions and 154 deletions

View File

@@ -27,7 +27,7 @@ Name: gdb
%global snap 20130731
# See timestamp of source gnulib installed into gdb/gnulib/ .
%global snapgnulib 20121213
Version: 7.11
Version: 7.11.1
Release: 0
# The release always contains a leading reserved number, start it at 1.
@@ -36,7 +36,7 @@ Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Do not provide URL for snapshots as the file lasts there only for 2 days.
# ftp://sourceware.org/pub/gdb/releases/gdb-%{version}.tar.gz
Source: gdb-%{version}.tar.bz2
Source: gdb-%{version}.tar.xz
Url: http://gnu.org/software/gdb/
%if "%{scl}" == "devtoolset-1.1"
@@ -79,7 +79,7 @@ Source4: gdbinit
# libstdc++ pretty printers from GCC SVN HEAD (4.5 experimental).
%global libstdcxxpython gdb-libstdc++-v3-python-r225521
Source5: %{libstdcxxpython}.tar.bz2
Source5: %{libstdcxxpython}.tar.xz
# Provide gdbtui for RHEL-5 and RHEL-6 as it is removed upstream (BZ 797664).
Source6: gdbtui
@@ -200,14 +200,20 @@ Patch106: gdb-btrobust.patch
Patch107: gdb-fortran-frame-string.patch
Patch108: gdb-python-gil.patch
Patch109: gdb-jit-reader-multilib.patch
Patch110: gdb-fedora-libncursesw.patch
Patch111: gdb-opcodes-clflushopt-test.patch
Patch112: gdb-dts-rhel6-python-compat.patch
Patch113: gdb-6.6-buildid-locate-rpm-scl.patch
Patch114: gdb-readline62-ask-more-rh.patch
Patch115: gdb-6.8-attach-signalled-detach-stopped.patch
Patch116: gdb-6.8-quit-never-aborts.patch
Patch117: gdb-testsuite-readline63-sigint.patch
Patch110: gdb-bz1219747-attach-kills.patch
Patch111: gdb-fedora-libncursesw.patch
Patch112: gdb-opcodes-clflushopt-test.patch
Patch113: gdb-dts-rhel6-python-compat.patch
Patch114: gdb-6.6-buildid-locate-rpm-scl.patch
Patch115: gdb-readline62-ask-more-rh.patch
Patch116: gdb-6.8-attach-signalled-detach-stopped.patch
Patch117: gdb-6.8-quit-never-aborts.patch
Patch118: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
Patch120: gdb-testsuite-dw2-undefined-ret-addr.patch
Patch121: gdb-rhbz1325795-framefilters-test.patch
Patch122: gdb-bare-DW_TAG_lexical_block-1of2.patch
Patch123: gdb-bare-DW_TAG_lexical_block-2of2.patch
Patch124: gdb-testsuite-readline63-sigint.patch
#Fedora Packages end
# Upstream patch to fix gcc -Werror
@@ -215,7 +221,6 @@ Patch1002: gdb-6.6-buildid-locate-rpm-suse.patch
Patch1003: gdb-pahole-python2.patch
Patch1004: gdb-fix-buf-overflow.diff
Patch1005: gdb-7.10-swo18929.patch
Patch1006: gdb-gcc6-Wparentheses-warning.patch
BuildRequires: bison
BuildRequires: flex
@@ -467,10 +472,7 @@ find -name "*.info*"|xargs rm -f
%patch107 -p1
%patch108 -p1
%patch109 -p1
%if 0
# disable, openSUSE doesn't need it
%patch110 -p1
%endif
%patch111 -p1
%patch112 -p1
%patch113 -p1
@@ -478,13 +480,18 @@ find -name "*.info*"|xargs rm -f
%patch115 -p1
%patch116 -p1
%patch117 -p1
%patch118 -p1
%patch120 -p1
%patch121 -p1
%patch122 -p1
%patch123 -p1
%patch124 -p1
#Fedora patching end
%patch1002 -p1
%patch1003 -p1
%patch1004 -p1
%patch1005 -p1
%patch1006 -p1
find -name "*.orig" | xargs rm -f
! find -name "*.rej" # Should not happen.