b3e4c8b
# rpmbuild parameters:
b3e4c8b
# --with testsuite: Run the testsuite (biarch if possible).  Default is without.
29ca342
# --with buildisa: Use %%{?_isa} for BuildRequires
2c55a54
# --with asan: gcc -fsanitize=address
b39dc5c
# --without python: No python support.
1bcf9b6
# --with profile: gcc -fprofile-generate / -fprofile-use: Before better
1bcf9b6
#                 workload gets run it decreases the general performance now.
3a4ee84
# --define 'scl somepkgname': Independent packages by scl-utils-build.
16ccb4d
3a4ee84
%{?scl:%scl_package gdb}
3a4ee84
%{!?scl:
3a4ee84
 %global pkg_name %{name}
3a4ee84
 %global _root_prefix %{_prefix}
fdf21a3
 %global _root_datadir %{_datadir}
29ca342
 %global _root_libdir %{_libdir}
3a4ee84
}
3a4ee84
f8eee05
Summary: A GNU source-level debugger for C, C++, Fortran, Go and other languages
3a4ee84
Name: %{?scl_prefix}gdb
16ccb4d
c3b2d52
# Freeze it when GDB gets branched
22d1e60
%global snapsrc    20160210
30f2069
# See timestamp of source gnulib installed into gdb/gnulib/ .
23f398e
%global snapgnulib 20150822
23a1427
%global tarname gdb-%{version}
46311ec
Version: 7.11
16ccb4d
aefb0e1
# The release always contains a leading reserved number, start it at 1.
5bed391
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
2e49bd4
Release: 68%{?dist}
16ccb4d
331a1f1
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain and GFDL
cvsdist c049b6a
Group: Development/Debuggers
ee681d3
# Do not provide URL for snapshots as the file lasts there only for 2 days.
ddc0fde
# ftp://sourceware.org/pub/gdb/releases/FIXME{tarname}.tar.xz
186e7e4
Source: ftp://sourceware.org/pub/gdb/releases/%{tarname}.tar.xz
8336d58
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
16ccb4d
URL: http://gnu.org/software/gdb/
cvsdist 57e65f7
ezannoni 8f6f3f7
# For our convenience
c1c430c
%global gdb_src %{tarname}
2d09ea9
%global gdb_build build-%{_target_platform}
ezannoni 8f6f3f7
cvsdist a504e75
# Make sure we get rid of the old package gdb64, now that we have unified
cvsdist a504e75
# support for 32-64 bits in one single 64-bit gdb.
cvsdist 53dd1e9
%ifarch ppc64
2d64357
Obsoletes: gdb64 < 5.3.91
cvsdist a504e75
%endif
cvsdist a504e75
55c3b84
%global have_inproctrace 0
55c3b84
%ifarch %{ix86} x86_64
55c3b84
%global have_inproctrace 1
55c3b84
%endif # %{ix86} x86_64
55c3b84
fdf21a3
# gdb-add-index cannot be run even for SCL package on RHEL<=6.
fdf21a3
%if 0%{!?rhel:1} || 0%{?rhel} > 6
1bcf9b6
# eu-strip: -g recognizes .gdb_index as a debugging section. (#631997)
1bcf9b6
Conflicts: elfutils < 0.149
fdf21a3
%endif
1bcf9b6
7cb24ad
# https://fedorahosted.org/fpc/ticket/43 https://fedorahosted.org/fpc/ticket/109
c3b2d52
Provides: bundled(libiberty) = %{snapsrc}
87ed948
Provides: bundled(gnulib) = %{snapgnulib}
c3b2d52
Provides: bundled(binutils) = %{snapsrc}
2d09ea9
# https://fedorahosted.org/fpc/ticket/130
c3b2d52
Provides: bundled(md5-gcc) = %{snapsrc}
7cb24ad
29ca342
# https://fedoraproject.org/wiki/Packaging:Guidelines#BuildRequires_and_.25.7B_isa.7D
29ca342
%global buildisa %{?_with_buildisa:%{?_isa}}
29ca342
6d1599f
%if 0%{!?rhel:1} || 0%{?rhel} > 7
e209b86
Recommends: gcc-gdb-plugin%{?_isa}
d03633a
Recommends: dnf-command(debuginfo-install)
886d770
# https://bugzilla.redhat.com/show_bug.cgi?id=1209492
886d770
Recommends: default-yama-scope
6d1599f
%endif
6d1599f
ddc0fde
%if 0%{?el6:1}
ddc0fde
%global librpmver 1
15c3af2
%else
15c3af2
# FIXME: %elif does not work.
a6321db
%if 0%{?el7:1}
a6321db
%global librpmver 3
a6321db
%else
ddc0fde
%global librpmver 7
ddc0fde
%endif
a6321db
%endif
1309eac
%if 0%{?__isa_bits} == 64
e18a36d
%global librpmname librpm.so.%{librpmver}()(64bit)
e18a36d
%else
e18a36d
%global librpmname librpm.so.%{librpmver}
e18a36d
%endif
29ca342
BuildRequires: rpm-libs%{buildisa}
29ca342
%if 0%{?_with_buildisa:1}
e18a36d
BuildRequires: %{librpmname}
29ca342
%endif
2f1c4cf
%if 0%{!?rhel:1} || 0%{?rhel} > 7
e18a36d
Recommends: %{librpmname}
2f1c4cf
%endif
ddc0fde
5bed391
# GDB patches have the format `gdb-<version>-bz<red-hat-bz-#>-<desc>.patch'.
5bed391
# They should be created using patch level 1: diff -up ./gdb (or gdb-6.3/gdb).
00cf531
1bcf9b6
#=
1bcf9b6
#push=Should be pushed upstream.
1bcf9b6
#maybepush=Should be pushed upstream unless it got obsoleted there.
1bcf9b6
#fedora=Should stay as a Fedora patch.
1bcf9b6
#fedoratest=Keep it in Fedora only as a regression test safety.
1bcf9b6
#+ppc=Specific for ppc32/ppc64/ppc*
1bcf9b6
#+work=Requires some nontrivial work.
1bcf9b6
5bed391
# Cleanup any leftover testsuite processes as it may stuck mock(1) builds.
1bcf9b6
#=push
5bed391
Source2: gdb-orphanripper.c
7bf686c
5bed391
# Man page for gstack(1).
1bcf9b6
#=push
5bed391
Source3: gdb-gstack.man
dd9987d
a56307e
# /etc/gdbinit (from Debian but with Fedora compliant location).
a56307e
#=fedora
a56307e
Source4: gdbinit
a56307e
d922349
# libstdc++ pretty printers from GCC SVN.
d922349
%global libstdcxxpython gdb-libstdc++-v3-python-r225521
d922349
Source5: %{libstdcxxpython}.tar.xz
0bba59c
9e9d7b2
# Provide gdbtui for RHEL-5 and RHEL-6 as it is removed upstream (BZ 797664).
9e9d7b2
Source6: gdbtui
9e9d7b2
00cf531
# Work around out-of-date dejagnu that does not have KFAIL
1bcf9b6
#=drop: That dejagnu is too old to be supported.
00cf531
Patch1: gdb-6.3-rh-dummykfail-20041202.patch
dd9987d
5bed391
# Match the Fedora's version info.
1bcf9b6
#=fedora
00cf531
Patch2: gdb-6.3-rh-testversion-20041202.patch
dd9987d
707dff8
# Better parse 64-bit PPC system call prologues.
1bcf9b6
#=maybepush+ppc: Write new testcase.
43873a6
Patch105: gdb-6.3-ppc64syscall-20040622.patch
707dff8
707dff8
# Include the pc's section when doing a symbol lookup so that the
707dff8
# correct symbol is found.
1bcf9b6
#=maybepush: Write new testcase.
43873a6
Patch111: gdb-6.3-ppc64displaysymbol-20041124.patch
43873a6
c78c51c
# Make upstream `set scheduler-locking step' as default.
f8eee05
#=push+work: How much is scheduler-locking relevant after non-stop?
c78c51c
Patch260: gdb-6.6-scheduler_locking-step-is-default.patch
c878e65
dd9987d
# Add a wrapper script to GDB that implements pstack using the
dd9987d
# --readnever option.
1bcf9b6
#=push+work: with gdbindex maybe --readnever should no longer be used.
434306b
Patch118: gdb-6.3-gstack-20050411.patch
dd9987d
6edd3c8
# VSYSCALL and PIE
1bcf9b6
#=fedoratest
e3c8b47
Patch122: gdb-6.3-test-pie-20050107.patch
f8eee05
#=push: May get obsoleted by Tom's unrelocated objfiles patch.
0911f37
Patch389: gdb-archer-pie-addons.patch
1bcf9b6
#=push+work: Breakpoints disabling matching should not be based on address.
0911f37
Patch394: gdb-archer-pie-addons-keep-disabled.patch
84cb84b
f5d5709
# Get selftest working with sep-debug-info
f8eee05
#=fedoratest
f5d5709
Patch125: gdb-6.3-test-self-20050110.patch
f5d5709
e5611bf
# Test support of multiple destructors just like multiple constructors
1bcf9b6
#=fedoratest
e3c8b47
Patch133: gdb-6.3-test-dtorfix-20050121.patch
e3c8b47
f1c5dfd
# Fix to support executable moving
1bcf9b6
#=fedoratest
6cc37db
Patch136: gdb-6.3-test-movedir-20050125.patch
f1c5dfd
e3c8b47
# Test sibling threads to set threaded watchpoints for x86 and x86-64
1bcf9b6
#=fedoratest
e3c8b47
Patch145: gdb-6.3-threaded-watchpoints2-20050225.patch
e3c8b47
d5a2446
# Notify observers that the inferior has been created
1bcf9b6
#=fedoratest
d5a2446
Patch161: gdb-6.3-inferior-notification-20050721.patch
d5a2446
486c3bb
# Verify printing of inherited members test
1bcf9b6
#=fedoratest
486c3bb
Patch163: gdb-6.3-inheritancetest-20050726.patch
486c3bb
658b489
# Add readnever option
1bcf9b6
#=push
658b489
Patch164: gdb-6.3-readnever-20050907.patch
658b489
a23697f
# Fix debuginfo addresses resolving for --emit-relocs Linux kernels (BZ 203661).
1bcf9b6
#=push+work: There was some mail thread about it, this patch may be a hack.
a23697f
Patch188: gdb-6.5-bz203661-emit-relocs.patch
a23697f
ba67a79
# Support TLS symbols (+`errno' suggestion if no pthread is found) (BZ 185337).
1bcf9b6
#=push+work: It should be replaced by existing uncommitted Roland's glibc patch for TLS without libpthreads.
ba67a79
Patch194: gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
ba67a79
ba67a79
# Fix TLS symbols resolving for shared libraries with a relative pathname.
ba67a79
# The testsuite needs `gdb-6.5-tls-of-separate-debuginfo.patch'.
1bcf9b6
#=fedoratest+work: One should recheck if it is really fixed upstream.
ba67a79
Patch196: gdb-6.5-sharedlibrary-path.patch
ba67a79
aefb0e1
# Testcase for deadlocking on last address space byte; for corrupted backtraces.
1bcf9b6
#=fedoratest
509b0ab
Patch211: gdb-6.5-last-address-space-byte-test.patch
5b4413e
b048379
# Improved testsuite results by the testsuite provided by the courtesy of BEA.
1bcf9b6
#=fedoratest+work: For upstream it should be rewritten as a dejagnu test, the test of no "??" was useful.
b048379
Patch208: gdb-6.5-BEA-testsuite.patch
b048379
03e2cd3
# Fix readline segfault on excessively long hand-typed lines.
1bcf9b6
#=fedoratest
b961095
Patch213: gdb-6.5-readline-long-line-crash-test.patch
03e2cd3
b961095
# Fix bogus 0x0 unwind of the thread's topmost function clone(3) (BZ 216711).
f8eee05
#=fedora
b961095
Patch214: gdb-6.5-bz216711-clone-is-outermost.patch
b961095
ee681d3
# Test sideeffects of skipping ppc .so libs trampolines (BZ 218379).
1bcf9b6
#=fedoratest
407ebe9
Patch216: gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
418be79
418be79
# Fix lockup on trampoline vs. its function lookup; unreproducible (BZ 218379).
f8eee05
#=fedora
418be79
Patch217: gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch
418be79
65bc5f9
# Find symbols properly at their original (included) file (BZ 109921).
1bcf9b6
#=fedoratest
65bc5f9
Patch225: gdb-6.5-bz109921-DW_AT_decl_file-test.patch
65bc5f9
7a31f8b
# Update PPC unwinding patches to their upstream variants (BZ 140532).
1bcf9b6
#=fedoratest+ppc
7a31f8b
Patch229: gdb-6.3-bz140532-ppc-unwinding-test.patch
4dddad4
aefb0e1
# Testcase for exec() from threaded program (BZ 202689).
1bcf9b6
#=fedoratest
aefb0e1
Patch231: gdb-6.3-bz202689-exec-from-pthread-test.patch
aefb0e1
8c4c91e
# Backported fixups post the source tarball.
e00e5ea
#Xdrop: Just backports.
b84e3d6
Patch232: gdb-upstream.patch
aefb0e1
9548cfe
# Testcase for PPC Power6/DFP instructions disassembly (BZ 230000).
1bcf9b6
#=fedoratest+ppc
9548cfe
Patch234: gdb-6.6-bz230000-power6-disassembly-test.patch
9548cfe
c804fb8
# Allow running `/usr/bin/gcore' with provided but inaccessible tty (BZ 229517).
c804fb8
#=fedoratest
c804fb8
Patch245: gdb-6.6-bz229517-gcore-without-terminal.patch
c804fb8
4b94240
# Notify user of a child forked process being detached (BZ 235197).
1bcf9b6
#=push: This is more about discussion if/what should be printed.
d50521f
Patch247: gdb-6.6-bz235197-fork-detach-info.patch
4b94240
aad703f
# Avoid too long timeouts on failing cases of "annota1.exp annota3.exp".
f8eee05
#=fedoratest
aad703f
Patch254: gdb-6.6-testsuite-timeouts.patch
aad703f
5a72cda
# Support for stepping over PPC atomic instruction sequences (BZ 237572).
1bcf9b6
#=fedoratest
5a72cda
Patch258: gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
5a72cda
5c49e68
# Test kernel VDSO decoding while attaching to an i386 process.
1bcf9b6
#=fedoratest
5c49e68
Patch263: gdb-6.3-attach-see-vdso-test.patch
5c49e68
e3c8b47
# Test leftover zombie process (BZ 243845).
1bcf9b6
#=fedoratest
e3c8b47
Patch271: gdb-6.5-bz243845-stale-testing-zombie-test.patch
e3c8b47
4e2e788
# New locating of the matching binaries from the pure core file (build-id).
1bcf9b6
#=push
4e2e788
Patch274: gdb-6.6-buildid-locate.patch
3d3c8f2
# Fix loading of core files without build-ids but with build-ids in executables.
3d3c8f2
#=push
3d3c8f2
Patch659: gdb-6.6-buildid-locate-solib-missing-ids.patch
1bcf9b6
#=push
09c22fd
Patch353: gdb-6.6-buildid-locate-rpm.patch
1bcf9b6
#=push
b469073
Patch415: gdb-6.6-buildid-locate-core-as-arg.patch
1bcf9b6
# Workaround librpm BZ 643031 due to its unexpected exit() calls (BZ 642879).
1bcf9b6
#=push
1bcf9b6
Patch519: gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
05b22fe
# [SCL] Skip deprecated .gdb_index warning for Red Hat built files (BZ 953585).
05b22fe
Patch833: gdb-6.6-buildid-locate-rpm-scl.patch
fceb2c1
# Fix 'gdb gives highly misleading error when debuginfo pkg is present,
fceb2c1
# but not corresponding binary pkg' (RH BZ 981154).
fceb2c1
Patch863: gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
4e2e788
eb9d945
# Fix displaying of numeric char arrays as strings (BZ 224128).
1bcf9b6
#=fedoratest: But it is failing anyway, one should check the behavior more.
eb9d945
Patch282: gdb-6.7-charsign-test.patch
eb9d945
b0ab3a8
# Test PPC hiding of call-volatile parameter register.
1bcf9b6
#=fedoratest+ppc
b0ab3a8
Patch284: gdb-6.7-ppc-clobbered-registers-O2-test.patch
b0ab3a8
3f52bbd
# Test ia64 memory leaks of the code using libunwind.
1bcf9b6
#=fedoratest
3f52bbd
Patch289: gdb-6.5-ia64-libunwind-leak-test.patch
3f52bbd
ed268f2
# Test hiding unexpected breakpoints on intentional step commands.
1bcf9b6
#=fedoratest
ed268f2
Patch290: gdb-6.5-missed-trap-on-step-test.patch
ed268f2
d50521f
# Support DW_TAG_interface_type the same way as DW_TAG_class_type (BZ 426600).
1bcf9b6
#=fedoratest
d50521f
Patch294: gdb-6.7-bz426600-DW_TAG_interface_type-test.patch
d50521f
3f52bbd
# Test gcore memory and time requirements for large inferiors.
1bcf9b6
#=fedoratest
3f52bbd
Patch296: gdb-6.5-gcore-buffer-limit-test.patch
3f52bbd
d945816
# Test debugging statically linked threaded inferiors (BZ 239652).
d945816
#  - It requires recent glibc to work in this case properly.
1bcf9b6
#=fedoratest
d945816
Patch298: gdb-6.6-threads-static-test.patch
d945816
ed268f2
# Test GCORE for shmid 0 shared memory mappings.
1bcf9b6
#=fedoratest: But it is broken anyway, sometimes the case being tested is not reproducible.
ed268f2
Patch309: gdb-6.3-mapping-zero-inode-test.patch
ed268f2
ed268f2
# Test a crash on `focus cmd', `focus prev' commands.
1bcf9b6
#=fedoratest
ed268f2
Patch311: gdb-6.3-focus-cmd-prev-test.patch
ed268f2
c499105
# Test various forms of threads tracking across exec() (BZ 442765).
1bcf9b6
#=fedoratest
c499105
Patch315: gdb-6.8-bz442765-threaded-exec-test.patch
c499105
e237432
# Silence memcpy check which returns false positive (sparc64)
1bcf9b6
#=push: But it is just a GCC workaround, look up the existing GCC PR for it.
e237432
Patch317: gdb-6.8-sparc64-silence-memcpy-check.patch
e237432
dd1aa7b
# Test a crash on libraries missing the .text section.
1bcf9b6
#=fedoratest
dd1aa7b
Patch320: gdb-6.5-section-num-fixup-test.patch
dd1aa7b
3a094fb
# Fix register assignments with no GDB stack frames (BZ 436037).
1bcf9b6
#=push+work: This fix is incorrect.
3a094fb
Patch330: gdb-6.8-bz436037-reg-no-longer-active.patch
3a094fb
5677fb2
# Make the GDB quit processing non-abortable to cleanup everything properly.
5677fb2
#=fedora: It was useful only after gdb-6.8-attach-signalled-detach-stopped.patch .
5677fb2
Patch331: gdb-6.8-quit-never-aborts.patch
5677fb2
e26cb4d
# [RHEL5,RHEL6] Fix attaching to stopped processes.
ccd56ac
# [RHEL5] Workaround kernel for detaching SIGSTOPped processes (BZ 809382).
e26cb4d
#=fedora
e26cb4d
Patch337: gdb-6.8-attach-signalled-detach-stopped.patch
e26cb4d
e168686
# Test the watchpoints conditionals works.
1bcf9b6
#=fedoratest
bb9a89c
Patch343: gdb-6.8-watchpoint-conditionals-test.patch
e168686
74f680b
# Fix resolving of variables at locations lists in prelinked libs (BZ 466901).
1bcf9b6
#=fedoratest
74f680b
Patch348: gdb-6.8-bz466901-backtrace-full-prelinked.patch
74f680b
e00e5ea
# The merged branch `archer-jankratochvil-fedora15' of:
e00e5ea
# http://sourceware.org/gdb/wiki/ProjectArcher
e6cdbfd
#=push+work
1592379
Patch349: gdb-archer.patch
1592379
40f8d2f
# New test for step-resume breakpoint placed in multiple threads at once.
1bcf9b6
#=fedoratest
40f8d2f
Patch381: gdb-simultaneous-step-resume-breakpoint-test.patch
40f8d2f
0911f37
# Fix GNU/Linux core open: Can't read pathname for load map: Input/output error.
a930df3
# Fix regression of undisplayed missing shared libraries caused by a fix for.
1bcf9b6
#=push+work: It should be in glibc: libc-alpha: <20091004161706.GA27450@.*>
0911f37
Patch382: gdb-core-open-vdso-warning.patch
0911f37
0911f37
# Fix syscall restarts for amd64->i386 biarch.
1bcf9b6
#=push
0911f37
Patch391: gdb-x86_64-i386-syscall-restart.patch
0911f37
0911f37
# Fix stepping with OMP parallel Fortran sections (BZ 533176).
1bcf9b6
#=push+work: It requires some better DWARF annotations.
0911f37
Patch392: gdb-bz533176-fortran-omp-step.patch
0911f37
0911f37
# Fix regression by python on ia64 due to stale current frame.
1bcf9b6
#=push
0911f37
Patch397: gdb-follow-child-stale-parent.patch
0911f37
8c4c91e
# Workaround ccache making lineno non-zero for command-line definitions.
f8eee05
#=fedoratest: ccache is rarely used and it is even fixed now.
8c4c91e
Patch403: gdb-ccache-workaround.patch
8c4c91e
8c4c91e
# Testcase for "Do not make up line information" fix by Daniel Jacobowitz.
1bcf9b6
#=fedoratest
8c4c91e
Patch407: gdb-lineno-makeup-test.patch
8c4c91e
8c4c91e
# Test power7 ppc disassembly.
1bcf9b6
#=fedoratest+ppc
8c4c91e
Patch408: gdb-ppc-power7-test.patch
8c4c91e
c874340
# Fix i386+x86_64 rwatch+awatch before run, regression against 6.8 (BZ 541866).
5752ad0
# Fix i386 rwatch+awatch before run (BZ 688788, on top of BZ 541866).
1bcf9b6
#=push+work: It should be fixed properly instead.
c874340
Patch417: gdb-bz541866-rwatch-before-run.patch
c874340
ee681d3
# Workaround non-stop moribund locations exploited by kernel utrace (BZ 590623).
1bcf9b6
#=push+work: Currently it is still not fully safe.
ee681d3
Patch459: gdb-moribund-utrace-workaround.patch
ee681d3
ee681d3
# Fix follow-exec for C++ programs (bugreported by Martin Stransky).
1bcf9b6
#=fedoratest
ee681d3
Patch470: gdb-archer-next-over-throw-cxx-exec.patch
ee681d3
ee681d3
# Backport DWARF-4 support (BZ 601887, Tom Tromey).
1bcf9b6
#=fedoratest
ee681d3
Patch475: gdb-bz601887-dwarf4-rh-test.patch
ee681d3
a174f68
# [delayed-symfile] Test a backtrace regression on CFIs without DIE (BZ 614604).
a174f68
#=fedoratest
a174f68
Patch490: gdb-test-bt-cfi-without-die.patch
a174f68
20f9f67
# Provide /usr/bin/gdb-add-index for rpm-build (Tom Tromey).
f8eee05
#=fedora: Re-check against the upstream version.
20f9f67
Patch491: gdb-gdb-add-index-script.patch
20f9f67
1bcf9b6
# Out of memory is just an error, not fatal (uninitialized VLS vars, BZ 568248).
1bcf9b6
#=drop+work: Inferior objects should be read in parts, then this patch gets obsoleted.
1bcf9b6
Patch496: gdb-bz568248-oom-is-error.patch
1bcf9b6
c804fb8
# Verify GDB Python built-in function gdb.solib_address exists (BZ # 634108).
278e869
#=fedoratest
c804fb8
Patch526: gdb-bz634108-solib_address.patch
c804fb8
278e869
# New test gdb.arch/x86_64-pid0-core.exp for kernel PID 0 cores (BZ 611435).
278e869
#=fedoratest
278e869
Patch542: gdb-test-pid0-core.patch
0b11bd2
a174f68
# [archer-tromey-delayed-symfile] New test gdb.dwarf2/dw2-aranges.exp.
e6cdbfd
#=fedoratest
a174f68
Patch547: gdb-test-dw2-aranges.patch
a174f68
a174f68
# [archer-keiths-expr-cumulative+upstream] Import C++ testcases.
e6cdbfd
#=fedoratest
a174f68
Patch548: gdb-test-expr-cumulative-archer.patch
a174f68
1cd4f38
# Toolchain on sparc is slightly broken and debuginfo files are generated
1cd4f38
# with non 64bit aligned tables/offsets.
1cd4f38
# See for example readelf -S ../Xvnc.debug.
1cd4f38
#
1cd4f38
# As a consenquence calculation of sectp->filepos as used in
1cd4f38
# dwarf2_read_section (gdb/dwarf2read.c:1525) will return a non aligned buffer
1cd4f38
# that cannot be used directly as done with MMAP.
1cd4f38
# Usage will result in a BusError.
1cd4f38
#
1cd4f38
# While we figure out what's wrong in the toolchain and do a full archive
1cd4f38
# rebuild to fix it, we need to be able to use gdb :)
e6cdbfd
#=push+work
1cd4f38
Patch579: gdb-7.2.50-sparc-add-workaround-to-broken-debug-files.patch
1cd4f38
c693444
# Work around PR libc/13097 "linux-vdso.so.1" warning message.
e6cdbfd
#=push
c693444
Patch627: gdb-glibc-vdso-workaround.patch
c693444
7218d15
# Hack for proper PIE run of the testsuite.
f8eee05
#=fedoratest
7218d15
Patch634: gdb-runtest-pie-override.patch
7218d15
2d09ea9
# Work around readline-6.2 incompatibility not asking for --more-- (BZ 701131).
ec26424
#=fedora
2d09ea9
Patch642: gdb-readline62-ask-more-rh.patch
2d09ea9
c64e732
# Print reasons for failed attach/spawn incl. SELinux deny_ptrace (BZ 786878).
c64e732
#=push
c64e732
Patch653: gdb-attach-fail-reasons-5of5.patch
c64e732
fbf39fd
# Workaround crashes from stale frame_info pointer (BZ 804256).
11eae30
#=fedora
fbf39fd
Patch661: gdb-stale-frame_info.patch
fbf39fd
3071876
# Workaround PR libc/14166 for inferior calls of strstr.
556378e
#=fedora: Compatibility with RHELs (unchecked which ones).
3071876
Patch690: gdb-glibc-strstr-workaround.patch
3071876
2b568b7
# Include testcase for `Unable to see a variable inside a module (XLF)' (BZ 823789).
2b568b7
#=fedoratest
2b568b7
#+ppc
2b568b7
Patch698: gdb-rhel5.9-testcase-xlf-var-inside-mod.patch
2b568b7
a9b4b48
# Testcase for `Setting solib-absolute-prefix breaks vDSO' (BZ 818343).
a9b4b48
#=fedoratest
a9b4b48
Patch703: gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
a9b4b48
92b52c5
# Fix `GDB cannot access struct member whose offset is larger than 256MB'
92b52c5
# (RH BZ 795424).
5677fb2
#=push+work
92b52c5
Patch811: gdb-rhbz795424-bitpos-20of25.patch
92b52c5
Patch812: gdb-rhbz795424-bitpos-21of25.patch
92b52c5
Patch813: gdb-rhbz795424-bitpos-22of25.patch
92b52c5
Patch814: gdb-rhbz795424-bitpos-23of25.patch
92b52c5
Patch816: gdb-rhbz795424-bitpos-25of25.patch
92b52c5
Patch817: gdb-rhbz795424-bitpos-25of25-test.patch
92b52c5
Patch818: gdb-rhbz795424-bitpos-lazyvalue.patch
92b52c5
9dd2140
# Import regression test for `gdb/findvar.c:417: internal-error:
9dd2140
# read_var_value: Assertion `frame' failed.' (RH BZ 947564) from RHEL 6.5.
9dd2140
#=fedoratest
9dd2140
Patch832: gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch
9dd2140
3af2cc6
# [rhel6] DTS backward Python compatibility API (BZ 1020004, Phil Muldoon).
3af2cc6
Patch848: gdb-dts-rhel6-python-compat.patch
3af2cc6
3e56442
# Fix crash of -readnow /usr/lib/debug/usr/bin/gnatbind.debug (BZ 1069211).
3e56442
Patch852: gdb-gnat-dwarf-crash-3of3.patch
3e56442
eb6cb2d
# VLA (Fortran dynamic arrays) from Intel + archer-jankratochvil-vla tests.
046f33b
Patch1058: gdb-fortran-stride-intel-1of6.patch
046f33b
Patch1059: gdb-fortran-stride-intel-2of6.patch
046f33b
Patch1060: gdb-fortran-stride-intel-3of6.patch
046f33b
Patch1061: gdb-fortran-stride-intel-4of6.patch
046f33b
Patch1062: gdb-fortran-stride-intel-5of6.patch
046f33b
Patch1063: gdb-fortran-stride-intel-6of6.patch
cec9297
Patch888: gdb-vla-intel.patch
5d84d7a
Patch983: gdb-vla-intel-logical-not.patch
191ccfb
Patch889: gdb-vla-intel-stringbt-fix.patch
2f7f533
Patch912: gdb-vla-intel-04of23-fix.patch
2f7f533
Patch887: gdb-archer-vla-tests.patch
046f33b
Patch1069: gdb-fortran-stride-intel-6of6-nokfail.patch
1119523
dd2c5ed
# Continue backtrace even if a frame filter throws an exception (Phil Muldoon).
dd2c5ed
Patch918: gdb-btrobust.patch
dd2c5ed
191ccfb
# Display Fortran strings in backtraces.
191ccfb
Patch925: gdb-fortran-frame-string.patch
a972d47
0d2fda6
# Fix Python GIL with gdb.execute("continue") (Phil Muldoon, BZ 1116957).
0d2fda6
Patch927: gdb-python-gil.patch
0d2fda6
2f7f533
# Fix jit-reader.h for multi-lib.
2f7f533
Patch978: gdb-jit-reader-multilib.patch
862e0ed
e32f96f
# Fix the pahole command breakage due to its Python3 port (RH BZ 1264532).
213ecca
Patch1044: gdb-pahole-python2.patch
e32f96f
c296a6a
# Force libncursesw over libncurses to match the includes (RH BZ 1270534).
c296a6a
Patch1056: gdb-fedora-libncursesw.patch
ebe9b7c
65adaa8
# Test clflushopt instruction decode (for RH BZ 1262471).
65adaa8
Patch1073: gdb-opcodes-clflushopt-test.patch
65adaa8
5a2431c
# [testsuite] Fix false selftest.exp FAIL from system readline-6.3+ (Patrick Palka).
5a2431c
Patch1075: gdb-testsuite-readline63-sigint.patch
dd7d988
Patch1119: gdb-testsuite-readline63-sigint-revert.patch
5a2431c
b84e3d6
# [aarch64] Fix hardware watchpoints (RH BZ 1261564).
b84e3d6
#=fedoratest
b84e3d6
Patch1113: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch 
b84e3d6
76251d6
# Fix non-stop gdb -p <container>: internal error (pedro Alves, RH BZ 1318049).
76251d6
Patch1117: gdb-rhbz1318049-gdb-p-container-internal-error.patch
76251d6
98045fb
# Add messages suggesting more recent RHEL gdbserver (RH BZ 1321114).
98045fb
Patch1118: gdb-container-rh-pkg.patch
98045fb
dd7d988
# [testsuite] Fix 7.11 regression: gdb.dwarf2/dw2-undefined-ret-addr.exp
dd7d988
Patch1120: gdb-testsuite-dw2-undefined-ret-addr.patch
dd7d988
ec26424
%if 0%{!?rhel:1} || 0%{?rhel} > 6
ec26424
# RL_STATE_FEDORA_GDB would not be found for:
ec26424
# Patch642: gdb-readline62-ask-more-rh.patch
2d09ea9
# --with-system-readline
29ca342
BuildRequires: readline-devel%{buildisa} >= 6.2-4
ec26424
%endif # 0%{!?rhel:1} || 0%{?rhel} > 6
ec26424
29ca342
BuildRequires: ncurses-devel%{buildisa} texinfo gettext flex bison
29ca342
BuildRequires: expat-devel%{buildisa}
642e08f
%if 0%{!?rhel:1} || 0%{?rhel} > 6
29ca342
BuildRequires: xz-devel%{buildisa}
642e08f
%endif
ddc0fde
# dlopen() no longer makes rpm-libsFIXME{?_isa} (it's .so) a mandatory dependency.
29ca342
BuildRequires: rpm-devel%{buildisa}
29ca342
BuildRequires: zlib-devel%{buildisa} libselinux-devel%{buildisa}
b39dc5c
%if 0%{!?_without_python:1}
cebf6f9
%if 0%{?rhel:1} && 0%{?rhel} <= 7
29ca342
BuildRequires: python-devel%{buildisa}
cebf6f9
%else
61676c0
%global __python %{__python3}
29ca342
BuildRequires: python3-devel%{buildisa}
cebf6f9
%endif
a2e5681
%if 0%{?rhel:1} && 0%{?rhel} <= 7
0bba59c
# Temporarily before python files get moved to libstdc++.rpm
0bba59c
# libstdc++%{bits_other} is not present in Koji, the .spec script generating
0bba59c
# gdb/python/libstdcxx/ also does not depend on the %{bits_other} files.
29ca342
BuildRequires: libstdc++%{buildisa}
a2e5681
%endif # 0%{?rhel:1} && 0%{?rhel} <= 7
0911f37
%endif # 0%{!?_without_python:1}
77f7352
# gdb-doc in PDF, see: https://bugzilla.redhat.com/show_bug.cgi?id=919891#c10
9aa6e1d
BuildRequires: texinfo-tex
f2d6b40
%if 0%{!?rhel:1} || 0%{?rhel} > 6
ad6c9a2
BuildRequires: texlive-collection-latexrecommended
f2d6b40
%endif
77f7352
# Permit rebuilding *.[0-9] files even if they are distributed in gdb-*.tar:
77f7352
BuildRequires: /usr/bin/pod2man
533da91
%if 0%{!?rhel:1}
29ca342
BuildRequires: libbabeltrace-devel%{buildisa}
29ca342
BuildRequires: guile-devel%{buildisa}
cebf6f9
%endif
569c63c
%global have_libipt 0
569c63c
%if 0%{!?rhel:1} || 0%{?rhel} > 7
569c63c
%ifarch %{ix86} x86_64
569c63c
%global have_libipt 1
29ca342
BuildRequires: libipt-devel%{buildisa}
569c63c
%endif
569c63c
%endif
fef19e0
b3e4c8b
%if 0%{?_with_testsuite:1}
0911f37
0911f37
# Ensure the devel libraries are installed for both multilib arches.
2d09ea9
%global bits_local %{?_isa}
2d09ea9
%global bits_other %{?_isa}
0911f37
%ifarch s390x
2d09ea9
%global bits_other (%{__isa_name}-32)
0911f37
%else #!s390x
0911f37
%ifarch ppc
2d09ea9
%global bits_other (%{__isa_name}-64)
0911f37
%else #!ppc
0911f37
%ifarch sparc64 ppc64 s390x x86_64
2d09ea9
%global bits_other (%{__isa_name}-32)
0911f37
%endif #sparc64 ppc64 s390x x86_64
0911f37
%endif #!ppc
0911f37
%endif #!s390x
0911f37
39347a6
BuildRequires: sharutils dejagnu
92dc0e1
# gcc-objc++ is not covered by the GDB testsuite.
6ca3c18
BuildRequires: gcc gcc-c++ gcc-gfortran gcc-objc
fe8a89f
%if 0%{!?rhel:1} || 0%{?rhel} > 7
b6bc0d5
BuildRequires: gcc-gdb-plugin%{?_isa}
fe8a89f
%endif
7ae270c
%if 0%{?rhel:1} && 0%{?rhel} < 7
6ca3c18
BuildRequires: gcc-java libgcj%{bits_local} libgcj%{bits_other}
7ae270c
# for gcc-java linkage:
7ae270c
BuildRequires: zlib-devel%{bits_local} zlib-devel%{bits_other}
6ca3c18
%endif
ac3dde5
%if 0%{!?rhel:1} || 0%{?rhel} > 6
fe8a89f
# These Fedoras do not yet have gcc-go built.
fe8a89f
%ifnarch ppc64le aarch64
f8eee05
BuildRequires: gcc-go
f8eee05
%endif
6e0665a
%endif
c693444
# archer-sergiodj-stap-patch-split
c693444
BuildRequires: systemtap-sdt-devel
7fe027b
%if 0%{?rhel:1} && 0%{?rhel} <= 7
7fe027b
# Copied from prelink-0.4.2-3.fc13.
7fe027b
# Prelink is not yet ported to ppc64le.
7fe027b
%ifarch %{ix86} alpha sparc sparcv9 sparc64 s390 s390x x86_64 ppc ppc64
7fe027b
# Prelink is broken on sparcv9/sparc64.
7fe027b
%ifnarch sparc sparcv9 sparc64
7fe027b
BuildRequires: prelink
7fe027b
%endif
7fe027b
%endif
7fe027b
%endif
c296a6a
%if 0%{!?rhel:1} || 0%{?rhel} > 7
c296a6a
BuildRequires: libmpx%{bits_local} libmpx%{bits_other}
22d1e60
BuildRequires: opencl-headers ocl-icd-devel%{bits_local} ocl-icd-devel%{bits_other}
c296a6a
%endif
0911f37
%if 0%{!?rhel:1}
6e0665a
# Fedora arm+ppc64le do not yet have fpc built.
6e0665a
%ifnarch %{arm} ppc64le
0911f37
BuildRequires: fpc
0911f37
%endif
11eae30
%endif
0911f37
# Copied from gcc-4.1.2-32.
b6e7beb
%ifarch %{ix86} x86_64 ppc alpha
92dc0e1
BuildRequires: gcc-gnat
0911f37
BuildRequires: libgnat%{bits_local} libgnat%{bits_other}
92dc0e1
%endif
0911f37
BuildRequires: glibc-devel%{bits_local} glibc-devel%{bits_other}
0911f37
BuildRequires: libgcc%{bits_local} libgcc%{bits_other}
2e49bd4
BuildRequires: libgfortran%{bits_local} libgfortran%{bits_other}
0911f37
# libstdc++-devel of matching bits is required only for g++ -static.
0911f37
BuildRequires: libstdc++%{bits_local} libstdc++%{bits_other}
ac3dde5
%if 0%{!?rhel:1} || 0%{?rhel} > 6
2e49bd4
BuildRequires: libquadmath%{bits_local} libquadmath%{bits_other}
fe8a89f
# These Fedoras do not yet have gcc-go built.
fe8a89f
%ifnarch ppc64le aarch64
f8eee05
BuildRequires: libgo-devel%{bits_local} libgo-devel%{bits_other}
f8eee05
%endif
6e0665a
%endif
0911f37
BuildRequires: glibc-static%{bits_local}
c5a9fdc
# multilib glibc-static is open Bug 488472:
c5a9fdc
#BuildRequires: glibc-static%{bits_other}
c5a9fdc
# Copied from valgrind-3.5.0-1.
7082135
# Valgrind is not yet ported to ppc64le.
c5a9fdc
%ifarch %{ix86} x86_64 ppc ppc64
0911f37
BuildRequires: valgrind%{bits_local} valgrind%{bits_other}
c5a9fdc
%endif
642e08f
%if 0%{!?rhel:1} || 0%{?rhel} > 6
a4cfcd8
BuildRequires: xz
642e08f
%endif
0911f37
0911f37
%endif # 0%{?_with_testsuite:1}
cvsdist 9576717
3a4ee84
%{?scl:Requires:%scl_runtime}
3a4ee84
cvsdist c049b6a
%description
cvsdist 04f7bcf
GDB, the GNU debugger, allows you to debug programs written in C, C++,
16ccb4d
Java, and other languages, by executing them in a controlled fashion
16ccb4d
and printing their data.
cvsdist c049b6a
08593f1
%package gdbserver
08593f1
Summary: A standalone server for GDB (the GNU source-level debugger)
08593f1
Group: Development/Debuggers
08593f1
08593f1
%description gdbserver
08593f1
GDB, the GNU debugger, allows you to debug programs written in C, C++,
08593f1
Java, and other languages, by executing them in a controlled fashion
08593f1
and printing their data.
08593f1
ee681d3
This package provides a program that allows you to run GDB on a different
ee681d3
machine than the one which is running the program being debugged.
08593f1
6f7687c
%package doc
6f7687c
Summary: Documentation for GDB (the GNU source-level debugger)
6b44006
License: GFDL
4d79cf2
Group: Documentation
4d79cf2
BuildArch: noarch
19dab0f
Requires(post): /sbin/install-info
19dab0f
Requires(preun): /sbin/install-info
6f7687c
6f7687c
%description doc
6f7687c
GDB, the GNU debugger, allows you to debug programs written in C, C++,
6f7687c
Java, and other languages, by executing them in a controlled fashion
6f7687c
and printing their data.
6f7687c
9aa6e1d
This package provides INFO, HTML and PDF user manual for GDB.
6f7687c
cvsdist c049b6a
%prep
3a4ee84
%setup -q -n %{gdb_src}
16ccb4d
a2e5681
%if 0%{?rhel:1} && 0%{?rhel} <= 7
8ae3364
# libstdc++ pretty printers.
d922349
tar xJf %{SOURCE5}
a2e5681
%endif # 0%{?rhel:1} && 0%{?rhel} <= 7
8ae3364
8336d58
# Files have `# <number> <file>' statements breaking VPATH / find-debuginfo.sh .
1309eac
(cd gdb;rm -fv $(perl -pe 's/\\\n/ /' 
8336d58
26b4790
# *.info* is needlessly split in the distro tar; also it would not get used as
26b4790
# we build in %{gdb_build}, just to be sure.
26b4790
find -name "*.info*"|xargs rm -f
26b4790
16ccb4d
# Apply patches defined above.
cvsdist 6f603ff
5bed391
# Match the Fedora's version info.
5bed391
%patch2 -p1
5bed391
b84e3d6
%patch232 -p1
8a98352
%patch349 -p1
046f33b
%patch1058 -p1
046f33b
%patch1059 -p1
046f33b
%patch1060 -p1
046f33b
%patch1061 -p1
046f33b
%patch1062 -p1
046f33b
%patch1063 -p1
eb6cb2d
%patch888 -p1
5d84d7a
%patch983 -p1
191ccfb
%patch889 -p1
2f7f533
%patch912 -p1
00cf531
%patch1 -p1
7bf686c
43873a6
%patch105 -p1
43873a6
%patch111 -p1
dd9987d
%patch118 -p1
e3c8b47
%patch122 -p1
f5d5709
%patch125 -p1
e3c8b47
%patch133 -p1
6cc37db
%patch136 -p1
e3c8b47
%patch145 -p1
d5a2446
%patch161 -p1
486c3bb
%patch163 -p1
658b489
%patch164 -p1
a23697f
%patch188 -p1
ba67a79
%patch194 -p1
ba67a79
%patch196 -p1
b048379
%patch208 -p1
509b0ab
%patch211 -p1
b961095
%patch213 -p1
b961095
%patch214 -p1
418be79
%patch216 -p1
418be79
%patch217 -p1
65bc5f9
%patch225 -p1
4dddad4
%patch229 -p1
aefb0e1
%patch231 -p1
9548cfe
%patch234 -p1
c804fb8
%patch245 -p1
4b94240
%patch247 -p1
aad703f
%patch254 -p1
5a72cda
%patch258 -p1
c78c51c
%patch260 -p1
5c49e68
%patch263 -p1
e3c8b47
%patch271 -p1
4e2e788
%patch274 -p1
3d3c8f2
%patch659 -p1
09c22fd
%patch353 -p1
eb9d945
%patch282 -p1
b0ab3a8
%patch284 -p1
3f52bbd
%patch289 -p1
ed268f2
%patch290 -p1
d50521f
%patch294 -p1
3f52bbd
%patch296 -p1
d945816
%patch298 -p1
ed268f2
%patch309 -p1
ed268f2
%patch311 -p1
c499105
%patch315 -p1
e237432
%patch317 -p1
dd1aa7b
%patch320 -p1
3a094fb
%patch330 -p1
e168686
%patch343 -p1
74f680b
%patch348 -p1
40f8d2f
%patch381 -p1
0911f37
%patch382 -p1
0911f37
%patch391 -p1
0911f37
%patch392 -p1
8c4c91e
%patch397 -p1
8c4c91e
%patch403 -p1
8c4c91e
%patch389 -p1
8c4c91e
%patch394 -p1
8c4c91e
%patch407 -p1
8c4c91e
%patch408 -p1
c874340
%patch417 -p1
ee681d3
%patch459 -p1
ee681d3
%patch470 -p1
ee681d3
%patch475 -p1
45f7971
%patch415 -p1
1bcf9b6
%patch519 -p1
a174f68
%patch490 -p1
20f9f67
%patch491 -p1
1bcf9b6
%patch496 -p1
c804fb8
%patch526 -p1
278e869
%patch542 -p1
a174f68
%patch547 -p1
a174f68
%patch548 -p1
09dd777
%patch579 -p1
c693444
%patch627 -p1
7218d15
%patch634 -p1
c64e732
%patch653 -p1
fbf39fd
%patch661 -p1
3071876
%patch690 -p1
2b568b7
%patch698 -p1
31a43c2
%patch703 -p1
92b52c5
%patch811 -p1
92b52c5
%patch812 -p1
92b52c5
%patch813 -p1
92b52c5
%patch814 -p1
92b52c5
%patch816 -p1
92b52c5
%patch817 -p1
92b52c5
%patch818 -p1
9dd2140
%patch832 -p1
3e56442
%patch852 -p1
fceb2c1
%patch863 -p1
eb6cb2d
%patch887 -p1
046f33b
%patch1069 -p1
dd2c5ed
%patch918 -p1
191ccfb
%patch925 -p1
0d2fda6
%patch927 -p1
2f7f533
%patch978 -p1
23f398e
%patch1056 -p1
65adaa8
%patch1073 -p1
3af2cc6
%patch848 -p1
05b22fe
%patch833 -p1
ec26424
%patch642 -p1
e26cb4d
%patch337 -p1
5677fb2
%patch331 -p1
b84e3d6
%patch1113 -p1
76251d6
%patch1117 -p1
98045fb
%patch1118 -p1
dd7d988
%patch1120 -p1
5d17353
dd7d988
%patch1075 -p1
eca6388
%if 0%{?rhel:1} && 0%{?rhel} <= 7
dd7d988
%patch1119 -p1
213ecca
%patch1044 -p1
213ecca
%endif
25ff8a1
25ff8a1
find -name "*.orig" | xargs rm -f
0911f37
! find -name "*.rej" # Should not happen.
6edd3c8
9e9d7b2
# Change the version that gets printed at GDB startup, so it is RH specific.
cvsdist d40fc7c
cat > gdb/version.in << _FOO
9e9d7b2
%if 0%{!?rhel:1}
a717e23
Fedora %{version}-%{release}
9e9d7b2
%else # !0%{!?rhel:1} 
a717e23
Red Hat Enterprise Linux %{version}-%{release}
9e9d7b2
%endif # !0%{!?rhel:1} 
cvsdist d40fc7c
_FOO
cvsdist 2574af9
16ccb4d
# Remove the info and other generated files added by the FSF release
16ccb4d
# process.
25ff8a1
rm -f libdecnumber/gstdint.h
ddc50f9
rm -f bfd/doc/*.info
ddc50f9
rm -f bfd/doc/*.info-*
cvsdist 9576717
rm -f gdb/doc/*.info
cvsdist 9576717
rm -f gdb/doc/*.info-*
cvsdist 2473bd1
ec26424
%if 0%{!?rhel:1} || 0%{?rhel} > 6
2d09ea9
# RL_STATE_FEDORA_GDB would not be found for:
2d09ea9
# Patch642: gdb-readline62-ask-more-rh.patch
2d09ea9
# --with-system-readline
2d09ea9
mv -f readline/doc readline-doc
2d09ea9
rm -rf readline/*
2d09ea9
mv -f readline-doc readline/doc
ec26424
%endif # 0%{!?rhel:1} || 0%{?rhel} > 6
2d09ea9
32f92b2
rm -rf zlib
32f92b2
cvsdist c049b6a
%build
87ed948
rm -rf %{buildroot}
cvsdist d40fc7c
29ca342
test -e %{_root_libdir}/librpm.so.%{librpmver}
29ca342
16ccb4d
# Identify the build directory with the version of gdb as well as the
16ccb4d
# architecture, to allow for mutliple versions to be installed and
16ccb4d
# built.
8336d58
# Initially we're in the %{gdb_src} directory.
16ccb4d
1bcf9b6
for fprofile in %{?_with_profile:-fprofile} ""
1bcf9b6
do
1bcf9b6
1bcf9b6
mkdir %{gdb_build}$fprofile
1bcf9b6
cd %{gdb_build}$fprofile
16ccb4d
2c55a54
export CFLAGS="$RPM_OPT_FLAGS %{?_with_asan:-fsanitize=address}"
2c55a54
export LDFLAGS="%{?__global_ldflags} %{?_with_asan:-fsanitize=address}"
535451a
c2620a4
%if 0%{!?rhel:1} || 0%{?rhel} > 7
c2620a4
CFLAGS="$CFLAGS -DDNF_DEBUGINFO_INSTALL"
c2620a4
%endif
c2620a4
46cc044
# Patch833: gdb-6.6-buildid-locate-rpm-scl.patch
46cc044
%if 0%{?el6:1} && 0%{?scl:1}
46cc044
CFLAGS="$CFLAGS -DGDB_INDEX_VERIFY_VENDOR"
46cc044
%endif
46cc044
13d2cd5
# Patch642: gdb-readline62-ask-more-rh.patch
13d2cd5
%if 0%{!?rhel:1} || 0%{?rhel} > 6
13d2cd5
CFLAGS="$CFLAGS -DNEED_RL_STATE_FEDORA_GDB"
13d2cd5
%endif
13d2cd5
5d17353
# Patch337: gdb-6.8-attach-signalled-detach-stopped.patch
5d17353
# Patch331: gdb-6.8-quit-never-aborts.patch
5d17353
%if 0%{?rhel:1} && 0%{?rhel} <= 6
5d17353
CFLAGS="$CFLAGS -DNEED_DETACH_SIGSTOP"
5d17353
%endif
5d17353
2f9bb15
# --htmldir and --pdfdir are not used as they are used from %{gdb_build}.
0911f37
../configure							\
0911f37
	--prefix=%{_prefix}					\
0911f37
	--libdir=%{_libdir}					\
0911f37
	--sysconfdir=%{_sysconfdir}				\
0911f37
	--mandir=%{_mandir}					\
0911f37
	--infodir=%{_infodir}					\
a56307e
	--with-system-gdbinit=%{_sysconfdir}/gdbinit		\
0911f37
	--with-gdb-datadir=%{_datadir}/gdb			\
0911f37
	--enable-gdb-build-warnings=,-Wno-unused		\
4eee755
%ifnarch %{ix86} alpha ppc s390 s390x x86_64 ppc64 ppc64le sparc sparcv9 sparc64 %{arm} aarch64
0911f37
	--disable-werror					\
0911f37
%else
1119523
	--enable-werror						\
5bed391
%endif
0911f37
	--with-separate-debug-dir=/usr/lib/debug		\
0911f37
	--disable-sim						\
0911f37
	--disable-rpath						\
533da91
%if 0%{!?rhel:1}
533da91
	--with-babeltrace					\
cebf6f9
	--with-guile						\
533da91
%else
533da91
	--without-babeltrace					\
cebf6f9
	--without-guile						\
533da91
%endif
cc92f09
%if 0%{!?rhel:1} || 0%{?rhel} > 6
cc92f09
	--with-system-readline					\
bd04ff0
%else
cc92f09
	--without-system-readline				\
bd04ff0
%endif
0911f37
	--with-expat						\
0911f37
$(: ppc64 host build crashes on ppc variant of libexpat.so )	\
0911f37
	--without-libexpat-prefix				\
0911f37
	--enable-tui						\
b39dc5c
%if 0%{!?_without_python:1}
61676c0
	--with-python=%{__python}				\
b39dc5c
%else
0911f37
	--without-python					\
0911f37
%endif
ddc0fde
	--with-rpm=librpm.so.%{librpmver}			\
642e08f
%if 0%{!?rhel:1} || 0%{?rhel} > 6
a4cfcd8
	--with-lzma						\
642e08f
%else
642e08f
	--without-lzma						\
642e08f
%endif
0911f37
	--without-libunwind					\
1cd4f38
%ifarch sparc sparcv9 sparc64
1cd4f38
	--without-mmap						\
1cd4f38
%endif
0911f37
	--enable-64-bit-bfd					\
55c3b84
%if %{have_inproctrace}
55c3b84
	--enable-inprocess-agent				\
bd04ff0
%else
55c3b84
	--disable-inprocess-agent				\
bd04ff0
%endif
32f92b2
	--with-system-zlib					\
569c63c
%if %{have_libipt}
569c63c
	--with-intel-pt						\
569c63c
%else
569c63c
	--without-intel-pt					\
569c63c
%endif
cec9297
	      --with-auto-load-dir='$debugdir:$datadir/auto-load%{?scl::%{_root_datadir}/gdb/auto-load}'	\
cec9297
	--with-auto-load-safe-path='$debugdir:$datadir/auto-load%{?scl::%{_root_datadir}/gdb/auto-load}'	\
1cd4f38
%ifarch sparc sparcv9
dccf7f2
	sparc-%{_vendor}-%{_target_os}%{?_gnu}
dccf7f2
%else
ff3b0d4
	--enable-targets=s390-linux-gnu,powerpc-linux-gnu,arm-linux-gnu,aarch64-linux-gnu	\
2d64357
	%{_target_platform}
dccf7f2
%endif
cvsdist c049b6a
1bcf9b6
if [ -z "%{!?_with_profile:no}" ]
1bcf9b6
then
1bcf9b6
  # Run all the configure tests being incompatible with $FPROFILE_CFLAGS.
1bcf9b6
  make %{?_smp_mflags} configure-host configure-target
1bcf9b6
  make %{?_smp_mflags} clean
1bcf9b6
1bcf9b6
  # Workaround -fprofile-use:
1bcf9b6
  # linux-x86-low.c:2225: Error: symbol `start_i386_goto' is already defined
1bcf9b6
  make %{?_smp_mflags} -C gdb/gdbserver linux-x86-low.o
1bcf9b6
fi
1bcf9b6
1bcf9b6
# Global CFLAGS would fail on:
1bcf9b6
# conftest.c:1:1: error: coverage mismatch for function 'main' while reading counter 'arcs'
1bcf9b6
if [ "$fprofile" = "-fprofile" ]
1bcf9b6
then
1bcf9b6
  FPROFILE_CFLAGS='-fprofile-generate'
1bcf9b6
elif [ -z "%{!?_with_profile:no}" ]
1bcf9b6
then
1bcf9b6
  FPROFILE_CFLAGS='-fprofile-use'
1bcf9b6
  # We cannot use -fprofile-dir as the bare filenames clash.
1bcf9b6
  (cd ../%{gdb_build}-fprofile;
1bcf9b6
   # It was 333 on x86_64.
1bcf9b6
   test $(find -name "*.gcda"|wc -l) -gt 300
1bcf9b6
   find -name "*.gcda" | while read -r i
1bcf9b6
   do
1bcf9b6
     ln $i ../%{gdb_build}/$i
1bcf9b6
   done
1bcf9b6
  )
1bcf9b6
else
1bcf9b6
  FPROFILE_CFLAGS=""
1bcf9b6
fi
1bcf9b6
a5cb59e
# Prepare gdb/config.h first.
87ed948
make %{?_smp_mflags} CFLAGS="$CFLAGS $FPROFILE_CFLAGS" LDFLAGS="$LDFLAGS $FPROFILE_CFLAGS" maybe-configure-gdb
a5cb59e
perl -i.relocatable -pe 's/^(D\[".*_RELOCATABLE"\]=" )1(")$/${1}0$2/' gdb/config.status
a5cb59e
87ed948
make %{?_smp_mflags} CFLAGS="$CFLAGS $FPROFILE_CFLAGS" LDFLAGS="$LDFLAGS $FPROFILE_CFLAGS"
1bcf9b6
a5cb59e
! grep '_RELOCATABLE.*1' gdb/config.h
01b1870
grep '^#define HAVE_LIBSELINUX 1$' gdb/config.h
01b1870
grep '^#define HAVE_SELINUX_SELINUX_H 1$' gdb/config.h
a5cb59e
1bcf9b6
if [ "$fprofile" = "-fprofile" ]
1bcf9b6
then
1bcf9b6
  cd gdb
1bcf9b6
  cp -p gdb gdb-withindex
1bcf9b6
  PATH="$PWD:$PATH" sh ../../gdb/gdb-add-index $PWD/gdb-withindex
1bcf9b6
  ./gdb -nx -ex q ./gdb-withindex
1bcf9b6
  ./gdb -nx -readnow -ex q ./gdb-withindex
1bcf9b6
  cd ..
1bcf9b6
fi
1bcf9b6
1bcf9b6
cd ..
1bcf9b6
1bcf9b6
done	# fprofile
1bcf9b6
1bcf9b6
cd %{gdb_build}
1bcf9b6
68e26e6
make %{?_smp_mflags} \
f1490f0
     -C gdb/doc {gdb,annotate}{.info,/index.html,.pdf} MAKEHTMLFLAGS=--no-split MAKEINFOFLAGS=--no-split
cvsdist 9576717
8336d58
# Copy the <sourcetree>/gdb/NEWS file to the directory above it.
8336d58
cp $RPM_BUILD_DIR/%{gdb_src}/gdb/NEWS $RPM_BUILD_DIR/%{gdb_src}
8336d58
8336d58
%check
8336d58
# Initially we're in the %{gdb_src} directory.
8336d58
cd %{gdb_build}
cvsdist 9576717
b3e4c8b
%if 0%{!?_with_testsuite:1}
b3e4c8b
echo ====================TESTSUITE DISABLED=========================
b3e4c8b
%else
cvsdist 6f603ff
echo ====================TESTING=========================
b3e4c8b
cd gdb
0911f37
gcc -o ./orphanripper %{SOURCE2} -Wall -lutil -ggdb2
7564bf3
# Need to use a single --ignore option, second use overrides first.
8336d58
# No `%{?_smp_mflags}' here as it may race.
8336d58
# WARNING: can't generate a core file - core tests suppressed - check ulimit
aad703f
# "readline-overflow.exp" - Testcase is broken, functionality is OK.
8336d58
(
8336d58
  # ULIMIT required for `gdb.base/auxv.exp'.
8336d58
  ulimit -H -c
8336d58
  ulimit -c unlimited || :
b3e4c8b
b3e4c8b
  # Setup $CHECK as `check//unix/' or `check//unix/-m64' for explicit bitsize.
3a094fb
  # Never use two different bitsizes as it fails on ppc64.
b3e4c8b
  echo 'int main (void) { return 0; }' >biarch.c
3a094fb
  CHECK=""
3a094fb
  for BI in -m64 -m32 -m31 ""
b3e4c8b
  do
3a094fb
    # Do not use size-less options if any of the sizes works.
3a094fb
    # On ia64 there is no -m64 flag while we must not leave a bare `check' here
3a094fb
    # as it would switch over some testing scripts to the backward compatibility
3a094fb
    # mode: when `make check' was executed from inside the testsuite/ directory.
3a094fb
    if [ -z "$BI" -a -n "$CHECK" ];then
3a094fb
      continue
3a094fb
    fi
3a094fb
    # Do not use $RPM_OPT_FLAGS as the other non-size options will not be used
3a094fb
    # in the real run of the testsuite.
3a094fb
    if ! gcc $BI -o biarch biarch.c
b3e4c8b
    then
3a094fb
      continue
b3e4c8b
    fi
3a094fb
    CHECK="$CHECK check//unix/$BI"
b3e4c8b
  done
3a094fb
  # Do not try -m64 inferiors for -m32 GDB as it cannot handle inferiors larger
3a094fb
  # than itself.
3a094fb
  # s390 -m31 still uses the standard ELF32 binary format.
3a094fb
  gcc $RPM_OPT_FLAGS -o biarch biarch.c
3a094fb
  RPM_SIZE="$(file ./biarch|sed -n 's/^.*: ELF \(32\|64\)-bit .*$/\1/p')"
3a094fb
  if [ "$RPM_SIZE" != "64" ]
b3e4c8b
  then
3a094fb
    CHECK="$(echo " $CHECK "|sed 's# check//unix/-m64 # #')"
b3e4c8b
  fi
b3e4c8b
b3e4c8b
  # Disable some problematic testcases.
b3e4c8b
  # RUNTESTFLAGS='--ignore ...' is not used below as it gets separated by the
b3e4c8b
  # `check//...' target spawn and too much escaping there would be dense.
b3e4c8b
  for test in				\
b3e4c8b
    gdb.base/readline-overflow.exp	\
b3e4c8b
    gdb.base/bigcore.exp		\
b3e4c8b
  ; do
b3e4c8b
    mv -f ../../gdb/testsuite/$test ../gdb/testsuite/$test-DISABLED || :
b3e4c8b
  done
b3e4c8b
2da8118
  # Run all the scheduled testsuite runs also in the PIE mode.
7218d15
  # See also: gdb-runtest-pie-override.exp
33d54d9
  ###CHECK="$(echo $CHECK|sed 's#check//unix/[^ ]*#& &/-fPIC/-pie#g')"
2da8118
5c4cedb
  ./orphanripper make %{?_smp_mflags} -k $CHECK || :
8336d58
)
b3e4c8b
for t in sum log
b3e4c8b
do
b3e4c8b
  for file in testsuite*/gdb.$t
b3e4c8b
  do
b3e4c8b
    suffix="${file#testsuite.unix.}"
b3e4c8b
    suffix="${suffix%/gdb.$t}"
b3e4c8b
    ln $file gdb-%{_target_platform}$suffix.$t || :
b3e4c8b
  done
cvsdist 39e27b3
done
8336d58
# `tar | bzip2 | uuencode' may have some piping problems in Brew.
b3e4c8b
tar cjf gdb-%{_target_platform}.tar.bz2 gdb-%{_target_platform}*.{sum,log}
8336d58
uuencode gdb-%{_target_platform}.tar.bz2 gdb-%{_target_platform}.tar.bz2
cvsdist 7c97915
cd ../..
cvsdist 6f603ff
echo ====================TESTING END=====================
cvsdist 6f603ff
%endif
cvsdist 6f603ff
cvsdist c049b6a
%install
8336d58
# Initially we're in the %{gdb_src} directory.
8336d58
cd %{gdb_build}
cvsdist c049b6a
rm -rf $RPM_BUILD_ROOT
cvsdist c049b6a
8336d58
make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT
cvsdist c049b6a
9e9d7b2
# Provide gdbtui for RHEL-5 and RHEL-6 as it is removed upstream (BZ 797664).
9e9d7b2
%if 0%{?rhel:1} && 0%{?rhel} <= 6
9e9d7b2
test ! -e $RPM_BUILD_ROOT%{_prefix}/bin/gdbtui
9e9d7b2
install -m 755 %{SOURCE6} $RPM_BUILD_ROOT%{_prefix}/bin/gdbtui
9e9d7b2
ln -sf gdb.1 $RPM_BUILD_ROOT%{_mandir}/man1/gdbtui.1
9e9d7b2
%endif # 0%{?rhel:1} && 0%{?rhel} <= 6
9e9d7b2
a56307e
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d
7cb24ad
touch -r %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d
a56307e
sed 's#%%{_sysconfdir}#%{_sysconfdir}#g' <%{SOURCE4} >$RPM_BUILD_ROOT%{_sysconfdir}/gdbinit
7cb24ad
touch -r %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit
a56307e
1bcf9b6
for i in `find $RPM_BUILD_ROOT%{_datadir}/gdb/python/gdb -name "*.py"`
1bcf9b6
do
1bcf9b6
  # Files could be also patched getting the current time.
1bcf9b6
  touch -r $RPM_BUILD_DIR/%{gdb_src}/gdb/ChangeLog $i
1bcf9b6
done
8ae3364
e81f470
%if 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1}
3000de3
mkdir -p $RPM_BUILD_ROOT/usr/lib/debug%{_bindir}
3000de3
cp -p $RPM_BUILD_DIR/%{gdb_src}/gdb/gdb-gdb.py $RPM_BUILD_ROOT/usr/lib/debug%{_bindir}/
e81f470
for pyo in "" "-O";do
e81f470
  # RHEL-5: AttributeError: 'module' object has no attribute 'compile_file'
e81f470
  python $pyo -c 'import compileall, re, sys; sys.exit (not compileall.compile_dir("'"$RPM_BUILD_ROOT/usr/lib/debug%{_bindir}"'", 1, "'"/usr/lib/debug%{_bindir}"'"))'
e81f470
done
e81f470
%endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1}
3000de3
0bba59c
%if 0%{!?_without_python:1}
a2e5681
%if 0%{!?rhel:1} || 0%{?rhel} > 6
a2e5681
# BZ 999645: /usr/share/gdb/auto-load/ needs filesystem symlinks
a2e5681
for i in $(echo bin lib $(basename %{_libdir}) sbin|tr ' ' '\n'|sort -u);do
a2e5681
  # mkdir to satisfy dangling symlinks build check.
a2e5681
  mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load/%{_root_prefix}/$i
a2e5681
  ln -s $(echo %{_root_prefix}|sed 's#^/*##')/$i \
a2e5681
        $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load/$i
a2e5681
done
a2e5681
%endif # 0%{!?rhel:1} || 0%{?rhel} > 6
a2e5681
%if 0%{?rhel:1} && 0%{?rhel} <= 7
0bba59c
# Temporarily now:
a2e5681
for LIB in $(echo lib $(basename %{_libdir})|tr ' ' '\n'|sort -u);do
3a4ee84
  LIBPATH="$RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{_root_prefix}/$LIB"
0bba59c
  mkdir -p $LIBPATH
0bba59c
  # basename is being run only for the native (non-biarch) file.
0bba59c
  sed -e 's,@pythondir@,%{_datadir}/gdb/python,'		\
3a4ee84
      -e 's,@toolexeclibdir@,%{_root_prefix}/'"$LIB,"		\
0bba59c
      < $RPM_BUILD_DIR/%{gdb_src}/%{libstdcxxpython}/hook.in	\
3a4ee84
      > $LIBPATH/$(basename %{_root_prefix}/%{_lib}/libstdc++.so.6.*)-gdb.py
3a4ee84
  # Test the filename 'libstdc++.so.6.*' has matched.
3a4ee84
  test -f $LIBPATH/libstdc++.so.6.[0-9]*-gdb.py
0bba59c
done
0bba59c
test ! -e $RPM_BUILD_ROOT%{_datadir}/gdb/python/libstdcxx
0bba59c
cp -a $RPM_BUILD_DIR/%{gdb_src}/%{libstdcxxpython}/libstdcxx	\
0bba59c
      $RPM_BUILD_ROOT%{_datadir}/gdb/python/libstdcxx
a2e5681
%endif # 0%{?rhel:1} && 0%{?rhel} <= 7
b472cba
for i in `find $RPM_BUILD_ROOT%{_datadir}/gdb -name "*.py"`; do
b472cba
  # Files are installed by install(1) not preserving the timestamps.
b472cba
  touch -r $RPM_BUILD_DIR/%{gdb_src}/gdb/ChangeLog $i
b472cba
done
0bba59c
%endif # 0%{!?_without_python:1}
0bba59c
fdf21a3
# gdb-add-index cannot be run even for SCL package on RHEL<=6.
fdf21a3
%if 0%{?rhel:1} && 0%{?rhel} <= 6
3a4ee84
rm -f $RPM_BUILD_ROOT%{_bindir}/gdb-add-index
3af2cc6
rm -f $RPM_BUILD_ROOT%{_mandir}/*/gdb-add-index.1*
fdf21a3
%endif
3a4ee84
cvsdist 6f603ff
# Remove the files that are part of a gdb build but that are owned and
cvsdist 6f603ff
# provided by other packages.
cvsdist 6f603ff
# These are part of binutils
cvsdist c049b6a
9b2688b
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/
9b2688b
rm -f $RPM_BUILD_ROOT%{_infodir}/bfd*
cvsdist 93462a8
rm -f $RPM_BUILD_ROOT%{_infodir}/standard*
cvsdist 6f603ff
rm -f $RPM_BUILD_ROOT%{_infodir}/configure*
77c099e
# Just exclude the header files in the top directory, and don't exclude
77c099e
# the gdb/ directory, as it contains jit-reader.h.
77c099e
rm -rf $RPM_BUILD_ROOT%{_includedir}/*.h
1c8cc3b
rm -rf $RPM_BUILD_ROOT/%{_libdir}/lib{bfd*,opcodes*,iberty*}
cvsdist c049b6a
08593f1
# pstack obsoletion
08593f1
08593f1
cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man1/gstack.1
29e1388
ln -s gstack.1 $RPM_BUILD_ROOT%{_mandir}/man1/pstack.1
08593f1
ln -s gstack $RPM_BUILD_ROOT%{_bindir}/pstack
08593f1
14982af
# Packaged GDB is not a cross-target one.
14982af
(cd $RPM_BUILD_ROOT%{_datadir}/gdb/syscalls
14982af
 rm -f mips*.xml
14982af
%ifnarch sparc sparcv9 sparc64
14982af
 rm -f sparc*.xml
14982af
%endif
14982af
%ifnarch x86_64
14982af
 rm -f amd64-linux.xml
14982af
%endif
14982af
%ifnarch %{ix86} x86_64
14982af
 rm -f i386-linux.xml
14982af
%endif
14982af
)
14982af
68e26e6
# Documentation only for development.
1c8cc3b
rm -f $RPM_BUILD_ROOT%{_infodir}/gdbint*
1c8cc3b
rm -f $RPM_BUILD_ROOT%{_infodir}/stabs*
1c8cc3b
1c8cc3b
# Delete this too because the dir file will be updated at rpm install time.
1c8cc3b
# We don't want a gdb specific one overwriting the system wide one.
1c8cc3b
1c8cc3b
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1c8cc3b
cebf6f9
%if 0%{?rhel:1}
cebf6f9
# /usr/share/gdb/guile/ gets installed even --without-guile
cebf6f9
# https://sourceware.org/bugzilla/show_bug.cgi?id=17105
cebf6f9
rm -rf $RPM_BUILD_ROOT%{_datadir}/gdb/guile
cebf6f9
%endif
cebf6f9
b73009e
# These files are unrelated to Fedora Linux.
b73009e
rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/system-gdbinit/elinos.py
b73009e
rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/system-gdbinit/wrs-linux.py
b73009e
rmdir $RPM_BUILD_ROOT%{_datadir}/gdb/system-gdbinit
b73009e
a4961b9
# Patch848: gdb-dts-rhel6-python-compat.patch
a4961b9
%if 0%{!?el6:1}
a4961b9
rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/python/gdb/FrameWrapper.py
a4961b9
rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/python/gdb/backtrace.py
a4961b9
rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/python/gdb/command/backtrace.py
a4961b9
%endif
a4961b9
cvsdist c049b6a
%clean
cvsdist c049b6a
rm -rf $RPM_BUILD_ROOT
cvsdist c049b6a
cvsdist c049b6a
%files
cvsdist c049b6a
%defattr(-,root,root)
ee681d3
%doc COPYING3 COPYING COPYING.LIB README NEWS
08593f1
%{_bindir}/gcore
08593f1
%{_bindir}/gdb
7cb24ad
%config(noreplace) %{_sysconfdir}/gdbinit
a56307e
%{_sysconfdir}/gdbinit.d
ac3dde5
%{_mandir}/*/gdbinit.5*
08593f1
%{_mandir}/*/gdb.1*
cf0b61a
%{_mandir}/*/gcore.1*
3af2cc6
# gdb-add-index cannot be run even for SCL package on RHEL<=6.
3af2cc6
%if 0%{!?rhel:1} || 0%{?rhel} > 6
cf0b61a
%{_mandir}/*/gdb-add-index.1*
3af2cc6
%endif
338fe93
%{_bindir}/gstack
08593f1
%{_mandir}/*/gstack.1*
9e9d7b2
# Provide gdbtui for RHEL-5 and RHEL-6 as it is removed upstream (BZ 797664).
9e9d7b2
%if 0%{?rhel:1} && 0%{?rhel} <= 6
9e9d7b2
%{_bindir}/gdbtui
9e9d7b2
%{_mandir}/*/gdbtui.1*
9e9d7b2
%endif # 0%{?rhel:1} && 0%{?rhel} <= 6
fdf21a3
# gdb-add-index cannot be run even for SCL package on RHEL<=6.
fdf21a3
%if 0%{!?rhel:1} || 0%{?rhel} > 6
0bba59c
%{_bindir}/gdb-add-index
fdf21a3
%endif
0911f37
%{_bindir}/pstack
08593f1
%{_mandir}/*/pstack.1*
e93d347
%{_datadir}/gdb
2f7f533
# Provide gdb/jit-reader.h so that users are able to write their own GDB JIT
77c099e
# plugins.
2f7f533
%{_includedir}/gdb
cvsdist c049b6a
cvsdist c049b6a
# don't include the files in include, they are part of binutils
cvsdist c049b6a
1cd4f38
%ifnarch sparc sparcv9
08593f1
%files gdbserver
0911f37
%defattr(-,root,root)
08593f1
%{_bindir}/gdbserver
08593f1
%{_mandir}/*/gdbserver.1*
55c3b84
%if %{have_inproctrace}
dd46ae6
%{_libdir}/libinproctrace.so
55c3b84
%endif # %{have_inproctrace}
1bcf9b6
%endif
08593f1
3af2cc6
%if 0%{!?_without_python:1}
3af2cc6
# [rhel] Do not migrate /usr/share/gdb/auto-load/ with symlinks on RHELs.
3af2cc6
%if 0%{!?rhel:1}
a97ee30
%pre
a97ee30
for i in $(echo bin lib $(basename %{_libdir}) sbin|tr ' ' '\n'|sort -u);do
a97ee30
  src="%{_datadir}/gdb/auto-load/$i"
a97ee30
  dst="%{_datadir}/gdb/auto-load/%{_root_prefix}/$i"
a97ee30
  if test -d $src -a ! -L $src;then
a97ee30
    if ! rmdir 2>/dev/null $src;then
a97ee30
      mv -n $src/* $dst/
a97ee30
      rmdir $src
a97ee30
    fi
a97ee30
  fi
a97ee30
done
3af2cc6
%endif # 0%{!?rhel:1}
3af2cc6
%endif # 0%{!?_without_python:1}
a97ee30
6f7687c
%files doc
f1490f0
%doc %{gdb_build}/gdb/doc/{gdb,annotate}.{html,pdf}
6f7687c
%defattr(-,root,root)
6f7687c
%{_infodir}/annotate.info*
6f7687c
%{_infodir}/gdb.info*
6f7687c
9fd1256
%post doc
9fd1256
# This step is part of the installation of the RPM. Not to be confused
9fd1256
# with the 'make install ' of the build (rpmbuild) process.
9fd1256
9fd1256
# For --excludedocs:
9fd1256
if [ -e %{_infodir}/gdb.info.gz ]
9fd1256
then
9fd1256
  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
9fd1256
  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
9fd1256
fi
9fd1256
9fd1256
%preun doc
9fd1256
if [ $1 = 0 ]
9fd1256
then
9fd1256
  # For --excludedocs:
9fd1256
  if [ -e %{_infodir}/gdb.info.gz ]
9fd1256
  then
9fd1256
    /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
9fd1256
    /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
9fd1256
  fi
9fd1256
fi
9fd1256
cvsdist c049b6a
%changelog
2e49bd4
* Fri Apr  8 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-68.fc24
2e49bd4
- [--with testsuite] Add two more BuildRequires.
2e49bd4
dd7d988
* Fri Apr  8 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-67.fc24
dd7d988
- [testsuite] Fix several false FAILs.
dd7d988
bd0820f
* Wed Apr  6 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-66.fc24
bd0820f
- Import upstream 7.11 branch stable fixes.
bd0820f
98045fb
* Wed Apr  6 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-65.fc24
98045fb
- Add messages suggesting more recent RHEL gdbserver (RH BZ 1321114).
98045fb
76251d6
* Wed Apr  6 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-64.fc24
98045fb
- Fix non-stop gdb -p <container>: internal error (Pedro Alves, RH BZ 1318049).
76251d6
c0cbb1a
* Sat Mar 19 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-63.fc24
c0cbb1a
- .spec cleanup: Drop strict-aliasing GCC bug workaround (from RH BZ 1315191).
c0cbb1a
4dd46aa
* Fri Mar 18 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-62.fc24
4dd46aa
- .spec cleanup: Drop SCL obsoletes of devtoolset-1.1*: *-1.0*
4dd46aa
04d3aef
* Thu Mar 17 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-61.fc24
04d3aef
- Add message suggesting gdbserver for non-matching PID namespaces.
04d3aef
b84e3d6
* Tue Mar 15 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-60.fc24
b84e3d6
- New Fedora GDB testfile: rhbz1261564-aarch64-watchpoint.exp
b84e3d6
- Backport gdb-7.11 stable branch PR gdb/19676 fix (Pedro Alves).
b84e3d6
01264be
* Tue Mar  8 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-59.fc24
01264be
- Fix strict-aliasing rules compilation error (RH BZ 1315191).
01264be
fdbd5e3
* Fri Feb 26 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-58.fc24
fdbd5e3
- Rebase VLA (Fortran dynamic arrays) strides (multi-dim. subarrays) from Intel.
fdbd5e3
09aea42
* Thu Feb 25 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-57.fc24
09aea42
- Release bump only.
09aea42
1ed22de
* Wed Feb 24 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-56.fc24
1ed22de
- Release bump only.
1ed22de
46311ec
* Wed Feb 24 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.11-55.fc24
46311ec
- Rebase to released FSF GDB 7.11.
46311ec
32b1677
* Tue Feb 16 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.90.20160216-54.fc24
32b1677
- Rebase to FSF GDB 7.10.90.20160216 (pre-7.11 branch snapshot).
32b1677
22d1e60
* Tue Feb 16 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.90.20160211-53.fc24
22d1e60
- Drop gdb-testsuite-subdirs-revert.patch.
22d1e60
c4c35c2
* Sat Feb 13 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.90.20160211-52.fc24
c4c35c2
- Rebase to FSF GDB 7.10.90.20160211 (pre-7.11 branch snapshot).
c4c35c2
c4c35c2
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.10.50.20160131-51.fc24
7759e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7759e5b
92913c3
* Sun Jan 31 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160131-50.fc24
92913c3
- Rebase to FSF GDB 7.10.50.20160131 (trunk snapshot).
92913c3
2e59793
* Sun Jan 31 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160121-49.fc24
2e59793
- Fix another false gcc6 compilation warning (Mark Wielaard).
2e59793
4f25571
* Sun Jan 31 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160121-48.fc24
4f25571
- Fix false gcc6 compilation warning for: bfd/elf64-s390.c
4f25571
5a2431c
* Sun Jan 31 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160121-47.fc24
5a2431c
- [testsuite] Fix false selftest.exp FAIL from system readline-6.3+ (Patrick Palka).
5a2431c
3a8cee8
* Fri Jan 22 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160121-46.fc24
3a8cee8
- Fix gdb.gdb/selftest.exp false FAIL.
3a8cee8
c16b445
* Fri Jan 22 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160121-45.fc24
c16b445
- Rebase to FSF GDB 7.10.50.20160121 (trunk snapshot).
c16b445
6f06b1f
* Wed Jan 20 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-44.fc24
6f06b1f
- Suppress librpm non-absolute filename warnings for /^remote:/ filenames.
6f06b1f
65adaa8
* Sat Jan 16 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-43.fc24
65adaa8
- Test clflushopt instruction decode (for RH BZ 1262471).
65adaa8
eca6388
* Sat Jan  9 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-42.fc24
eca6388
- Simplify .spec: Remove conditional revert of: gdb-pahole-python2.patch
eca6388
5d17353
* Sat Jan  9 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-41.fc24
5d17353
- Simplify .spec: Remove conditional revert of: gdb-6.8-attach-signalled-detach-stopped.patch
5d17353
- Simplify .spec: Remove conditional revert of: gdb-6.8-quit-never-aborts.patch
5d17353
ccd56ac
* Sat Jan  9 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-40.fc24
ccd56ac
- Merge gdb-rhel5-compat.patch into: gdb-6.8-attach-signalled-detach-stopped.patch
ccd56ac
13d2cd5
* Sat Jan  9 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-39.fc24
13d2cd5
- Simplify .spec: Remove conditional revert of: gdb-readline62-ask-more-rh.patch
13d2cd5
46cc044
* Sat Jan  9 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-38.fc24
46cc044
- Simplify .spec: Remove conditional revert of: gdb-6.6-buildid-locate-rpm-scl.patch
46cc044
a4961b9
* Sat Jan  9 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-37.fc24
a4961b9
- Simplify .spec: Remove conditional revert of: gdb-dts-rhel6-python-compat.patch
a4961b9
046f33b
* Sat Jan  9 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-36.fc24
046f33b
- VLA (Fortran dynamic arrays) strides (multi-dimensional subarrays) from Intel.
046f33b
4800a9b
* Fri Jan  8 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-35.fc24
4800a9b
- Fix false FAILs on too long base directory.
4800a9b
2116e53
* Fri Jan  8 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160106-34.fc24
2116e53
- Rebase to FSF GDB 7.10.50.20160106 (trunk snapshot).
2116e53
c296a6a
* Sat Nov 14 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20151113-33.fc24
c296a6a
- Rebase to FSF GDB 7.10.50.20151113 (trunk snapshot).
c296a6a
- [testsuite] BuildRequire libmpx for --with testsuite.
c296a6a
- Force libncursesw over libncurses to match the includes (RH BZ 1270534).
c296a6a
c296a6a
* Thu Nov 12 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.10.50.20151027-32.fc24
07b8587
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
07b8587
41e6c20
* Sun Nov  8 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20151027-31.fc24
41e6c20
- [aarch64] Fix build regression (RH BZ 1278902, bugreport by Peter Robinson).
41e6c20
23f398e
* Tue Nov  3 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20151027-30.fc24
23f398e
- Rebase to FSF GDB 7.10.50.20151027 (trunk snapshot).
23f398e
ebe9b7c
* Mon Oct 12 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-29.fc23
ebe9b7c
- Fix internal error on DW_OP_bregx(-1) (RH BZ 1270564).
ebe9b7c
29ca342
* Mon Sep 28 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-28.fc23
29ca342
- Add --with buildisa, remove %%{?_isa} from BuildRequires by default:
29ca342
  https://github.com/msimacek/koschei/issues/54
29ca342
213ecca
* Thu Sep 24 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-27.fc23
213ecca
- [rhel6,rhel7] Keep pahole.py and make it Python2 compatible.
213ecca
a2e5681
* Wed Sep 23 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-26.fc23
a2e5681
- [rhel7] Provide libstdc++-v3-python with C++11 even on RHEL-7 (RH BZ 1239290).
a2e5681
- Do not provide libstdc++-v3-python lib64 files on 32-bit archs.
a2e5681
- [rhel6,rhel7] Delete pahole.py on Python2 systems.
a2e5681
a2e5681
* Wed Sep 23 2015 Robert Kuska <rkuska@redhat.com> - 7.10-25.fc23
Robert Kuska ac7f216
- Python3.5 Rebuild: Rebuild wit python3 support 
Robert Kuska ac7f216
a2e5681
* Wed Sep 23 2015 Robert Kuska <rkuska@redhat.com> - 7.10-24.fc23
Robert Kuska 99387a5
- Python3.5 Rebuild: Rebuild without python3 support 
Robert Kuska 99387a5
e32f96f
* Fri Sep 18 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-23.fc23
e32f96f
- Fix the pahole command breakage due to its Python3 port (RH BZ 1264532).
e32f96f
44ca5e4
* Sun Sep 13 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-22.fc23
44ca5e4
- Fix gstack to use gdb from $PATH (bugreport by Frank Hirtz, RH BZ 1262589).
44ca5e4
fe8a89f
* Fri Sep 11 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-21.fc23
fe8a89f
- [testsuite] Fix gcc-gdb-plugin and gcc-go BuildRequires for --with testsuite.
fe8a89f
276edb8
* Thu Sep 10 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-20.fc23
276edb8
- [ppc64le] Use skip_entrypoint for skip_trampoline_code (RH BZ 1260558).
276edb8
a6321db
* Thu Sep 10 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-19.fc23
a6321db
- Add changelog entry and fix librpm dependency broken by Peter Robinson.
a6321db
569c63c
* Thu Sep  3 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-18.fc23
569c63c
- Enable libipt (Intel Processor Trace Decoder Library).
569c63c
1c82289
* Wed Sep  2 2015 Sergio Durigan Junior <sergiodj@redhat.com> - 7.10-17.fc23
1c82289
- Fix 'Make the probes-based dynamic linker interface more robust to
1c82289
  errors' (Sergio Durigan Junior, RH BZ 1259132).
1c82289
2f1c4cf
* Tue Sep  1 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-16.fc23
2f1c4cf
- [RHEL] Fix librpm Recommends compatibility.
2f1c4cf
23a1427
* Sat Aug 29 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-15.fc23
23a1427
- Rebase to FSF GDB 7.10 final.
23a1427
7fe027b
* Sat Aug 22 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-14.fc23
7fe027b
- Re-enable --with testsuite BuildRequires: prelink for RHELs.
7fe027b
1dfcf42
* Sat Aug 22 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10-13.fc23
1dfcf42
- Rebase to FSF GDB 7.9.90.20150822 (7.10 branch snapshot).
1dfcf42
- Remove --with testsuite BuildRequires: prelink (prelink is orphaned in F-23+).
1dfcf42
886d770
* Thu Aug  6 2015 Sergio Durigan Junior <sergiodj@redhat.com> - 7.9.90.20150717-12.fc23
886d770
- Add "Recommends: default-yama-scope" (for RH BZ 1209492).
886d770
15c3af2
* Thu Aug  6 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.90.20150717-11.fc23
15c3af2
- Fix librpm version for f23.
15c3af2
1309eac
* Sun Aug  2 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.90.20150717-10.fc23
1309eac
- Fix unpackaged d-exp.c source for the debuginfo rpm.
1309eac
- Fix librpm version dependency Koji build failure (for RH BZ 1249325).
1309eac
e18a36d
* Sun Aug  2 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.90.20150717-9.fc23
e18a36d
- Fix librpm version dependency (for RH BZ 1249325, from Igor Gnatenko).
e18a36d
ddc0fde
* Sat Aug  1 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.90.20150717-8.fc23
ddc0fde
- Fix librpm version 3->7 for Rawhide
ddc0fde
  (RH BZ 1249325, bugreport by Zbigniew Jędrzejewski-Szmek).
ddc0fde
- Fix yum vs. dnf message suggestion for Rawhide
ddc0fde
  (RH BZ 1249326, bugreport by Zbigniew Jędrzejewski-Szmek).
ddc0fde
90127c9
* Fri Jul 17 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.90.20150717-7.fc23
90127c9
- Rebase to FSF GDB 7.9.90.20150717 (7.10 branch snapshot).
90127c9
ae96b4a
* Fri Jul 10 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.90.20150709-6.fc23
ae96b4a
- Rebase to FSF GDB 7.9.90.20150709 (7.10 branch snapshot).
ae96b4a
d922349
* Tue Jul  7 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.50.20150531-5.fc23
d922349
- Upgrade libstdc++-v3-python to r225521 (RH BZ 1239290).
d922349
cebf6f9
* Thu Jul  2 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.50.20150531-4.fc23
cebf6f9
- [RHEL] Use Python2, disable Guile.
cebf6f9
8078079
* Fri Jun 26 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.50.20150531-3.fc23
8078079
- Fix 'info type-printers' Python error (Clem Dickey, RH BZ 1085576).
8078079
a688fb8
* Tue Jun 16 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.50.20150531-2.fc23
a688fb8
- Fix enum e e 'Attempt to use a type name as an expr.' (Keith Seitz, PR 16253).
a688fb8
32f92b2
* Sun May 31 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.50.20150531-1.fc23
32f92b2
- Rebase to FSF GDB 7.9.50.20150531 (pre-7.10 trunk snapshot).
32f92b2
19dab0f
* Fri May 15 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.1-14.fc22
19dab0f
- Fix ignored Requires for gdb-doc (RH BZ 1221814).
19dab0f
d03633a
* Thu May 14 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.1-13.fc22
d03633a
- Change 'Recommends: dnf-plugins-core' to 'dnf-command(debuginfo-install)'.
d03633a
6d1599f
* Wed May 13 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9.1-12.fc22
6d1599f
- Rebase to FSF GDB 7.9.1 (7.9 stable branch).
6d1599f
- Add 'Recommends: dnf-plugins-core' for 'dnf debuginfo-install'.
6d1599f
c2620a4
* Thu Apr  2 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9-11.fc22
c2620a4
- Suggest s/debuginfo-install/dnf debuginfo-install/ (BZ 1208650, Omair Majid).
c2620a4
186e7e4
* Sun Feb 22 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.9-10.fc22
186e7e4
- Rebase to the final 7.9 release.
186e7e4
e209b86
* Sun Feb 22 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.90.20150202-9.fc22
e209b86
- Change Require->Recommends for gcc-gdb-plugin (RH BZ 1195005).
e209b86
6c08fa4
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 7.8.90.20150214-8
6c08fa4
- Rebuilt for Fedora 23 Change
6c08fa4
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
6c08fa4
61676c0
* Mon Feb 16 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.90.20150214-7.fc22
61676c0
- Switch Python 2->3 (RH BZ 1014549).
61676c0
7cbf529
* Sat Feb 14 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.90.20150214-6.fc22
7cbf529
- Rebase to 7.9-branch snapshot 7.8.90.20150214.
7cbf529
21fb199
* Wed Feb 11 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.90.20150202-5.fc22
21fb199
- Enable guile support.
21fb199
5d84d7a
* Wed Feb 11 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.90.20150202-4.fc22
5d84d7a
- Fix gcc5 compilation errors (RH BZ 1190649).
5d84d7a
b6bc0d5
* Mon Feb  9 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.90.20150202-3.fc22
b6bc0d5
- Require gcc-gdb-plugin.
b6bc0d5
0728371
* Mon Feb  2 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.90.20150202-2.fc22
0728371
- Rebase to 7.9-branch snapshot 7.8.90.20150202.
0728371
- Temporarily disable dg-extract-results.py to fix gdb.sum sorting.
0728371
2f7f533
* Thu Jan  8 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.50.20150108-1.fc22
2f7f533
- Rebase to pre-7.9 snapshot 7.8.50.20150108.
2f7f533
- Fix jit-reader.h for multi-lib.
2f7f533
1445be5
* Sun Dec 28 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.1-36.fc21
1445be5
- Rebase to 7.8.1.20141228 for a performance fix (PR binutils/17677).
1445be5
b132e8a
* Sat Dec 13 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.1-35.fc21
b132e8a
- Fix resolve_dynamic_struct: Assertion `TYPE_NFIELDS (type) > 0' (PR 17642).
b132e8a
a438e05
* Sat Nov 22 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.1-34.fc21
a438e05
- [ppc64] Fix compatibility of Fedora errno workaround (for RH BZ 1166549).
a438e05
a79edc1
* Fri Nov 21 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.1-33.fc21
a79edc1
- Fix regression accessing errno from a core file (RH BZ 1166549).
a79edc1
4fb72aa
* Thu Nov 20 2014 Sergio Durigan Junior <sergiodj@redhat.com> - 7.8.1-32.fc21
4fb72aa
- Fix 'Unowned dir /usr/include/gdb/' (RH BZ 1164991).
4fb72aa
ae793cb
* Sat Nov 15 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.1-31.fc21
ae793cb
- Fix '[RFE] please add add-auto-load-scripts-directory command' (RH
ae793cb
  BZ 1163339, Jan Kratochvil).
ae793cb
43b0bce
* Thu Oct 30 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8.1-30.fc21
43b0bce
- Rebase to FSF GDB 7.8.1.
43b0bce
8095c33
* Mon Oct 27 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-29.fc21
8095c33
- Backport vDSO regression.
8095c33
- Revert the makeinfo workaround from 7.8-27.fc21.
8095c33
- Further 1.75x improvement of the interactive symbols lookup (Doug Evans).
8095c33
862e0ed
* Mon Oct 20 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-28.fc21
862e0ed
- Accelerate interactive symbols lookup 15x.
862e0ed
3cf9dd5
* Sun Oct 19 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-27.fc21
3cf9dd5
- Workaround makeinfo F-22 Bug 1154436.
3cf9dd5
8a98352
* Sun Oct 19 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-26.fc21
8a98352
- Import 5 upstream gdb-7.8 branch fixes (async fix by Pedro Alves).
8a98352
e3bcba8
* Fri Oct 03 2014 Sergio Durigan Junior <sergiodj@redhat.com> - 7.8-25.fc21
e3bcba8
- Fix 'Slow gstack performance' (RH BZ 1103894, Jan Kratochvil).
e3bcba8
58638f8
* Fri Oct  3 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-24.fc21
58638f8
- Fix "save breakpoints" for signal catchpoints and disabled breakpoints
58638f8
  (BZ 1146170, Miroslav Franc).
58638f8
77c099e
* Mon Sep 15 2014 Sergio Durigan Junior <sergiodj@redhat.com> - 7.8-23.fc21
77c099e
- Install gdb/jit-reader.h on include directory (BZ 1141968).
77c099e
3887bdb
* Sun Sep 14 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-22.fc21
3887bdb
- [testsuite] Fix runaway gdb.base/attach processes.
3887bdb
448d46b
* Sun Sep  7 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-21.fc21
448d46b
- Fix GDB SIGTT* Stopped when using the PID argument (BZ 1136704, Pedro Alves).
448d46b
263b580
* Wed Aug 20 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-20.fc21
263b580
- Fix babeltrace errors (Yao Qi).
263b580
- Fix crash on Python frame filters with unreadable arg (BZ 1126177).
263b580
d3f8b94
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.8-19
d3f8b94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d3f8b94
5175ae0
* Thu Aug 14 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-18.fc21
5175ae0
- [rhel] Adjust the previous patch for compilation on older GCCs.
5175ae0
0d2fda6
* Wed Aug 13 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-17.fc21
0d2fda6
- Fix Python GIL with gdb.execute("continue") (Phil Muldoon, BZ 1116957).
0d2fda6
533da91
* Mon Aug  4 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-16.fc21
533da91
- Enable babeltrace compile-time feature.
533da91
191ccfb
* Sat Aug  2 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-15.fc21
191ccfb
- Rebase to FSF GDB 7.8.
191ccfb
- Display Fortran strings in backtraces.
191ccfb
902c8e5
* Thu Jul 24 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-14.fc21
902c8e5
- Rebase to FSF GDB 7.7.91.20140724 (pre-7.8 snapshot).
902c8e5
- Import TUI regression fix (Pedro Alves, BZ 1123003).
902c8e5
c1c430c
* Tue Jul 22 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.8-13.fc21
c1c430c
- Bump the package version number to final 7.8; still using 7.7.91.20140721.tar.
c1c430c
a972d47
* Tue Jul 22 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.91.20140721-12.fc21
a972d47
- Rebase to FSF GDB 7.7.91.20140721 (pre-7.8 snapshot).
a972d47
- Rebase the Intel VLA patchset.
a972d47
- New fix of the optimized-out entry data values crash (BZ 1111910).
a972d47
- [testsuite] Fix paginate-*.exp race for "read1".
a972d47
33d54d9
* Fri Jul 11 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.90.20140711-11.fc21
33d54d9
- Fix regression#2 of the optimized-out entry data values fix (of BZ 1111910).
33d54d9
- Rebase to FSF GDB 7.7.90.20140711 (pre-7.8 snapshot).
33d54d9
- [testsuite] Disable --with testsuite PIE testing, it has too many false FAILs.
33d54d9
4f54fc4
* Wed Jul  9 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.90.20140627-10.fc21
4f54fc4
- Fix regression of the optimized-out entry data values fix (of BZ 1111910).
4f54fc4
cec9297
* Tue Jul  8 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.90.20140627-9.fc21
cec9297
- Rebase the Intel VLA patchset.
cec9297
- Python completion w/overriden completer (Sergio Durigan Junior, BZ 1075199).
cec9297
- Remove %{_bindir}/mono-gdb.py workaround of mono BZ 815501.
cec9297
b73009e
* Tue Jul  1 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.90.20140627-8.fc21
b73009e
- Do not remove %{_datadir}/gdb/syscalls/ppc*.xml as it is secondary target.
b73009e
- Remove: %{_datadir}/gdb/guile
b73009e
- Remove: %{_datadir}/gdb/system-gdbinit
b73009e
2a0fd8a
* Mon Jun 30 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.90.20140627-7.fc21
2a0fd8a
- Fix crash on optimized-out entry data values (BZ 1111910).
2a0fd8a
de9f421
* Fri Jun 27 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.90.20140627-6.fc21
de9f421
- Rebase to FSF GDB 7.7.90.20140627 (pre-7.8 snapshot).
de9f421
dd2c5ed
* Fri Jun 27 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.90.20140613-5.fc21
dd2c5ed
- Continue backtrace even if a frame filter throws an exception (Phil Muldoon).
dd2c5ed
2b55d27
* Tue Jun 24 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.90.20140613-4.fc21
2b55d27
- [aarch64] Fix compilation error.
2b55d27
1119523
* Fri Jun 20 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.90.20140613-3.fc21
1119523
- Fix --with-system-readline with readline-6.3 patch 5.
1119523
  - Use --enable-werror again.
1119523
b3b5086
* Thu Jun 19 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.90.20140613-2.fc21
b3b5086
- Temporarily use --disable-werror for readline-6.3's deprecated 'VFunction'.
b3b5086
eb6cb2d
* Thu Jun 19 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.90.20140613-1.fc21
eb6cb2d
- Rebase to FSF GDB 7.7.90.20140613 (pre-7.8 snapshot).
eb6cb2d
730f271
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.7.1-21
730f271
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
730f271
b472cba
* Tue Jun  3 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-20.fc21
b472cba
- Fix#2 /usr/share/gdb/system-gdbinit/ timestamps causing non-matching *.py[oc].
b472cba
fbd3253
* Tue Jun  3 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-19.fc21
fbd3253
- Fix /usr/share/gdb/auto-load/ (safely) dangling symlinks.
fbd3253
- Fix /usr/share/gdb/system-gdbinit/ timestamps causing non-matching *.py[oc].
fbd3253
7082135
* Tue Jun  3 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-18.fc21
7082135
- [ppc64le testsuite] Add comments about prelink+valgrind not yet ported.
7082135
4eee755
* Fri May 30 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-17.fc21
4eee755
- [arm*,aarch64] Turn on --enable-werror, fix aarch64 for it.
4eee755
c70b5a5
* Fri May 30 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-16.fc21
c70b5a5
- [aarch64] Fix signal frame unwinding (BZ 1086894, upstream).
c70b5a5
7ae270c
* Mon May 26 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-15.fc21
7ae270c
- [testsuite] Drop BuildRequires: gcc-java+libgcj on Fedora (no longer in F21+).
7ae270c
68e26e6
* Fri May 16 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-14.fc21
68e26e6
- [rhel5] Drop the RHEL-5 support - simplify this .spec file.
68e26e6
9b1a642
* Wed May 14 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-13.fc21
9b1a642
- [s390*] Import upstream fix for 64->32 debugging.
9b1a642
1ecbbdb
* Mon May 12 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-12.fc21
1ecbbdb
- [s390*] Fix compilation error.
1ecbbdb
6e0665a
* Fri May  9 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-11.fc21
6e0665a
- [ppc*] Import ppc64le support (BZ 1096303, Ulrich Weigand).
6e0665a
6e0665a
* Tue May  6 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7.1-10.fc21
936befa
- Rebase to FSF GDB 7.7.1.
936befa
0a42762
* Mon May  5 2014 Sergio Durigan Junior <sergiodj@redhat.com> - 7.7-9.fc21
0a42762
- Improve testcase message for RH BZ 981154.
0a42762
7f2a1f7
* Mon May  5 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7-8.fc21
7f2a1f7
- Fix TLS access for -static -pthread (BZ 1080660).
7f2a1f7
331a1f1
* Mon May  5 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7-7.fc21
331a1f1
- Add GFDL License to the main package (man pages are generated from .texinfo).
331a1f1
da63986
* Thu Apr 24 2014 Sergio Durigan Junior <sergiodj@redhat.com> - 7.7-6.fc21
da63986
- Fix build failures for GCC 4.9 (Nick Clifton).
da63986
fceb2c1
* Thu Apr 24 2014 Sergio Durigan Junior <sergiodj@redhat.com> - 7.7-5.fc21
fceb2c1
- Fix 'gdb gives highly misleading error when debuginfo pkg is present,
fceb2c1
  but not corresponding binary pkg' (RH BZ 981154).
fceb2c1
3e56442
* Mon Feb 24 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7-4.fc21
3e56442
- Fix crash of -readnow /usr/lib/debug/usr/bin/gnatbind.debug (BZ 1069211).
3e56442
3af2cc6
* Sun Feb 23 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7-3.fc21
3af2cc6
- [rhel6] DTS backward Python compatibility API (BZ 1020004, Phil Muldoon).
3af2cc6
- [rhel6] Do not install its man page if gdb-add-index is not installed.
3af2cc6
- [rhel] Do not migrate /usr/share/gdb/auto-load/ with symlinks on RHELs.
3af2cc6
- Fix gdb-7.7 auto-load from /usr/share/gdb/auto-load/ regression.
3af2cc6
e86a0cc
* Sun Feb  9 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7-2.fc21
e86a0cc
- [rhel] Fix rebase build regression on RHEL systems (Tobias Burnus).
e86a0cc
2c55a54
* Fri Feb  7 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.7-1.fc21
2c55a54
- Rebase to FSF GDB 7.7.
2c55a54
- New rpmbuild option: --with asan
2c55a54
ff3b0d4
* Thu Jan 23 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20140119-20.fc20
ff3b0d4
- [s390*,ppc*] Enable secondary targets s390* and ppc* (BZ 1056259).
ff3b0d4
1be7752
* Sun Jan 19 2014 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20140119-19.fc20
1be7752
- Backport several gdb-7.6.x stable branch fixes (BZ 1055155).
1be7752
0f5a62e
* Wed Dec 25 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-18.fc20
0f5a62e
- [aarch64] Backport two breakpoint/watchpoint fixes.
0f5a62e
6ca3c18
* Mon Nov 18 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-17.fc20
6ca3c18
- [rhel7] [--with testsuite] Remove gcc-java&co. BuildRequires.
6ca3c18
2d6d1b2
* Sat Nov  9 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-16.fc20
2d6d1b2
- Fix explicit Class:: inside class scope (BZ 874817, Keith Seitz).
2d6d1b2
1d5872d
* Tue Nov  5 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-15.fc20
1d5872d
- [aarch64] Backport two fixes (BZ 1026484).
1d5872d
fe74423
* Sun Nov  3 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-14.fc20
fe74423
- Fix %{_bindir}gdb-add-index to also use -iex 'set auto-load no'.
fe74423
25caf28
* Wed Oct 30 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-13.fc20
25caf28
- [rhel5] Fix /etc/gdbinit compatibility with python-2.4.
25caf28
de8f297
* Mon Sep 30 2013 Sergio Durigan Junior <sergiodj@redhat.com> - 7.6.50.20130731-12.fc20
de8f297
- Fix the case when GDB leaks memory because value_struct_elt does not call
de8f297
  check_typedef.  (Doug Evans, BZ 15695, filed as RH BZ 1013453).
de8f297
3965705
* Wed Sep 25 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-11.fc20
3965705
- Enable arm-linux-gnu and aarch64-linux-gnu targets on all archs (BZ 1011647).
3965705
a717e23
* Mon Sep  9 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-10.fc20
a717e23
- Fix the version string to be GNU standards compliant (BZ 1004949).
a717e23
bdf0f25
* Fri Aug 30 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-9.fc20
bdf0f25
- Load /etc/gdbinit.d/*.{gdb,py} files automatically (BZ 981520).
bdf0f25
a97ee30
* Fri Aug 30 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-8.fc20
a97ee30
- New %%pre to fix failed upgrade of the previous commit (BZ 999645).
a97ee30
- Fix false warnings of new %%pre during future upgrades (BZ 999645).
a97ee30
5a0302a
* Wed Aug 28 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-7.fc20
5a0302a
- Fix /usr/share/gdb/auto-load/ need of filesystem symlinks (BZ 999645).
5a0302a
  It needs: yum remove gdb-heap; yum reinstall gdb; yum install gdb-heap
5a0302a
2ed9630
* Thu Aug  8 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-6.fc20
2ed9630
- [rhel5] tps-srpmtest does not set %%{rhel} (BZ 1002198, Miroslav Franc).
2ed9630
ad6c9a2
* Thu Aug  8 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-5.fc20
ad6c9a2
- Simplify BuildRequires by texlive-collection-latexrecommended (see BZ 919891).
ad6c9a2
7ffdf58
* Tue Aug  6 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-4.fc20
7ffdf58
- Revert the texlive-collection-latexrecommended change (see BZ 919891).
7ffdf58
77f7352
* Tue Aug  6 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-3.fc20
77f7352
- Simplify BuildRequires by texlive-collection-latexrecommended (see BZ 919891).
77f7352
- Fix crash on 'enable count' (Simon Marchi, BZ 993118).
77f7352
b6e7beb
* Fri Aug  2 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-2.fc20
b6e7beb
- Drop ia64 patches and .spec support.
b6e7beb
872aab0
* Fri Aug  2 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6.50.20130731-1.fc20
b6e7beb
- Rebase to FSF GDB 7.6.50.20130731 (snapshot between 7.6 and future 7.7).
872aab0
2f9bb15
* Mon Jul 29 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-36.fc20
2f9bb15
- Remove %%{gdb_docdir}, rebuild for unversioned docdirs (for BZ 986871).
2f9bb15
9be0c23
* Wed Jul 24 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-35.fc20
9be0c23
- [ppc] Support Power8 CPU (IBM, BZ 731875).
9be0c23
44de066
* Wed Jul 17 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-34.fc20
44de066
- Remove --disablerepo='*' from BZ 554152 as it conflicts with BZ 981154.
44de066
752ff76
* Wed Jul 17 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-33.fc20
752ff76
- Fix yum install command output when the binary RPM is missing (BZ 981154).
752ff76
- Fix the changlog entry formatting for 6.3.0.0-0.1.
752ff76
19d4458
* Mon Jun 10 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-32.fc19
19d4458
- [scl] Disable Python frame filters on scl.
19d4458
- Update libraries opening performance fix from upstream.
19d4458
- Fix C++ lookups performance regression (Doug Evans, BZ 972677).
19d4458
a5cf0a6
* Tue May 28 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-31.fc19
a5cf0a6
- [ppc] Backport hardware watchpoints fix (Edjunior Machado, BZ 967915).
a5cf0a6
89fbbfc
* Tue May 21 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-30.fc19
89fbbfc
- Backported Python frame filters (Phil Muldoon).
89fbbfc
- Backported breakpoint conditions crash fix (Sergio Durigan Junior).
89fbbfc
6d62033
* Sun May 19 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-29.fc19
89fbbfc
- Fix performance regression opening many libraries (Gary Benson, BZ 965106).
6d62033
5c14ffc
* Thu May  9 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-28.fc19
5c14ffc
- Fix needless expansion of non-gdbindex symtabs (Doug Evans).
5c14ffc
01f3266
* Mon May  6 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-27.fc19
01f3266
- [testsuite] [RHEL-5] Fix gdb-orphanripper.c runtime error.
01f3266
a3d1292
* Fri May  3 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-26.fc19
a3d1292
- Fix gcore for vDSO (on ppc64).
a3d1292
3344b6b
* Sat Apr 27 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-25.fc19
3344b6b
- Fix false "Unknown error 512" on x32 (H.J. Lu, BZ 956883).
3344b6b
46f79e2
* Fri Apr 26 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.6-24.fc19
46f79e2
- Rebase to FSF GDB 7.6.
46f79e2
f8a4995
* Wed Apr 24 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.91.20130423-23.fc19
f8a4995
- Fix man page BuildRequires (for BZ 881892).
f8a4995
c3b2d52
* Tue Apr 23 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.91.20130423-22.fc19
c3b2d52
- [spec] Fix virtual bundles after GDB has been branched.
c3b2d52
d6a3040
* Tue Apr 23 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.91.20130423-21.fc19
d6a3040
- Rebase to FSF GDB 7.5.91.20130423 (pre-7.6 snapshot).
d6a3040
05b22fe
* Mon Apr 22 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.91.20130407-20.fc19
05b22fe
- [SCL] Skip deprecated .gdb_index warning for Red Hat built files (BZ 953585).
05b22fe
9dd2140
* Mon Apr 22 2013 Sergio Durigan Junior <sergiodj@redhat.com> - 7.5.91.20130407-19.fc19
9dd2140
- [RHEL-6] Regression test for RH BZ 947564.
9dd2140
cf0b61a
* Thu Apr 11 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.91.20130407-18.fc19
cf0b61a
- Provide man page for gcore.1 and gdb-add-index.1 (BZ 881892).
cf0b61a
9b8aeef
* Sun Apr  7 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.91.20130407-17.fc19
9b8aeef
- [RHEL-5] Fix noarch doc build.
9b8aeef
ac3dde5
* Sun Apr  7 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.91.20130407-16.fc19
ac3dde5
- Rebase to FSF GDB 7.5.91.20130407 (pre-7.6 snapshot).
ac3dde5
- [SCL] Remove BuildRequires of gcc-go on SCL (Miroslav Franc, BZ 948982).
ac3dde5
- Provide man page for gdbinit.5 (BZ 881892), document gdb -p in man (BZ 659000).
ac3dde5
402506c
* Tue Apr  2 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.91.20130402-15.fc19
402506c
- Rebase to FSF GDB 7.5.91.20130402 (pre-7.6 snapshot).
402506c
43e595b
* Sat Mar 23 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.91.20130323-14.fc19
43e595b
- Rebase to FSF GDB 7.5.91.20130310 (pre-7.6 snapshot).
43e595b
- Fix crash regression from the dlopen of libpthread.so fix (BZ 911712).
43e595b
b7ec764
* Mon Mar 11 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.50.20130310-13.fc19
b7ec764
- [RHEL-5] Import build regression fix.
b7ec764
f2d6b40
* Sun Mar 10 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.50.20130310-12.fc19
f2d6b40
- Add workaround of PDF gdb-doc build (filed as RH BZ 919891).
f2d6b40
f1490f0
* Sun Mar 10 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.50.20130310-11.fc19
f1490f0
- Re-enable (again) PDF in gdb-doc after texinfo RH BZ 876710 has been fixed.
f1490f0
1054fa6
* Sun Mar 10 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.50.20130310-10.fc19
1054fa6
- Rebase to FSF GDB 7.5.50.20130310 (pre-7.6 snapshot).
1054fa6
- Fix various entry-values sub-optimal results.
1054fa6
350d5a3
* Mon Feb 25 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.50.20130215-9.fc19
350d5a3
- testsuite: Fix gdb.arch/powerpc-power6.exp testcase (IBM, RH BZ 890900).
350d5a3
dd75969
* Tue Feb 19 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.50.20130215-8.fc19
dd75969
- Temporarily disable PDF in gdb-doc for still unavailable texinfo RH BZ 876710.
dd75969
ab333d9
* Mon Feb 18 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.50.20130215-7.fc19
ab333d9
- Rebase to FSF GDB 7.5.50.20130215 (pre-7.6 snapshot).
ab333d9
fd14833
* Fri Feb  8 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.50.20130118-6.fc19
fd14833
- Re-enable PDF in gdb-doc after texinfo RH BZ 876710 has been fixed.
fd14833
f7d32d5
* Mon Feb  4 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.50.20130118-5.fc19
f7d32d5
- Release bump only.
f7d32d5
88bebb3
* Fri Feb  1 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.50.20130118-4.fc19
88bebb3
- Fix assert crashes with minidebuginfo (BZ 903522).
88bebb3
ebaa23a
* Fri Jan 25 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.50.20130118-3.fc19
ebaa23a
- Release bump only.
ebaa23a
5677fb2
* Mon Jan 21 2013 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.5.50.20130118-2.fc19
5677fb2