b3e4c8b
# rpmbuild parameters:
b3e4c8b
# --with testsuite: Run the testsuite (biarch if possible).  Default is without.
b3e4c8b
# --with debug: Build without optimizations and without splitting the debuginfo.
5bed391
# --with upstream: No Fedora specific patches get applied.
b39dc5c
# --without python: No python support.
16ccb4d
0911f37
# RHEL-5 was the last not providing `/etc/rpm/macros.dist'.
0911f37
%if 0%{!?dist:1}
0911f37
%define rhel 5
0911f37
%define dist .el5
0911f37
%define el5 1
0911f37
%endif
0911f37
# RHEL-5 Brew does not set %{el5}.
0911f37
%if "%{dist}" == ".el5"
0911f37
# RHEL-5 ppc* python .so files are shipped only as ppc but gdb is ppc64 there.
0911f37
# Brew builds it fine as its ppc64 buildroot has full ppc64 package set.
0911f37
# Make this conditional so that Brew-built GDB has no python on any arch but
0911f37
# GDB rebuilt on native non-ppc64 host does have it.
0911f37
%if 0%{!?el5:1}
0911f37
%define _without_python 1
0911f37
%else
0911f37
%ifarch ppc64
0911f37
%define _without_python 1
0911f37
%endif
0911f37
%endif
0911f37
%define el5 1
0911f37
%endif
0911f37
2d64357
Summary: A GNU source-level debugger for C, C++, Java and other languages
b3e4c8b
Name: gdb%{?_with_debug:-debug}
16ccb4d
16ccb4d
# Set version to contents of gdb/version.in.
0911f37
# NOTE: the FSF gdb versions are numbered N.M for official releases, like 6.3
ezannoni 8f6f3f7
# and, since January 2005, X.Y.Z.date for daily snapshots, like 6.3.50.20050112 # (daily snapshot from mailine), or 6.3.0.20040112 (head of the release branch).
45f7971
Version: 7.0.50.20100128
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.
45f7971
Release: 10%{?_with_upstream:.upstream}%{dist}
16ccb4d
dccf7f2
License: GPLv3+
cvsdist c049b6a
Group: Development/Debuggers
0911f37
# ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{version}.tar.bz2
0911f37
# ftp://sourceware.org/pub/gdb/releases/gdb-%{version}.tar.bz2
8c4c91e
Source: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-%{version}.tar.bz2
8336d58
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
16ccb4d
URL: http://gnu.org/software/gdb/
c5a9fdc
ExcludeArch: ia64
cvsdist 57e65f7
ezannoni 8f6f3f7
# For our convenience
eb9d945
%define gdb_src gdb-%{version}
8336d58
%define gdb_build build-%{_target_platform}
ezannoni 8f6f3f7
b3e4c8b
%if 0%{?_with_debug:1}
b3e4c8b
# Define this if you want to skip the strip step and preserve debug info.
b3e4c8b
# Useful for testing.
b3e4c8b
%define __debug_install_post : > %{_builddir}/%{?buildsubdir}/debugfiles.list
b3e4c8b
%define debug_package %{nil}
b3e4c8b
%endif
b3e4c8b
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
0911f37
%if 0%{!?el5:1}
338fe93
%if 0%{!?_with_upstream:1}
08593f1
# The last Rawhide release was (no dist tag) pstack-1.2-7.2.2
08593f1
Obsoletes: pstack < 1.2-7.2.2.1
08593f1
Provides: pstack = 1.2-7.2.2.1
0911f37
%endif # 0%{!?_with_upstream:1}
0911f37
%endif # 0%{!?el5:1}
08593f1
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
5bed391
# Cleanup any leftover testsuite processes as it may stuck mock(1) builds.
5bed391
Source2: gdb-orphanripper.c
7bf686c
5bed391
# Man page for gstack(1).
5bed391
Source3: gdb-gstack.man
dd9987d
8ae3364
# libstdc++ pretty printers from GCC SVN HEAD (4.5 experimental).
626a905
%define libstdcxxpython libstdc++-v3-python-r155978
0911f37
Source4: %{libstdcxxpython}.tar.bz2
8ae3364
00cf531
# Work around out-of-date dejagnu that does not have KFAIL
00cf531
Patch1: gdb-6.3-rh-dummykfail-20041202.patch
dd9987d
5bed391
# Match the Fedora's version info.
00cf531
Patch2: gdb-6.3-rh-testversion-20041202.patch
dd9987d
75eaddb
# Check that libunwind works - new test then fix
75eaddb
Patch3: gdb-6.3-rh-testlibunwind-20041202.patch
16ccb4d
707dff8
# Use convert_from_func_ptr_addr on the solib breakpoint address;
707dff8
# simplifies and makes more consistent the logic.
f56d3db
Patch104: gdb-6.3-ppcdotsolib-20041022.patch
707dff8
707dff8
# Better parse 64-bit PPC system call prologues.
43873a6
Patch105: gdb-6.3-ppc64syscall-20040622.patch
707dff8
707dff8
# Stop a backtrace when a zero PC is encountered.
43873a6
Patch106: gdb-6.3-framepczero-20040927.patch
707dff8
707dff8
# Include the pc's section when doing a symbol lookup so that the
707dff8
# correct symbol is found.
43873a6
Patch111: gdb-6.3-ppc64displaysymbol-20041124.patch
43873a6
5a72cda
# Fix upstream `set scheduler-locking step' vs. upstream PPC atomic seqs.
5a72cda
Patch112: gdb-6.6-scheduler_locking-step-sw-watchpoints2.patch
c78c51c
# Make upstream `set scheduler-locking step' as default.
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.
434306b
Patch118: gdb-6.3-gstack-20050411.patch
dd9987d
6edd3c8
# VSYSCALL and PIE
e3c8b47
Patch122: gdb-6.3-test-pie-20050107.patch
8c4c91e
Patch124: gdb-archer-pie-0315-breakpoint_address_match.patch
0911f37
Patch389: gdb-archer-pie-addons.patch
0911f37
Patch394: gdb-archer-pie-addons-keep-disabled.patch
84cb84b
f5d5709
# Get selftest working with sep-debug-info
f5d5709
Patch125: gdb-6.3-test-self-20050110.patch
f5d5709
e5611bf
# Test support of multiple destructors just like multiple constructors
e3c8b47
Patch133: gdb-6.3-test-dtorfix-20050121.patch
e3c8b47
f1c5dfd
# Fix to support executable moving
6cc37db
Patch136: gdb-6.3-test-movedir-20050125.patch
f1c5dfd
4bf80fb
# Fix to support unwinding syscalls in ia64 corefiles
c59c374
# Patch138: gdb-6.3-ia64-corefile-fix-20050127.patch
4bf80fb
20b150b
# Fix gcore for threads
20b150b
Patch140: gdb-6.3-gcore-thread-20050204.patch
20b150b
5a72cda
# Stop while intentionally stepping and the thread exit is met.
2280d55
Patch141: gdb-6.6-step-thread-exit.patch
5a72cda
Patch259: gdb-6.3-step-thread-exit-20050211-test.patch
28857cc
955cd49
# Prevent gdb from being pushed into background
955cd49
Patch142: gdb-6.3-terminal-fix-20050214.patch
955cd49
e3c8b47
# Test sibling threads to set threaded watchpoints for x86 and x86-64
e3c8b47
Patch145: gdb-6.3-threaded-watchpoints2-20050225.patch
e3c8b47
2b9b6c1
# Fix printing of inherited members
2b9b6c1
Patch148: gdb-6.3-inheritance-20050324.patch
2b9b6c1
0e6b692
# Do not issue warning message about first page of storage for ia64 gcore
0e6b692
Patch153: gdb-6.3-ia64-gcore-page0-20050421.patch
0e6b692
9231e41
# Security errata for untrusted .gdbinit
d939943
Patch157: gdb-6.3-security-errata-20050610.patch
d939943
82cee5f
# IA64 sigtramp prev register patch
82cee5f
Patch158: gdb-6.3-ia64-sigtramp-frame-20050708.patch
82cee5f
8464198
# IA64 gcore speed-up patch
8464198
Patch160: gdb-6.3-ia64-gcore-speedup-20050714.patch
8464198
d5a2446
# Notify observers that the inferior has been created
d5a2446
Patch161: gdb-6.3-inferior-notification-20050721.patch
d5a2446
e1bcf9b
# Fix ia64 info frame bug
e1bcf9b
Patch162: gdb-6.3-ia64-info-frame-fix-20050725.patch
e1bcf9b
486c3bb
# Verify printing of inherited members test
486c3bb
Patch163: gdb-6.3-inheritancetest-20050726.patch
486c3bb
658b489
# Add readnever option
658b489
Patch164: gdb-6.3-readnever-20050907.patch
658b489
fbb51ac
# Fix ia64 gdb problem with user-specified SIGILL handling
fbb51ac
Patch169: gdb-6.3-ia64-sigill-20051115.patch
fbb51ac
6417cfc
# Allow option to continue backtracing past a zero pc value
6417cfc
Patch170: gdb-6.3-bt-past-zero-20051201.patch
6417cfc
16b31aa
# Use bigger numbers than int.
16b31aa
Patch176: gdb-6.3-large-core-20051206.patch
16b31aa
cb077a3
# Hard-code executable names in gstack, such that it can run with a
cb077a3
# corrupted or missing PATH.
4917379
Patch177: gdb-6.3-gstack-without-path-20060414.patch
4917379
a23697f
# Fix debuginfo addresses resolving for --emit-relocs Linux kernels (BZ 203661).
a23697f
Patch188: gdb-6.5-bz203661-emit-relocs.patch
a23697f
9920fee
# Security patch: avoid stack overflows in dwarf expression computation.
e6628c4
# CVE-2006-4146
a23697f
Patch190: gdb-6.5-dwarf-stack-overflow.patch
b13204b
ba67a79
# Support TLS symbols (+`errno' suggestion if no pthread is found) (BZ 185337).
ba67a79
Patch194: gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
ba67a79
ba67a79
# Fix TLS symbols resolving for objects with separate .debug file (-debuginfo).
ba67a79
Patch195: gdb-6.5-tls-of-separate-debuginfo.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'.
ba67a79
Patch196: gdb-6.5-sharedlibrary-path.patch
ba67a79
50a6238
# Suggest fixing your target architecture for gdbserver(1) (BZ 190810).
50a6238
# FIXME: It could be autodetected.
407ebe9
Patch199: gdb-6.5-bz190810-gdbserver-arch-advice.patch
50a6238
50a6238
# Fix `gcore' command for 32bit inferiors on 64bit hosts.
50a6238
Patch201: gdb-6.5-gcore-i386-on-amd64.patch
7e80c93
aefb0e1
# Testcase for deadlocking on last address space byte; for corrupted backtraces.
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.
b048379
Patch208: gdb-6.5-BEA-testsuite.patch
b048379
03e2cd3
# Fix readline segfault on excessively long hand-typed lines.
03e2cd3
Patch209: gdb-6.5-readline-long-line-crash.patch
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).
b961095
Patch214: gdb-6.5-bz216711-clone-is-outermost.patch
b961095
418be79
# Try to reduce sideeffects of skipping ppc .so libs trampolines (BZ 218379).
418be79
Patch215: gdb-6.5-bz218379-ppc-solib-trampoline-fix.patch
407ebe9
Patch216: gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
418be79
418be79
# Fix lockup on trampoline vs. its function lookup; unreproducible (BZ 218379).
418be79
Patch217: gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch
418be79
65bc5f9
# Find symbols properly at their original (included) file (BZ 109921).
65bc5f9
Patch225: gdb-6.5-bz109921-DW_AT_decl_file-test.patch
65bc5f9
7a31f8b
# Update PPC unwinding patches to their upstream variants (BZ 140532).
7a31f8b
Patch229: gdb-6.3-bz140532-ppc-unwinding-test.patch
4dddad4
aefb0e1
# Testcase for exec() from threaded program (BZ 202689).
aefb0e1
Patch231: gdb-6.3-bz202689-exec-from-pthread-test.patch
aefb0e1
8c4c91e
# Backported fixups post the source tarball.
45f7971
#Patch232: gdb-upstream.patch
aefb0e1
9548cfe
# Testcase for PPC Power6/DFP instructions disassembly (BZ 230000).
9548cfe
Patch234: gdb-6.6-bz230000-power6-disassembly-test.patch
9548cfe
e157c1b
# Temporary support for shared libraries >2GB on 64bit hosts. (BZ 231832)
e157c1b
Patch235: gdb-6.3-bz231832-obstack-2gb.patch
e157c1b
8336d58
# Fix prelink(8) testcase for non-root $PATH missing `/usr/sbin' (BZ 225783).
8336d58
Patch240: gdb-6.6-bz225783-prelink-path.patch
8336d58
8336d58
# Fix debugging GDB itself - the compiled in source files paths (BZ 225783).
8336d58
Patch241: gdb-6.6-bz225783-gdb-debuginfo-paths.patch
8336d58
b2d009a
# Allow running `/usr/bin/gcore' with provided but inaccessible tty (BZ 229517).
b2d009a
Patch245: gdb-6.6-bz229517-gcore-without-terminal.patch
b2d009a
4b94240
# Notify user of a child forked process being detached (BZ 235197).
d50521f
Patch247: gdb-6.6-bz235197-fork-detach-info.patch
4b94240
1499556
# New testcase for gcore of 32bit inferiors on 64bit hosts.
a32d62a
Patch249: gdb-6.6-gcore32-test.patch
a32d62a
aad703f
# Avoid too long timeouts on failing cases of "annota1.exp annota3.exp".
aad703f
Patch254: gdb-6.6-testsuite-timeouts.patch
aad703f
5a72cda
# Support for stepping over PPC atomic instruction sequences (BZ 237572).
5a72cda
Patch258: gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
5a72cda
a0b6775
# Link with libreadline provided by the operating system.
a0b6775
Patch261: gdb-6.6-readline-system.patch
a0b6775
5c49e68
# Test kernel VDSO decoding while attaching to an i386 process.
5c49e68
Patch263: gdb-6.3-attach-see-vdso-test.patch
5c49e68
5c49e68
# Do not hang on exit of a thread group leader (BZ 247354).
5c49e68
Patch265: gdb-6.6-bz247354-leader-exit-fix.patch
5c49e68
Patch266: gdb-6.6-bz247354-leader-exit-test.patch
5c49e68
e3c8b47
# Test leftover zombie process (BZ 243845).
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).
4e2e788
Patch274: gdb-6.6-buildid-locate.patch
09c22fd
Patch353: gdb-6.6-buildid-locate-rpm.patch
b469073
Patch415: gdb-6.6-buildid-locate-core-as-arg.patch
4e2e788
eb9d945
# Fix displaying of numeric char arrays as strings (BZ 224128).
eb9d945
Patch282: gdb-6.7-charsign-test.patch
eb9d945
b0ab3a8
# Test PPC hiding of call-volatile parameter register.
b0ab3a8
Patch284: gdb-6.7-ppc-clobbered-registers-O2-test.patch
b0ab3a8
4a93050
# Testsuite fixes for more stable/comparable results.
4a93050
Patch287: gdb-6.7-testsuite-stable-results.patch
4a93050
3f52bbd
# Test ia64 memory leaks of the code using libunwind.
3f52bbd
Patch289: gdb-6.5-ia64-libunwind-leak-test.patch
3f52bbd
ed268f2
# Test hiding unexpected breakpoints on intentional step commands.
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).
d50521f
Patch293: gdb-6.7-bz426600-DW_TAG_interface_type-fix.patch
d50521f
Patch294: gdb-6.7-bz426600-DW_TAG_interface_type-test.patch
d50521f
3f52bbd
# Test gcore memory and time requirements for large inferiors.
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.
d945816
Patch298: gdb-6.6-threads-static-test.patch
d945816
08593f1
# Fix #include <asm/ptrace.h> on kernel-headers-2.6.25-0.40.rc1.git2.fc9.x86_64.
08593f1
Patch304: gdb-6.7-kernel-headers-compat.patch
08593f1
ed268f2
# Test GCORE for shmid 0 shared memory mappings.
ed268f2
Patch309: gdb-6.3-mapping-zero-inode-test.patch
ed268f2
ed268f2
# Test a crash on `focus cmd', `focus prev' commands.
ed268f2
Patch311: gdb-6.3-focus-cmd-prev-test.patch
ed268f2
c499105
# Test various forms of threads tracking across exec() (BZ 442765).
c499105
Patch315: gdb-6.8-bz442765-threaded-exec-test.patch
c499105
e237432
# Silence memcpy check which returns false positive (sparc64)
e237432
Patch317: gdb-6.8-sparc64-silence-memcpy-check.patch
e237432
ad4fdd5
# Fix memory trashing on binaries from GCC Ada (workaround GCC PR 35998).
ad4fdd5
Patch318: gdb-6.8-gcc35998-ada-memory-trash.patch
ad4fdd5
dd1aa7b
# Test a crash on libraries missing the .text section.
dd1aa7b
Patch320: gdb-6.5-section-num-fixup-test.patch
dd1aa7b
dd1aa7b
# Refuse creating watchpoints of an address value, suggested by Martin Stransky.
dd1aa7b
Patch322: gdb-6.8-constant-watchpoints.patch
dd1aa7b
dd1aa7b
# Fix compatibility with recent glibc headers.
dd1aa7b
Patch324: gdb-6.8-glibc-headers-compat.patch
dd1aa7b
666c0ba
# Create a single binary `gdb' autodetecting --tui by its argv[0].
666c0ba
Patch326: gdb-6.8-tui-singlebinary.patch
666c0ba
942cd23
# Support transparent debugging of inlined functions for an optimized code.
e9671f2
# Disable break-by-name on inlined functions due to a regression on parameters
e9671f2
# of inlined functions falsely <optimized out> (BZ 556975 Comment 8).
9291de5
# Disable addon (finish) due to inline-cmds.exp: up from outer_inline2 assert.
407ebe9
Patch350: gdb-6.8-inlining-addon.patch
942cd23
Patch328: gdb-6.8-inlining-by-name.patch
942cd23
3a094fb
# Fix PRPSINFO in the core files dumped by gcore (BZ 254229).
3a094fb
Patch329: gdb-6.8-bz254229-gcore-prpsinfo.patch
3a094fb
3a094fb
# Fix register assignments with no GDB stack frames (BZ 436037).
3a094fb
Patch330: gdb-6.8-bz436037-reg-no-longer-active.patch
3a094fb
e3c8b47
# Make the GDB quit processing non-abortable to cleanup everything properly.
e3c8b47
Patch331: gdb-6.8-quit-never-aborts.patch
e3c8b47
e3c8b47
# Support DW_TAG_constant for Fortran in recent Fedora/RH GCCs.
e3c8b47
Patch332: gdb-6.8-fortran-tag-constant.patch
e3c8b47
10f824b
# Fix attaching to stopped processes and/or pending signals.
10f824b
Patch337: gdb-6.8-attach-signalled-detach-stopped.patch
10f824b
e168686
# Test the watchpoints conditionals works.
bb9a89c
Patch343: gdb-6.8-watchpoint-conditionals-test.patch
e168686
74f680b
# Fix resolving of variables at locations lists in prelinked libs (BZ 466901).
74f680b
Patch348: gdb-6.8-bz466901-backtrace-full-prelinked.patch
74f680b
1592379
# The merged branch `archer' of: http://sourceware.org/gdb/wiki/ProjectArcher
1592379
Patch349: gdb-archer.patch
1592379
36474ab
# Fix parsing elf64-i386 files for kdump PAE vmcore dumps (BZ 457187).
36474ab
# - Turn on 64-bit BFD support, globally enable AC_SYS_LARGEFILE.
373e1bc
Patch360: gdb-6.8-bz457187-largefile-test.patch
36474ab
40f8d2f
# New test for step-resume breakpoint placed in multiple threads at once.
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.
0911f37
Patch382: gdb-core-open-vdso-warning.patch
0911f37
0911f37
# Fix callback-mode readline-6.0 regression for CTRL-C.
0911f37
Patch390: gdb-readline-6.0-signal.patch
0911f37
0911f37
# Fix syscall restarts for amd64->i386 biarch.
0911f37
Patch391: gdb-x86_64-i386-syscall-restart.patch
0911f37
0911f37
# Fix stepping with OMP parallel Fortran sections (BZ 533176).
0911f37
Patch392: gdb-bz533176-fortran-omp-step.patch
0911f37
0911f37
# Use gfortran44 when running the testsuite on RHEL-5.
0911f37
Patch393: gdb-rhel5-gcc44.patch
0911f37
0911f37
# Disable warning messages new for gdb-6.8+ for RHEL-5 backward compatibility.
0911f37
# Workaround RHEL-5 kernels for detaching SIGSTOPped processes (BZ 498595).
0911f37
Patch335: gdb-rhel5-compat.patch
0911f37
0911f37
# Fix regression by python on ia64 due to stale current frame.
0911f37
Patch397: gdb-follow-child-stale-parent.patch
0911f37
0911f37
# Fix related_breakpoint stale ref crash.
0911f37
Patch400: gdb-stale-related_breakpoint.patch
0911f37
8c4c91e
# Workaround ccache making lineno non-zero for command-line definitions.
8c4c91e
Patch403: gdb-ccache-workaround.patch
8c4c91e
8c4c91e
# Implement `info common' for Fortran.
8c4c91e
Patch404: gdb-fortran-common-reduce.patch
8c4c91e
Patch405: gdb-fortran-common.patch
8c4c91e
8c4c91e
# Fix Fortran logical-kind=8 (BZ 465310).
8c4c91e
Patch406: gdb-fortran-logical8.patch
8c4c91e
8c4c91e
# Testcase for "Do not make up line information" fix by Daniel Jacobowitz.
8c4c91e
Patch407: gdb-lineno-makeup-test.patch
8c4c91e
8c4c91e
# Test power7 ppc disassembly.
8c4c91e
Patch408: gdb-ppc-power7-test.patch
8c4c91e
79563d6
# Revert: Add -Wunused-function to compile flags.
79563d6
Patch412: gdb-unused-revert.patch
0911f37
c5a9fdc
# It may crash here but it is not understood why.
c5a9fdc
Patch414: gdb-archer-pie-assert-temp-workaround.patch
c5a9fdc
0911f37
BuildRequires: ncurses-devel%{?_isa} texinfo gettext flex bison expat-devel%{?_isa}
0911f37
Requires: readline%{?_isa}
0911f37
BuildRequires: readline-devel%{?_isa}
0911f37
%if 0%{!?el5:1}
eb11e3c
# dlopen() no longer makes rpm-libs a mandatory dependency.
0911f37
#Requires: rpm-libs%{?_isa}
0911f37
BuildRequires: rpm-devel%{?_isa}
0911f37
%endif # 0%{!?el5:1}
0911f37
Requires: zlib%{?_isa}
0911f37
BuildRequires: zlib-devel%{?_isa}
b39dc5c
%if 0%{!?_without_python:1}
0911f37
%if 0%{!?el5:1}
0911f37
Requires: python-libs%{?_isa}
0911f37
%else
0911f37
Requires: python%{?_isa}
0911f37
%endif
0911f37
BuildRequires: python-devel%{?_isa}
0911f37
# Temporarily before python files get moved to libstdc++.rpm
0911f37
# libstdc++%{bits_other} is not present in Koji, the .spec script generating
0911f37
# gdb/python/libstdcxx/ also does not depend on the %{bits_other} files.
0911f37
BuildRequires: libstdc++%{?_isa}
0911f37
%endif # 0%{!?_without_python:1}
fef19e0
b3e4c8b
%if 0%{?_with_testsuite:1}
0911f37
0911f37
# Ensure the devel libraries are installed for both multilib arches.
0911f37
%define bits_local %{?_isa}
0911f37
%define bits_other %{?_isa}
c5a9fdc
%if 0%{!?el5:1}
0911f37
%ifarch s390x
0911f37
%define bits_other (%{__isa_name}-31)
0911f37
%else #!s390x
0911f37
%ifarch ppc
0911f37
%define bits_other (%{__isa_name}-64)
0911f37
%else #!ppc
0911f37
%ifarch sparc64 ppc64 s390x x86_64
0911f37
%define bits_other (%{__isa_name}-32)
0911f37
%endif #sparc64 ppc64 s390x x86_64
0911f37
%endif #!ppc
0911f37
%endif #!s390x
c5a9fdc
%endif #!el5
0911f37
39347a6
BuildRequires: sharutils dejagnu
92dc0e1
# gcc-objc++ is not covered by the GDB testsuite.
0911f37
BuildRequires: gcc gcc-c++ gcc-gfortran gcc-java gcc-objc
0911f37
# Copied from prelink-0.4.2-3.fc13.
0911f37
%ifarch %{ix86} alpha sparc sparcv9 sparc64 s390 s390x x86_64 ppc ppc64
0911f37
# Prelink is broken on sparcv9/sparc64.
0911f37
%ifnarch sparcv9 sparc64
0911f37
BuildRequires: prelink
0911f37
%endif
0911f37
%endif
0911f37
%if 0%{!?rhel:1}
0911f37
BuildRequires: fpc
0911f37
%endif
0911f37
%if 0%{?el5:1}
0911f37
BuildRequires: gcc44 gcc44-gfortran
0911f37
%endif
0911f37
# Copied from gcc-4.1.2-32.
92dc0e1
%ifarch %{ix86} x86_64 ia64 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}
0911f37
# libstdc++-devel of matching bits is required only for g++ -static.
0911f37
BuildRequires: libstdc++%{bits_local} libstdc++%{bits_other}
0911f37
BuildRequires: libgcj%{bits_local} libgcj%{bits_other}
c5a9fdc
%if 0%{!?el5:1}
0911f37
BuildRequires: glibc-static%{bits_local}
92dc0e1
%endif
c5a9fdc
# multilib glibc-static is open Bug 488472:
c5a9fdc
#BuildRequires: glibc-static%{bits_other}
0911f37
# for gcc-java linkage:
0911f37
BuildRequires: zlib-devel%{bits_local} zlib-devel%{bits_other}
c5a9fdc
# Copied from valgrind-3.5.0-1.
c5a9fdc
%ifarch %{ix86} x86_64 ppc ppc64
0911f37
BuildRequires: valgrind%{bits_local} valgrind%{bits_other}
c5a9fdc
%endif
0911f37
0911f37
%endif # 0%{?_with_testsuite:1}
cvsdist 9576717
cvsdist 9576717
%ifarch ia64
0911f37
%if 0%{!?el5:1}
b2d009a
BuildRequires: libunwind-devel >= 0.99-0.1.frysk20070405cvs
b2d009a
Requires: libunwind >= 0.99-0.1.frysk20070405cvs
7c98e3b
%else
0911f37
BuildRequires: libunwind >= 0.96-3
0911f37
Requires: libunwind >= 0.96-3
cvsdist 9576717
%endif
dccf7f2
%endif
0911f37
8336d58
Requires(post): /sbin/install-info
8336d58
Requires(preun): /sbin/install-info
cvsdist c049b6a
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
0911f37
%if 0%{!?el5:1}
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
08593f1
This package provides a program that allows you to run GDB on a different machine than the one which is running the program being debugged.
0911f37
%endif # 0%{!?el5:1}
08593f1
cvsdist c049b6a
%prep
16ccb4d
16ccb4d
# This allows the tarball name to be different from our
16ccb4d
# version-release name.
16ccb4d
16ccb4d
%setup -q -n %{gdb_src}
16ccb4d
8ae3364
# libstdc++ pretty printers.
0911f37
tar xjf %{SOURCE4}
8ae3364
8336d58
# Files have `# <number> <file>' statements breaking VPATH / find-debuginfo.sh .
8336d58
rm -f gdb/ada-exp.c gdb/ada-lex.c gdb/c-exp.c gdb/cp-name-parser.c gdb/f-exp.c
8336d58
rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
8336d58
16ccb4d
# Apply patches defined above.
cvsdist 6f603ff
5bed391
# Match the Fedora's version info.
5bed391
%patch2 -p1
5bed391
5bed391
%if 0%{!?_with_upstream:1}
5bed391
45f7971
#patch232 -p1
1592379
%patch349 -p1
0911f37
%patch124 -p1
00cf531
%patch1 -p1
75eaddb
%patch3 -p1
7bf686c
f56d3db
%patch104 -p1
43873a6
%patch105 -p1
43873a6
%patch106 -p1
43873a6
%patch111 -p1
aeaef79
%patch112 -p1
dd9987d
%patch118 -p1
e3c8b47
%patch122 -p1
f5d5709
%patch125 -p1
e3c8b47
%patch133 -p1
6cc37db
%patch136 -p1
20b150b
%patch140 -p1
2280d55
%patch141 -p1
5a72cda
%patch259 -p1
955cd49
%patch142 -p1
e3c8b47
%patch145 -p1
2b9b6c1
%patch148 -p1
0e6b692
%patch153 -p1
d939943
%patch157 -p1
82cee5f
%patch158 -p1
8464198
%patch160 -p1
d5a2446
%patch161 -p1
a0101bc
%patch162 -p1
486c3bb
%patch163 -p1
658b489
%patch164 -p1
fbb51ac
%patch169 -p1
6417cfc
%patch170 -p1
16b31aa
%patch176 -p1
cb077a3
%patch177 -p1
a23697f
%patch188 -p1
a23697f
%patch190 -p1
ba67a79
%patch194 -p1
ba67a79
%patch195 -p1
ba67a79
%patch196 -p1
50a6238
%patch199 -p1
50a6238
%patch201 -p1
b048379
%patch208 -p1
03e2cd3
%patch209 -p1
509b0ab
%patch211 -p1
b961095
%patch213 -p1
b961095
%patch214 -p1
418be79
%patch215 -p1
418be79
%patch216 -p1
418be79
%patch217 -p1
65bc5f9
%patch225 -p1
4dddad4
%patch229 -p1
aefb0e1
%patch231 -p1
9548cfe
%patch234 -p1
e157c1b
%patch235 -p1
8336d58
%patch240 -p1
8336d58
%patch241 -p1
b2d009a
%patch245 -p1
4b94240
%patch247 -p1
a32d62a
%patch249 -p1
aad703f
%patch254 -p1
5a72cda
%patch258 -p1
c78c51c
%patch260 -p1
a0b6775
%patch261 -p1
5c49e68
%patch263 -p1
5c49e68
%patch265 -p1
5c49e68
%patch266 -p1
e3c8b47
%patch271 -p1
4e2e788
%patch274 -p1
09c22fd
%patch353 -p1
eb9d945
%patch282 -p1
b0ab3a8
%patch284 -p1
4a93050
%patch287 -p1
3f52bbd
%patch289 -p1
ed268f2
%patch290 -p1
d50521f
%patch293 -p1
d50521f
%patch294 -p1
3f52bbd
%patch296 -p1
d945816
%patch298 -p1
08593f1
%patch304 -p1
ed268f2
%patch309 -p1
ed268f2
%patch311 -p1
c499105
%patch315 -p1
e237432
%patch317 -p1
ad4fdd5
%patch318 -p1
dd1aa7b
%patch320 -p1
dd1aa7b
%patch322 -p1
dd1aa7b
%patch324 -p1
666c0ba
%patch326 -p1
9291de5
###patch350 -p1
e9671f2
###patch328 -p1
3a094fb
%patch329 -p1
3a094fb
%patch330 -p1
e3c8b47
%patch331 -p1
e3c8b47
%patch332 -p1
10f824b
%patch337 -p1
e168686
%patch343 -p1
74f680b
%patch348 -p1
373e1bc
%patch360 -p1
40f8d2f
%patch381 -p1
0911f37
%patch382 -p1
0911f37
%patch390 -p1
0911f37
%patch391 -p1
0911f37
%patch392 -p1
8c4c91e
%patch397 -p1
8c4c91e
%patch400 -p1
8c4c91e
%patch403 -p1
8c4c91e
%patch404 -p1
8c4c91e
%patch405 -p1
8c4c91e
%patch389 -p1
8c4c91e
%patch394 -p1
8c4c91e
%patch406 -p1
8c4c91e
%patch407 -p1
8c4c91e
%patch408 -p1
79563d6
%patch412 -p1
c5a9fdc
%patch414 -p1
45f7971
%patch415 -p1
45f7971
%patch393 -p1
45f7971
%patch335 -p1
45f7971
# Patch414: gdb-archer-pie-assert-temp-workaround.patch
45f7971
# It may crash here but it is not understood why.
45f7971
# Patch415: gdb-6.6-buildid-locate-core-as-arg.patch
45f7971
# Currently disabled for RHEL as it is a new experimental feature not present
45f7971
# in FSF GDB and possibly affecting new user scripts.
c5a9fdc
%if 0%{!?rhel:1}
c5a9fdc
%patch414 -p1 -R
45f7971
%patch415 -p1 -R
c5a9fdc
%endif
0911f37
%if 0%{!?el5:1}
0911f37
%patch393 -p1 -R
0911f37
%patch335 -p1 -R
0911f37
%endif
25ff8a1
25ff8a1
find -name "*.orig" | xargs rm -f
0911f37
! find -name "*.rej" # Should not happen.
6edd3c8
0911f37
%endif # 0%{!?_with_upstream:1}
5bed391
25ff8a1
# Change the version that gets printed at GDB startup, so it is Fedora
cvsdist 6f603ff
# specific.
0911f37
# Fedora (%{version}-%{release})
0911f37
# Red Hat Enterprise Linux (%{version}-%{release})
cvsdist d40fc7c
cat > gdb/version.in << _FOO
25ff8a1
Fedora (%{version}-%{release})
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
cvsdist c049b6a
%build
cvsdist d40fc7c
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
16ccb4d
rm -fr %{gdb_build}
16ccb4d
mkdir %{gdb_build}
16ccb4d
cd %{gdb_build}
16ccb4d
92dc0e1
# g77 executable is no longer present in Fedora gcc-4.x+.
cd60710
g77="`which gfortran 2>/dev/null || true`"
cd60710
test -z "$g77" || ln -s "$g77" ./g77
92dc0e1
8898d54
export CFLAGS="$RPM_OPT_FLAGS"
535451a
b3e4c8b
%if 0%{?_with_debug:1}
5bed391
# --enable-werror could conflict with `-Wall -O0' but this is no longer true
5bed391
# for recent GCCs.
b3e4c8b
CFLAGS="$CFLAGS -O0 -ggdb2"
b3e4c8b
%endif
cvsdist d40fc7c
0911f37
../configure							\
0911f37
	--prefix=%{_prefix}					\
0911f37
	--libdir=%{_libdir}					\
0911f37
	--sysconfdir=%{_sysconfdir}				\
0911f37
	--mandir=%{_mandir}					\
0911f37
	--infodir=%{_infodir}					\
0911f37
	--with-gdb-datadir=%{_datadir}/gdb			\
0911f37
	--with-pythondir=%{_datadir}/gdb/python			\
0911f37
	--enable-gdb-build-warnings=,-Wno-unused		\
dccf7f2
%ifnarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64 sparcv9 sparc64
0911f37
	--disable-werror					\
0911f37
%else
5bed391
%if 0%{?_with_upstream:1}
0911f37
	--disable-werror					\
5bed391
%else
0911f37
	--enable-werror						\
5bed391
%endif
5bed391
%endif
0911f37
	--with-separate-debug-dir=/usr/lib/debug		\
0911f37
	--disable-sim						\
0911f37
	--disable-rpath						\
0911f37
	--with-system-readline					\
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}
0911f37
	--with-python						\
b39dc5c
%else
0911f37
	--without-python					\
0911f37
%endif
0911f37
$(: Workaround rpm.org#76, BZ 508193 on recent OSes. )		\
0911f37
$(: RHEL-5 librpm has incompatible API. )			\
0911f37
%if 0%{?el5:1}
0911f37
	--without-rpm						\
0911f37
%else
8c4c91e
	--with-rpm=librpm.so.1					\
b39dc5c
%endif
b2d009a
%ifarch ia64
0911f37
	--with-libunwind					\
b2d009a
%else
0911f37
	--without-libunwind					\
b2d009a
%endif
0911f37
	--enable-64-bit-bfd					\
b3e4c8b
%if 0%{?_with_debug:1}
0911f37
	--enable-static --disable-shared --enable-debug		\
b3e4c8b
%endif
dccf7f2
%ifarch sparcv9
dccf7f2
	sparc-%{_vendor}-%{_target_os}%{?_gnu}
dccf7f2
%else
2d64357
	%{_target_platform}
dccf7f2
%endif
cvsdist c049b6a
8336d58
make %{?_smp_mflags}
8336d58
make %{?_smp_mflags} info
cvsdist 9576717
0911f37
grep '#define HAVE_ZLIB_H 1' gdb/config.h
0911f37
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
7db944e
%if 0%{!?_with_upstream:1}
2da8118
  # Run all the scheduled testsuite runs also in the PIE mode.
7db944e
  # Upstream GDB would lock up the testsuite run for too long on its failures.
3a094fb
  CHECK="$(echo $CHECK|sed 's#check//unix/[^ ]*#& &/-fPIE/-pie#g')"
0911f37
%endif # 0%{!?_with_upstream:1}
2da8118
0911f37
  ./orphanripper make %{?_smp_mflags} -k $CHECK \
0911f37
$(: Serialize the output to keep the order for regression checks. ) \
0911f37
%if 0%{?el5:1}
0911f37
    RUNTESTFLAGS="--tool gdb" \
0911f37
%endif
0911f37
    || :
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
cvsdist 0ecfa67
# install the gcore script in /usr/bin
9b2688b
cp $RPM_BUILD_DIR/%{gdb_src}/gdb/gdb_gcore.sh $RPM_BUILD_ROOT%{_bindir}/gcore
9b2688b
chmod 755 $RPM_BUILD_ROOT%{_bindir}/gcore
cvsdist 0ecfa67
666c0ba
# Remove the gdb/gdbtui binaries duplicity.
666c0ba
test -x $RPM_BUILD_ROOT%{_prefix}/bin/gdbtui
666c0ba
ln -sf gdb $RPM_BUILD_ROOT%{_prefix}/bin/gdbtui
666c0ba
cmp $RPM_BUILD_ROOT%{_mandir}/*/gdb.1 $RPM_BUILD_ROOT%{_mandir}/*/gdbtui.1
666c0ba
ln -sf gdb.1 $RPM_BUILD_ROOT%{_mandir}/*/gdbtui.1
666c0ba
8ae3364
%if 0%{!?_without_python:1}
8ae3364
# Temporarily now:
8ae3364
for LIB in lib lib64;do
8ae3364
  LIBPATH="$RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{_prefix}/$LIB"
8ae3364
  mkdir -p $LIBPATH
8ae3364
  # basename is being run only for the native (non-biarch) file.
ab901d8
  sed -e 's,@pythondir@,%{_datadir}/gdb/python,'		\
8ae3364
      -e 's,@toolexeclibdir@,%{_prefix}/'"$LIB,"		\
8ae3364
      < $RPM_BUILD_DIR/%{gdb_src}/%{libstdcxxpython}/hook.in	\
8ae3364
      > $LIBPATH/$(basename %{_prefix}/%{_lib}/libstdc++.so.6.*)-gdb.py
8ae3364
done
ab901d8
test ! -e $RPM_BUILD_ROOT%{_datadir}/gdb/python/libstdcxx
8ae3364
cp -a $RPM_BUILD_DIR/%{gdb_src}/%{libstdcxxpython}/libstdcxx	\
ab901d8
      $RPM_BUILD_ROOT%{_datadir}/gdb/python/libstdcxx
0911f37
%endif # 0%{!?_without_python:1}
8ae3364
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 93462a8
rm -f $RPM_BUILD_ROOT%{_infodir}/mmalloc*
cvsdist 6f603ff
rm -f $RPM_BUILD_ROOT%{_infodir}/configure*
9b2688b
rm -rf $RPM_BUILD_ROOT%{_includedir}
cvsdist 93462a8
rm -rf $RPM_BUILD_ROOT/%{_libdir}/lib{bfd*,opcodes*,iberty*,mmalloc*}
cvsdist c049b6a
cvsdist 6f603ff
# Delete this too because the dir file will be updated at rpm install time.
cvsdist 6f603ff
# We don't want a gdb specific one overwriting the system wide one.
cvsdist c049b6a
cvsdist 6f603ff
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
cvsdist c049b6a
338fe93
%if 0%{!?_with_upstream:1}
08593f1
# pstack obsoletion
08593f1
08593f1
cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man1/gstack.1
0911f37
%if 0%{!?el5:1}
08593f1
ln -s gstack.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/pstack.1.gz
08593f1
ln -s gstack $RPM_BUILD_ROOT%{_bindir}/pstack
0911f37
%endif # 0%{!?el5:1}
0911f37
%endif # 0%{!?_with_upstream:1}
08593f1
cvsdist c049b6a
%clean
cvsdist c049b6a
rm -rf $RPM_BUILD_ROOT
cvsdist c049b6a
cvsdist c049b6a
%post
cvsdist 6f603ff
# This step is part of the installation of the RPM. Not to be confused
cvsdist 6f603ff
# with the 'make install ' of the build (rpmbuild) process.
cvsdist 6f603ff
0911f37
# For --excludedocs:
0911f37
if [ -e %{_infodir}/gdb.info.gz ]
0911f37
then
0911f37
  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
0911f37
  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
0911f37
  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
0911f37
  /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
0911f37
fi
cvsdist c049b6a
cvsdist c049b6a
%preun
0911f37
if [ $1 = 0 ]
0911f37
then
0911f37
  # For --excludedocs:
0911f37
  if [ -e %{_infodir}/gdb.info.gz ]
0911f37
  then
0911f37
    /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
0911f37
    /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
0911f37
    /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || :
0911f37
    /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || :
0911f37
  fi
cvsdist c049b6a
fi
cvsdist c049b6a
cvsdist c049b6a
%files
cvsdist c049b6a
%defattr(-,root,root)
cvsdist c049b6a
%doc COPYING COPYING.LIB README NEWS
08593f1
%{_bindir}/gcore
08593f1
%{_bindir}/gdb
08593f1
%{_bindir}/gdbtui
08593f1
%{_mandir}/*/gdb.1*
08593f1
%{_mandir}/*/gdbtui.1*
338fe93
%if 0%{!?_with_upstream:1}
338fe93
%{_bindir}/gstack
08593f1
%{_mandir}/*/gstack.1*
0911f37
%if 0%{!?el5:1}
0911f37
%{_bindir}/pstack
08593f1
%{_mandir}/*/pstack.1*
0911f37
%endif # 0%{!?el5:1}
0911f37
%endif # 0%{!?_with_upstream:1}
e93d347
%{_datadir}/gdb
cvsdist 710c7cd
%{_infodir}/annotate.info*
cvsdist c049b6a
%{_infodir}/gdb.info*
cvsdist 6f603ff
%{_infodir}/gdbint.info*
cvsdist c049b6a
%{_infodir}/stabs.info*
cvsdist c049b6a
cvsdist c049b6a
# don't include the files in include, they are part of binutils
cvsdist c049b6a
0911f37
%ifnarch sparcv9
0911f37
%if 0%{!?el5:1}
08593f1
%files gdbserver
0911f37
%defattr(-,root,root)
0911f37
%endif
08593f1
%{_bindir}/gdbserver
08593f1
%{_mandir}/*/gdbserver.1*
dccf7f2
%endif
08593f1
cvsdist c049b6a
%changelog
45f7971
* Thu Jan 28 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100128-10.fc13
45f7971
- Upgrade to the FSF GDB snapshot: 7.0.50.20100128
45f7971
- archer-jankratochvil-fedora13 commit: 39c5a8b75fad3acd7204903db5dee025055a4594
45f7971
  - Fix a regression on "AAA::ALPHA" test due to a merge from FSF GDB.
45f7971
- Fix a regression of previous release due to false identification as core file.
45f7971
- Move ifunc .patch into the GIT-managed archer-jankratochvil-fedora13 branch.
45f7971
- Update gdb.pie/corefile.exp from 2007-01-26 FSF GDB commit by Andreas Schwab.
45f7971
b469073
* Mon Jan 25 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100121-9.fc13
b469073
- Enable loading a core file just as a single argument to /usr/bin/gdb.
b469073
7abf5f4
* Sun Jan 24 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100121-8.fc13
7abf5f4
- testsuite: Fix gdb.arch/i386-bp_permanent.exp regression
7abf5f4
755bb6f
* Sun Jan 24 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100121-7.fc13
755bb6f
- Update gdb.arch/powerpc-power7.exp for current binutils HEAD.
755bb6f
9291de5
* Fri Jan 22 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100121-6.fc13
9291de5
- Disable addon (finish) due to inline-cmds.exp: up from outer_inline2 assert.
9291de5
- Fix gdb.arch/powerpc-power7.exp compatibility.
9291de5
e9671f2
* Fri Jan 22 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100121-5.fc13
e9671f2
- Disable break-by-name on inlined functions due to a regression on parameters
e9671f2
  of inlined functions falsely <optimized out> (BZ 556975 Comment 8).
e9671f2
c5a9fdc
* Fri Jan 22 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100121-4.fc13
c5a9fdc
- Adjust BuildRequires for RHELs, add ExcludeArch on ia64.
c5a9fdc
- Disable one PIE-introduced assertion on RHELs.
c5a9fdc
39d52ac
* Thu Jan 21 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100121-3.fc13
39d52ac
- Revert FSF GDB gdbserver tracepoints as incomplete now.
39d52ac
5542e35
* Thu Jan 21 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100121-2.fc13
5542e35
- archer-jankratochvil-fedora13 commit: 21e418c04290aa5d2e75543d31fe3fe5d70d6d41
5542e35
- [expr-cumulative] Fix "break expr if (cond)" regression.
5542e35
79563d6
* Thu Jan 21 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100121-1.fc13
79563d6
- Upgrade to the FSF GDB snapshot: 7.0.50.20100121
79563d6
- archer-jankratochvil-fedora13 commit: ccde1530479cc966374351038057b9dda90aa251
79563d6
- [expr-cumulative] Archer branch is now included.
79563d6
a7d6efc
* Tue Jan 19 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100118-2.fc13
a7d6efc
- Fix false PASS->FAIL of gdb.arch/i386-biarch-core.exp.
a7d6efc
626a905
* Tue Jan 19 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100118-1.fc13
626a905
- Upgrade to the FSF GDB snapshot: 7.0.50.20100118
626a905
- Upgrade libstdc++-v3-python to r155978 (Phil Muldoon).
626a905
8c4c91e
* Sat Jan 16 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.50.20100116-1.fc13
8c4c91e
- Upgrade to the FSF GDB snapshot: 7.0.50.20100116
8c4c91e
- archer-jankratochvil-fedora13 commit: 81810a20b2d2c3bf18e151de3cddfc96445b3c46
8c4c91e
- [expr-cumulative] Archer branch is missing in this release.
8c4c91e
- Update rpm.org#76 workaround for rpm-4.8 using librpm.so.1.
8c4c91e
- Dissect archer-jankratochvil-misc into Patch403...Patch408.
8c4c91e
- Some regressions exist in this release.
8c4c91e
0911f37
* Tue Jan 12 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.1-25.fc12
0911f37
- non-librpm missing debuginfo yumcommand now prints also --disablerepo='*'
0911f37
  to save some bandwidth by yum (Robin Green, BZ 554152).
0911f37
0911f37
* Sun Jan 10 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.1-24.fc12
0911f37
- testsuite: BuildRequires also valgrind.
0911f37
0911f37
* Fri Jan  8 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.1-23.fc12
0911f37
- Workaround missing libstdc++%%{bits_other} in Koji.
0911f37
0911f37
* Fri Jan  8 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.1-22.fc12
0911f37
- Comply with new package review:
0911f37
  - Fix .spec Source as this is not a snapshot now.
0911f37
  - Convert all spaces to tabs.
0911f37
  - Fix missing %%defattr at %%files for gdbserver.
0911f37
  - Replace all hardcoded-library-path by variants of %%{_isa}.
0911f37
- Include %%{_isa} for appropriate Requires and BuildRequires.
0911f37
0911f37
* Thu Jan  7 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.1-21.fc12
0911f37
- [vla] Fix regression on fields of structs in internal vars (BZ 553338).
0911f37
- archer-jankratochvil-fedora12 commit: 6e73988f653ba986e8742f208f17ec084292cbd5
0911f37
0911f37
* Thu Jan  7 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.1-20.fc12
0911f37
- Fix crash reading broken stabs (it377671).
0911f37
0911f37
* Sun Jan  3 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.1-19.fc12
0911f37
- testsuite: Fixup false FAILs for gdb.cp/constructortest.exp.
0911f37
0911f37
* Sat Jan  2 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.1-18.fc12
0911f37
- Fix regression of gdb-7.0 (from 6.8) crashing on typedefed bitfields.
0911f37
- Fix related_breakpoint stale ref crash.
0911f37
0911f37
* Fri Jan  1 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0.1-17.fc12
0911f37
- Formal upgrade to the FSF GDB release gdb-7.0.1.
0911f37
  - Fix regression of gdb-7.0.1 not preserving typedef of a field.
0911f37
0911f37
* Fri Jan  1 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-16.fc12
0911f37
- More RHEL-5 compatibility updates.
0911f37
  - Disable the build-id support by default.
0911f37
  - Bundle back gdbserver to the base gdb package.
0911f37
  - Remove bundled pstack.
0911f37
  - Drop the BuildRequires of rpm-devel.
0911f37
0911f37
* Fri Jan  1 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-15.fc12
0911f37
- Fix error on a sw watchpoint active at function epilogue (hit on s390x).
0911f37
- testsuite: Fix false MI "unknown output after running" regression.
0911f37
- testsuite: Update ia64-sigtramp.exp for recent GDB.
0911f37
- Implement bt-clone-stop.exp fix also for ia64.
0911f37
- testsuite: Upstream condbreak.exp results stability fix (Daniel Jacobowitz).
0911f37
0911f37
* Thu Dec 24 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-14.fc12
0911f37
- testsuite: Fix constructortest.exp and expand-sals.exp for gcc-4.4.2-20.fc12.
0911f37
0911f37
* Mon Dec 21 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-13.fc12
0911f37
- [pie] Fix a race in testcase gdb.base/valgrind-db-attach.exp.
0911f37
- Fix regression by python on ia64 due to stale current frame.
0911f37
- Disable python iff RHEL-5 && (Brew || ppc64).
0911f37
0911f37
* Mon Dec 21 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-12.fc12
0911f37
- Workaround build on native ppc64 host.
0911f37
- More RHEL-5 compatibility updates.
0911f37
  - Disable warning messages new for gdb-6.8+ for RHEL-5 backward compatibility.
0911f37
  - Workaround RHEL-5 kernels for detaching SIGSTOPped processes (BZ 498595).
0911f37
  - Serialize the testsuite output to keep the order for regression checks.
0911f37
  - Re-enable python for all non-ppc* arches.
0911f37
  - More gcc44 stack exceptions when running the testsuite on RHEL-5.
0911f37
- Fix backward compatibility with G++ 4.1 namespaces "::".
0911f37
- Fix regression on re-setting the single ppc watchpoint slot.
0911f37
- Update snapshot of FSF gdb-7.0.x branch.
0911f37
  - Backport fix of dcache invalidation locking up GDB on ppc64 targets.
0911f37
0911f37
* Fri Dec 18 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-11.fc12
0911f37
- [pie] Fix general ppc64 regression due to a function descriptors bug.
0911f37
- [pie] Fix also keeping breakpoints disabled in PIE mode.
0911f37
- Import upstream <tab>-completion crash fix.
0911f37
- Drop some unused patches from the repository.
0911f37
- More RHEL-5 build compatibility updates.
0911f37
  - Use gfortran44 when running the testsuite on RHEL-5.
0911f37
  - Disable python there due to insufficient ppc multilib.
0911f37
- Fix orphanripper hangs and thus enable it again.
0911f37
0911f37
* Mon Dec 14 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-10.fc12
0911f37
- Make gdb-6.3-rh-testversion-20041202.patch to accept both RHEL and Fedora GDB.
0911f37
- Adjust BuildRequires for Fedora-12, RHEL-6 and RHEL-5 builds.
0911f37
- [vla] Fix compatibility of dynamic arrays with iFort (BZ 514287).
0911f37
- Fix stepping through OMP parallel Fortran sections (BZ 533176).
0911f37
- New fix of bp conditionals [bp_location-accel] regression (BZ 538626).
0911f37
0911f37
* Mon Dec  7 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-9.fc12
0911f37
- Replace the PIE (Position Indepdent Executable) support patch by a new one.
0911f37
- Drop gdb-6.3-nonthreaded-wp-20050117.patch as fuzzy + redundant.
0911f37
- Fix callback-mode readline-6.0 regression for CTRL-C.
0911f37
- Fix syscall restarts for amd64->i386 biarch.
0911f37
- Various testsuite results stability fixes.
0911f37
- Fix crash on reading stabs on 64bit (BZ 537837).
0911f37
- archer-jankratochvil-fedora12 commit: 16276c1aad1366b92e687c72cab30192280e1906
0911f37
- archer-jankratochvil-pie-fedora12 ct: 2ae60b5156d43aabfe5757940eaf7b4370fb05d2
0911f37
0911f37
* Thu Dec  3 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-8.fc12
0911f37
- Fix slowness/hang when printing some variables (Sami Wagiaalla, BZ 541093).
0911f37
- archer-jankratochvil-fedora12 commit: 6817a81cd411acc9579f04dcc105e9bce72859ff
0911f37
0911f37
* Wed Nov 25 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-7.fc12
0911f37
- Support GNU IFUNCs - indirect functions (BZ 539590).
0911f37
- Fix bp conditionals [bp_location-accel] regression (Phil Muldoon, BZ 538626).
0911f37
- Fix missed breakpoint location [bp_location-accel] regression (upstream).
0911f37
0911f37
* Fri Oct 30 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-6
0911f37
- Fix missing zlib-devel BuildRequires to support compressed DWARF sections.
0911f37
- Include post-7.0 FSF GDB fixes.
0911f37
0911f37
* Fri Oct 23 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-5
0911f37
- Make the package buildable on RHEL-5/CentOS-5 (without librpm there).
0911f37
- archer-jankratochvil-fedora12 commit: 5b73ea6a0f74e63db3b504792fc1d37f548bdf5c
0911f37
0911f37
* Fri Oct 23 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-4
0911f37
- Fix rpm --excludedocs (BZ 515998).
0911f37
0911f37
* Thu Oct 22 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-3
0911f37
- Support multiple directories for `set debug-file-directory' (BZ 528668).
0911f37
0911f37
* Mon Oct 19 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-2
0911f37
- Sync the .spec with RHEL/CentOS without EPEL, do not BuildRequires: fpc there.
0911f37
0911f37
* Wed Oct  7 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.0-1
0911f37
- Formal upgrade to the final FSF GDB release gdb-7.0.
0911f37
- Fix GNU/Linux core open: Can't read pathname for load map: Input/output error.
0911f37
- archer-jankratochvil-fedora12 commit: ce4ead356654b951a49ca78d81ebfff95e758bf5
0911f37
0911f37
* Wed Sep 30 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.91.20090930-2
0911f37
- Bump release.
0911f37
ab901d8
* Wed Sep 30 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.91.20090930-1
ab901d8
- Fix broken python "help()" command "modules" (BZ 526552).
ab901d8
- Upgrade to the FSF GDB gdb-7.0 snapshot: 6.8.91.20090930
ab901d8
- archer-jankratochvil-fedora12 commit: 7cb860f03e2437c97239334ebe240d06f45723e0
ab901d8
40f8d2f
* Sun Sep 27 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.91.20090925-3
40f8d2f
- New test for step-resume breakpoint placed in multiple threads at once.
40f8d2f
580e056
* Fri Sep 25 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.91.20090925-2
580e056
- Fix buildid-loading libs w/matching name but different build-id (BZ 524572).
580e056
4d3aa56
* Fri Sep 25 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.91.20090925-1
4d3aa56
- Upgrade to the FSF GDB gdb-7.0 snapshot: 6.8.91.20090925
4d3aa56
- archer-jankratochvil-fedora12 commit: 4338ea85c798007c32594032f602db9fd230eba9
4d3aa56
  - [python] Don't directly reference self.frame (Tom Tromey).
4d3aa56
  - [expr] Updates from branch (Keith Seitz).
4d3aa56
a8e7ccc
* Mon Sep 21 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.91.20090921-1
a8e7ccc
- Upgrade to the FSF GDB gdb-7.0 snapshot: 6.8.91.20090921
a8e7ccc
- archer-jankratochvil-fedora12 commit: 0d5c38dd89050c0ee1cf049656f177c170d675d4
a8e7ccc
  - [expr] Check has_stack_frames before calling find_pc_line (Sami Wagiaalla).
a8e7ccc
8ae3364
* Thu Sep 17 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.91.20090917-2
8ae3364
- Include bundled libstdc++ python; it will be in libstdc++-devel since gcc-4.5.
8ae3364
e93d347
* Thu Sep 17 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.91.20090917-1
e93d347
- Upgrade to the FSF GDB gdb-7.0 branch and snapshot: 6.8.91.20090917
e93d347
- archer-jankratochvil-fedora12 commit: 16f3f01cc2cbc15283462eaabdfcde92cf42cdc6
e93d347
- Drop the qsort_cmp workaround as resolved in FSF GDB now (BZ 515434).
e93d347
806f8c8
* Thu Sep 10 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090910-1
806f8c8
- Upgrade to the FSF GDB gdb-6.8.50 snapshot: 6.8.50.20090910
806f8c8
- archer-jankratochvil-fedora12 commit: 941eb487a42933e442cb4d11344cda96ecb8a04d
806f8c8
  - [next-over-throw] Fix exceptions thrown during next (Tom Tromey).
806f8c8
  - [bp_location-accel] Do not (much) slow down on 500+ breakpoints (me).
806f8c8
2164cda
* Thu Sep  3 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090818-8
2164cda
- archer-jankratochvil-fedora12 commit: a081d2f12945e9468edd5f4341d3e945bd0fefe9
2164cda
  - [expr] Fix too slow lookups in large C++ programs (Sami Wagiaalla).
2164cda
  - [python] Fix varobj changed values reporting (GDB PR 10584, Tom Tromey).
2164cda
594e04b
* Tue Sep  1 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090818-7
594e04b
- archer-jankratochvil-fedora12 commit: d25596676e8811b03f8c9aba6bbd04ebaa9ff5db
594e04b
  - [call-frame-cfa] Fix parsing CFA-relative frames (BZ 516627, Tom Tromey).
594e04b
  - [vla] variable length Fortran strings for -O -g code (part of BZ 508406, me).
594e04b
  - [python] varobj + general fixes (Tom Tromey).
594e04b
8bf73e0
* Fri Aug 28 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090818-6
8bf73e0
- Real upstream fixup of qsort_cmp (BZ 515434).
8bf73e0
- Revert bitfields regression (BZ 520129).
8bf73e0
ab83f24
* Tue Aug 25 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090818-5
ab83f24
- Temporarily disable assertion checks crashing in qsort_cmp (BZ 515434).
ab83f24
0435006
* Wed Aug 19 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090818-4
0435006
- Fixup "bad type" internal error, import from FSF GDB.
0435006
- archer-jankratochvil-fedora12 commit: 2ba2bc451eb832182ef84c3934115de7a329da7c
0435006
6370c17
* Tue Aug 18 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090818-3
6370c17
- archer-jankratochvil-fedora12 commit: 850e3cb38a25cb7fdfa4cef667626ffbde51bcac
6370c17
- Fix the hardware watchpoints.
6370c17
f340c03
* Tue Aug 18 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090818-2
f340c03
- Fix patch fuzz 0.
f340c03
a97b573
* Tue Aug 18 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090818-1
a97b573
- Upgrade to the FSF GDB gdb-6.8.50 snapshot: 6.8.50.20090818
a97b573
- archer-jankratochvil-fedora12 commit: 5e0d1cc74f119391a2c3ae25ef5749fc28674f06
a97b573
2280d55
* Wed Aug 12 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090811-4
2280d55
- Fix minor regressions introduced by the rebase from F-11 (6.8.50.20090302).
2280d55
833a63e
* Tue Aug 11 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090811-3
833a63e
- archer-jankratochvil-fedora12 commit: 2888fafe63889757c6fd27ccc2f25661d43fd1a4
833a63e
- Drop archer-jankratochvil-vla VAROBJ invalidate/revalidate split to fix
833a63e
  regressions against FSF GDB HEAD.
833a63e
99fa6c9
* Tue Aug 11 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090811-2
99fa6c9
- archer-jankratochvil-fedora12 commit: 93f5e942bdcdcc376ece452c309bedabae71def9
99fa6c9
- Fix "can't compute CFA for this frame" (by Tom Tromey, BZ 516627).
99fa6c9
912c396
* Tue Aug 11 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090811-1
912c396
- Support constant DW_AT_data_member_location by GCC PR debug/40659 (BZ 515377).
912c396
- Fix .spec URL.
912c396
- archer-jankratochvil-fedora12 commit: 81de3c6abae4f7e3738aa9bcc0ab2f8725cce252
912c396
912c396
* Mon Aug 10 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090810-2
273e7e9
- Upgrade to the FSF GDB gdb-6.8.50 snapshot: 6.8.50.20090810
273e7e9
- archer-jankratochvil-fedora12 commit: 93ec16e6f5000dd64d433d86674e820ed0f35b72
273e7e9
657c7f1
* Tue Aug  4 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090803-2
657c7f1
- Drop the bundled libstdc++ python - it should be packaged on its own now.
657c7f1
e5611bf
* Tue Aug  4 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090803-1
e5611bf
- Upgrade to the FSF GDB gdb-6.8.50 snapshot: 6.8.50.20090803
e5611bf
- archer-jankratochvil-fedora12 commit: 0222cb1f4ddd1eda32965e464cb60b1e44e110b2
e5611bf
6ca358b
* Fri Jul 31 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-42
6ca358b
- Release bump only.
6ca358b
620a59a
* Fri Jul 31 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-41
620a59a
- Fix compatibility of --with-system-readline and readline-6.0+.
620a59a
- Temporarily disabled orphanripper on Fedora 12.
620a59a
d73adb8
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.50.20090302-40
d73adb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d73adb8
364647c
* Mon Jul  6 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-39
364647c
- testsuite: Fix multiple runs in parallel on a single host.
364647c
- testsuite: Remove the rpmbuild option: --with parallel
364647c
- testsuite: Run the testsuite with default rpm _smp_mflags.
364647c
3b9bc6f
* Mon Jul  6 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-38
3b9bc6f
- Archer update to the snapshot: 17bfc0488f54aeeb7a9e20ef3caa7e31e8e985fb
3b9bc6f
- Archer backport: de9c5190034b84b0a5fb4b98b05b304cda187700
3b9bc6f
  - [vla] Fix a crash regression on constant DW_AT_data_member_location.
3b9bc6f
a0312d1
* Mon Jun 29 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-37
a0312d1
- Replace the fix of cloned-TIDs with no pthread from upstream (BZ 471819).
a0312d1
- Fix a parallel testsuite runs incompatibility in gdb.base/gcore-shmid0.exp.
a0312d1
b92be7d
* Mon Jun 29 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-36
b92be7d
- Fix GDB crash on cloned-TIDs with no associated pthread (BZ 471819).
b92be7d
- Workaround rpm.org#76 rpm-devel requirement for debuginfo names (BZ 508193).
b92be7d
6f11400
* Mon Jun 22 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-35
6f11400
- Accelerate sorting blocks on reading a file (found on WebKit) (BZ 507267).
6f11400
536aae5
* Mon Jun 22 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-34
536aae5
- Fix backtraces from core files with the executable found+loaded via build-id.
536aae5
  - Due to F-11 GCC no longer needlessly duplicating .eh_frame as .debug_frame.
536aae5
f51c5ab
* Tue Jun 16 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-33
f51c5ab
- Archer update to the snapshot: 05c402a02716177c4ddd272a6e312cbd2908ed68
f51c5ab
- Archer backport: 05c402a02716177c4ddd272a6e312cbd2908ed68
f51c5ab
  - Remove the [archer-pmuldoon-exception-rewind-master] branch.
f51c5ab
  - Include this functionality as a FSF GDB accepted patchset.
f51c5ab
bcdbb34
* Mon Jun 15 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-32
bcdbb34
- Fix crash on pending breakpoints with PIE (position-indep.-exec.) (BZ 505943).
bcdbb34
c030186
* Fri Jun 12 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-31
c030186
- Fix an occasional crash during printing of missing debuginfo rpms (BZ 505401).
c030186
638b7b7
* Fri Jun 12 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-30
638b7b7
- Implement DW_OP_call_frame_cfa (for recent GCC).
638b7b7
859e135
* Thu Jun 11 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-29
859e135
- Archer update to the snapshot: 30c13da4efe18f43ee34aa4b29bc86e1a53de548
859e135
- Archer backport: 30c13da4efe18f43ee34aa4b29bc86e1a53de548
859e135
  - Fix dereferencing unbound C arrays (BZ 505163).
859e135
6fcb74e
* Wed Jun 10 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-28
6fcb74e
- Archer update to the snapshot: 000db8b7bfef8581ef099ccca8689cfddfea1be8
6fcb74e
- Archer backport: b8d3bea36b137effc929e02c4dadf73716cb330b
6fcb74e
  - Ignore explicit die representing global scope '::' (gcc 4.1 bug).
6fcb74e
- Archer backport: c2d5c4a39b10994d86d8f2f90dfed769e8f216f3
6fcb74e
  - Fix parsing DW_AT_const_value using DW_FORM_string
6fcb74e
- Archer backport: 8d9ab68fc0955c9de6320bec2821a21e3244600d
0911f37
		 + db41e11ae0a3aec7120ad6ce86450d838af74dd6
6fcb74e
  - Fix Fortran modules/namespaces parsing (but no change was visible in F11).
6fcb74e
- Archer backport: 000db8b7bfef8581ef099ccca8689cfddfea1be8
6fcb74e
  - Fix "some Python error when displaying some C++ objects" (BZ 504356).
6fcb74e
- testsuite: Support new rpmbuild option: --with parallel
6fcb74e
- testsuite: gdb-orphanripper.c: Fix uninitialized `termios.c_line'.
6fcb74e
- Fix crashes due to (missing) varobj revalidation, for VLA (for BZ 377541).
6fcb74e
- Archer backport: 58dcda94ac5d6398f47382505e9d3d9d866d79bf
0911f37
		 + f3de7bbd655337fe6705aeaafcc970deff3dd5d5
6fcb74e
  - Implement Fortran modules namespaces (BZ 466118).
6fcb74e
- Fix crash in the charset support.
6fcb74e
f4df2f3
* Thu Apr 30 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-27
f4df2f3
- Fix race in the ia64 testcase `gdb-6.3-rh-testlibunwind-20041202.patch'.
f4df2f3
b39dc5c
* Mon Apr 27 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-26
b39dc5c
- Support a new rpmbuild option: --without python
b39dc5c
94cd124
* Mon Apr 27 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-25
94cd124
- The Koji build failures may have been by forgotten check-in of the Patch360.
94cd124
dc95c8c
* Mon Apr 27 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-24
dc95c8c
- Another new Koji build fix attempt now by: BuildPreReq: python
dc95c8c
360c47d
* Mon Apr 27 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-23
360c47d
- Fix BuildRequires for new Koji.
360c47d
06e575d
* Mon Apr 27 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-22
06e575d
- Fix pstack/gstack cutting very long lines (BZ 497849).
06e575d
373e1bc
* Sun Apr 19 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-21
373e1bc
- New test for parsing elf64-i386 files for kdump PAE vmcore dumps (BZ 457187).
373e1bc
5db4c14
* Thu Apr 16 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-20
5db4c14
- Fix crash in the charset support.
5db4c14
8aaf99f
* Wed Apr 15 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-19
8aaf99f
- Fix crash on pretty-printer reading uninitialized std::string (BZ 495781).
8aaf99f
906a06f
* Mon Apr 13 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-18
906a06f
- Archer update to the snapshot: d1fee5066408a09423621d1ebc64e6d3e248ed08
906a06f
- Archer backport: 4854339f75bdaf4b228fc35579bddbb2a1fecdc1
906a06f
  - Fix Python FrameIterator.
906a06f
88c9a17
* Mon Apr 13 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-17
88c9a17
- Archer update to the snapshot: 7c250ce99c90cf6097e2ec55ea0f205830979cee
88c9a17
- Archer backport: c14d9ab7eef43281b2052c885f89d2db96fb5f8e
88c9a17
  - Revert a change regressing: gdb.objc/basicclass.exp
88c9a17
- Archer backport: ebd649b96e61a1fb481801b65d827bca998c6633
0911f37
		 + 1f080e897996d60ab7fde20423e2947512115667
88c9a17
		 + 1948198702b51b31d79793fc49434b529b4e245f
88c9a17
		 + e107fb9687bb1e7f74170aa3d19c4a8f6edbb10f
88c9a17
		 + 1e012c996e121cb35053d239a46bd5dc65b0ce60
88c9a17
  - Update the Python API from upstream.
88c9a17
- Archer backport: d3c83ad5ec9f7672b87af9ad29279f459e53da11
88c9a17
  - Fix a Python branch crash.
88c9a17
5b24c14
* Mon Apr 13 2009 Dennis Gilmore <dennis@ausil.us> - 6.8.50.20090302-16
5b24c14
- enable gdbserver package on sparc64
5b24c14
6110293
* Sun Apr  5 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-15
6110293
- Archer update to the snapshot: 7c7c77576669d17ad5072daa47ea3a4fd954483d
6110293
- Archer backport: 7c7c77576669d17ad5072daa47ea3a4fd954483d (Peter Bergner)
6110293
  - Disassemble Power7 instructions right in the default/only -Many GDB mode.
6110293
b5f2aa8
* Sun Apr  5 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-14
b5f2aa8
- Archer update to the snapshot: f6273d446ff87e50976600ba3f71b88d61043e20
b5f2aa8
- Archer backport: f6273d446ff87e50976600ba3f71b88d61043e20
b5f2aa8
  - Use pretty-printers to print base classes inside a derived class.
b5f2aa8
4fe9415
* Mon Mar 30 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-13
4fe9415
- Archer update to the snapshot: d144a3633454046aaeae3e2c369c271834431d36
4fe9415
- Archer backport: a2c49b7640ebe7ce1376902d48d5bbbee600996b
4fe9415
  - Fixup compilation older GCCs.
4fe9415
- Archer backport: fe48224ce1bd22f37a7fa6d111d54c1a340392bf
4fe9415
  - KFAIL 4 cases of: gdb.arch/powerpc-power7.exp
4fe9415
- Archer backport: d144a3633454046aaeae3e2c369c271834431d36
4fe9415
  - Fix C local extern variables (requires gcc-4.4.0-0.30).
4fe9415
3ce5394
* Fri Mar 27 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-12
3ce5394
- Archer update to the snapshot: 837d9879980148af05eae540d92caeb7200f1813
3ce5394
- Archer backport: 8340d06295c8db80c544503458305197891e0348
3ce5394
  - Fixes [master] regression for Eclipse CDT testsuite.
3ce5394
- Archer backport: 16328456d5740917ade0a49bcecc14c4564b9a99
3ce5394
  - Fixes #2 [expr] compatibility with gcc-4.4 on gdb.cp/namespace-using.exp.
3ce5394
- Rebase [expr] on the Keith Seitz's sync with FSF GDB fixing the former merge.
3ce5394
d5fb1cc
* Sun Mar 22 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-11
d5fb1cc
- Archer update to the snapshot: e734ed95d296a3342d4147873c4641cea6c4d7fe
d5fb1cc
- Archer backport: 1e1d73cda98b1adda884b80e07c7b4929c175628
d5fb1cc
  - Fixes [expr] compatibility with gcc-4.4 on gdb.cp/namespace-using.exp.
d5fb1cc
42988d9
* Sun Mar 15 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-10
42988d9
- Archer update to the snapshot: 935f217d3367a642374bc56c6b146d376fc3edab
42988d9
- Archer backport: 281278326412f9d6a3fabb8adc1d419fd7ddc7d7
42988d9
  - Fix [expr] crash reading invalid DWARF C++ symbol "" (BZ 490319).
42988d9
5b5fe7d
* Thu Mar 12 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-9
5b5fe7d
- Archer backport: aafe933b497eee8cfab736a10bae1a90d4bceb18
5b5fe7d
  - [python] Remove duplicate target-wide-charset parameter
5b5fe7d
5e5008a
* Mon Mar  9 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-8
5e5008a
- Archer update to the snapshot: a99e30d08ade4a2df0f943b036cd653bcd12b04d
5e5008a
- Fixes internal error on breaking at a multi-locations C++ caller (BZ 488572).
5e5008a
1a30f6f
* Mon Mar  9 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-7
1a30f6f
- Archer update to the snapshot: ec29855686f2a78d90ebcc63765681249bbbe808
1a30f6f
- Temporarily place libstdc++ pretty printers in this gdb.rpm.
1a30f6f
984eecf
* Sat Mar  7 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-6
984eecf
- Archer update to the snapshot: 543fb2154d3bd551344b990b911be5c6cc703504
984eecf
 - Fixes [delayed-symfile] excessive `(no debugging symbols found)' messages.
984eecf
eb11e3c
* Sat Mar  7 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-5
eb11e3c
- Improve `gdb-6.6-buildid-locate-rpm.patch' by dlopen() (+pkg-config compat.).
eb11e3c
09c22fd
* Sat Mar  7 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-4
09c22fd
- Split `gdb-6.6-buildid-locate.patch' to `gdb-6.6-buildid-locate-rpm.patch'.
09c22fd
8dadf56
* Sat Mar  7 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-3
8dadf56
- Archer update to the snapshot: 6cf16c0711e844094ab694b3d929f7bd30b49f61
8dadf56
- Fix crash on the inlined functions support.
8dadf56
- Fix crash from the PIE support, its varobj_refresh() was called only before
8dadf56
  varobj_invalidate() which is sufficient.
8dadf56
- Fix BuildRequires for the `--with testsuite' runs.
8dadf56
- Use the newly introduced `--with-pythondir' option.
8dadf56
- Remove libstdcxx [python] pretty printers (as included in libstdc++ rpm now).
8dadf56
0d29c1b
* Fri Mar 06 2009 Jesse Keating <jkeating@redhat.com> - 6.8.50.20090302-2
0d29c1b
- Rebuild for new rpm libs
0d29c1b
36474ab
* Mon Mar  2 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090302-1
1592379
- Include the Archer Project: http://sourceware.org/gdb/wiki/ProjectArcher
8dadf56
  snapshot: 8cc3753a9aad85bf53bef54c04334c60d16cb251
1592379
  * [python] Python scripting support: http://sourceware.org/gdb/wiki/PythonGdb
1592379
  * [catch-syscall] Trap and display syscalls.
1592379
  * [delayed-symfile] Improve startup performance by lazily read psymtabs.
1592379
  * [exception-rewind] Fix fatal C++ exceptions in an inferior function call.
36474ab
  * [expr] Expressions, single-quote elimination, C++ input canonicalization.
36474ab
  * [using-directive] C++ namespaces.
1592379
  * [vla] C variable length arrays / DW_FORM_block / Fortran dynamic arrays.
1592379
  * [misc] Fix debuginfoless `return' (BZ 365111), fix command-line macros for
1592379
    expected GCC (BZ 479914), new testcase for valgrind (for BZ 483262),
1592379
    implement `info common' for Fortran, fix Fortran logical-kind=8 (BZ 465310),
36474ab
    fix static variable in C++ constructors (BZ 445912), fix power7 (BZ 485319).
1592379
- Upgrade to the FSF GDB gdb-6.8.50 snapshot.
36474ab
- Fix parsing elf64-i386 files for kdump PAE vmcore dumps (BZ 457187).
36474ab
  - Turn on 64-bit BFD support, globally enable AC_SYS_LARGEFILE.
1592379
e241ec0
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8.50.20090210-2
e241ec0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e241ec0
a1707b2
* Wed Feb 11 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090210-1
a1707b2
- Upgrade to the FSF GDB gdb-6.8.50 snapshot.
a1707b2
81783d0
* Wed Feb 11 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20090209-1
81783d0
- Upgrade to the FSF GDB gdb-6.8.50 snapshot.
81783d0
ec0fcb6
* Mon Feb  9 2009 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20081214-2
ec0fcb6
- Fix crash / implement `finish' into inlined functions (BZ 479781).
c1c2c92
- Drop the gdb.threads/attach-into-signal.exp change as obsolete.
c1c2c92
23cdd3f
* Sun Dec 14 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8.50.20081214-1
407ebe9
- Upgrade to the upstream gdb-6.8.50 snapshot.
407ebe9
39347a6
* Mon Dec  1 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-33
39347a6
- Make `--with testsuite' BuildRequires properly conditional.
39347a6
9b2688b
* Mon Dec  1 2008 Stepan Kasal <skasal@redhat.com> - 6.8-32
9b2688b
- Remove trivial BuildRequires, use rpm macros in a few remaining places.
9b2688b
3dc772c
* Tue Nov 18 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-31
3dc772c
- Enable ia64 hardware watchpoints if created before starting inferior.
3dc772c
84892dc
* Sun Nov  9 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-30
84892dc
- Fix a race in the testcase `gdb.threads/step-thread-exit.exp'.
84892dc
917bed5
* Sun Nov  9 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-29
917bed5
- Fix more the variable-length-arrays support (BZ 468266, feature BZ 377541).
917bed5
- Integrate the `bt full' protection (for BZ 466901) into the VLA patch.
917bed5
3883e15
* Thu Nov  6 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-28
3883e15
- Fix the "never terminate `bt full'" patch false GCC warning / build error.
3883e15
74f680b
* Thu Nov  6 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-27
74f680b
- Fix resolving of variables at locations lists in prelinked libs (BZ 466901),
74f680b
  bugreported by Michal Babej.
74f680b
- Never terminate `bt full' on a problem of variable resolving (for BZ 466901).
74f680b
74f680b
* Thu Nov  6 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-26
bb9a89c
- Fix more the variable-length-arrays support (BZ 468266, feature BZ 377541).
e168686
- Fix the watchpoints conditionals.
bb9a89c
- Fix on PPC spurious SIGTRAPs on active watchpoints.
bb9a89c
- Fix occasional stepping lockup on many threads, seen on ia64.
e168686
5c94ba0
* Mon Nov  3 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-25
5c94ba0
- Fix the variable-length-arrays support (BZ 468266, feature BZ 377541).
5c94ba0
- Fix the debuginfo-install suggestions for missing base packages (BZ 467901),
5c94ba0
  also update the rpm/yum code to no longer require _RPM_4_4_COMPAT.
5c94ba0
fdeb421
* Tue Sep  2 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-24
fdeb421
- Fix PIE patch regression for loading binaries from valgrind (BZ 460319).
fdeb421
10f824b
* Thu Aug 28 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-23
10f824b
- Fix attaching to stopped processes, based on the upstream version now.
10f824b
  - Just kernel-2.6.25 neither upstream nor utrace work with it; 2.6.9 works.
10f824b
- Fix occasional crash on a removed watchpoint.
10f824b
- Fix false testcase FAILs for `gdb.pie/break.exp'.
10f824b
- Fix a false warning (+a testcase FAIL) on s390x watchpoints.
10f824b
- Fix a false FAIL on s390x `gdb.base/dump.exp'.
10f824b
e3c8b47
* Wed Aug 27 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-22
e3c8b47
- Remove `gdb-6.3-nonthreaded-wp-20050117.patch' as obsoleted + regressing now.
e3c8b47
- Make the GDB quit processing non-abortable to cleanup everything properly.
e3c8b47
- Support DW_TAG_constant for Fortran in recent Fedora/RH GCCs.
e3c8b47
- Fix crash on DW_TAG_module for Fortran in recent Fedora/RH GCCs.
e3c8b47
- Readd resolving of bare names of constructors and destructors.
e3c8b47
- Include various vendor testcases:
e3c8b47
  - Leftover zombie process (BZ 243845).
e3c8b47
  - Multithreaded watchpoints (`gdb.threads/watchthreads2.exp').
e3c8b47
  - PIE testcases (`gdb.pie/*').
e3c8b47
  - C++ contructors/destructors (`gdb.cp/constructortest.exp').
e3c8b47
4f698de
* Sat Aug 23 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-21
4f698de
- Fix MI debuginfo print on reloaded exec, found by Denys Vlasenko (BZ 459414).
4f698de
- Extend the Fortran dynamic variables patch also for dynamic Fortran strings.
4f698de
bc809fe
* Wed Aug 13 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-20
bc809fe
- Temporarily disable attaching to a stopped process (BZ 453688)
bc809fe
  - To be reintroduced after a fix of the kernel BZ 454404.
bc809fe
4bbd3a2
* Mon Aug  4 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-19
4bbd3a2
- Fix `errno' printing on nonthreaded non-g3 inferiors (TLS minsym is absolute).
4bbd3a2
3a094fb
* Fri Aug  1 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-18
3a094fb
- Fix powerpc recent secure PLTs handling (shared library calls) (BZ 452960).
3a094fb
- Fix the testsuite .spec runner to run biarch also on ppc.
3a094fb
- Reenable testcases threadcrash.exp, chng-syms.exp, checkpoint.exp (BZ 207002).
3a094fb
- Fix PRPSINFO in the core files dumped by gcore (BZ 254229), reformatted patch
3a094fb
  from Denys Vlasenko.
3a094fb
- Fix register assignments with no GDB stack frames, Denys Vlasenko (BZ 436037).
3a094fb
8b1b3fd
* Mon Jul 14 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-17
8b1b3fd
- Refresh the patchset with fuzz 0 (for new rpmbuild).
8b1b3fd
3f491b2
* Mon Jul 14 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-16
3f491b2
- Rebuild with the new rpm-4.5.90 in the buildroot.
3f491b2
535451a
* Sat Jul 12 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-15
535451a
- Temporary rpm-4.5.90 compatibility workaround by Panu Matilainen.
535451a
- Fix a regression in the constant watchpoints fix, found by Daniel Jacobowitz.
535451a
- Fix the prelink testcase for false FAILs on i386.
535451a
5ca2edc
* Tue Jul  8 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-14
5ca2edc
- Fix crash due to calling an inferior function right after a watchpoint stop.
5ca2edc
942cd23
* Thu Jul  3 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-13
942cd23
- Support transparent debugging of inlined functions for an optimized code.
942cd23
666c0ba
* Fri Jun 20 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-12
666c0ba
- Remove the gdb/gdbtui binaries duplicity.
666c0ba
dd1aa7b
* Tue Jun 17 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-11
dd1aa7b
- Fix the testsuite run for ia64 (where no -m64 is present).
dd1aa7b
- Test a crash on libraries missing the .text section.
dd1aa7b
- Protect development in the build tree by automatic Makefile dependencies.
dd1aa7b
- Refuse creating watchpoints of an address value, suggested by Martin Stransky.
dd1aa7b
- Disable randomization (such as by setarch -R), suggested by Jakub Jelinek.
dd1aa7b
- Fix compatibility with recent glibc headers.
dd1aa7b
2234aa8
* Sun Jun  1 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-10
2234aa8
- Fix crash on a watchpoint update on an inferior stop.
2234aa8
- Fix the s390x part of the hardware watchpoints after a fork.
2234aa8
ad4fdd5
* Thu May 22 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-9
ad4fdd5
- Fix memory trashing on binaries from GNAT/Ada (workaround GCC PR 35998).
ad4fdd5
e237432
* Thu May 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 6.8-8
e237432
- Silence memcpy check which returns false positive (sparc64)
e237432
a8518f3
* Thu May 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 6.8-7
dccf7f2
- patch from DaveM for sparc/sparc64
dccf7f2
- touch up spec to enable sparcv9/sparc64
dccf7f2
a8518f3
* Sat May  3 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-6
1f8808d
- Fix gdb.base/gcore-shmid0.exp to be unresolved on recent kernels.
4824eee
- Make the testsuite results of dfp-test.exp more stable.
1f8808d
17a4f25
* Sun Apr 27 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-5
17a4f25
- Remove the kernel VDSO workaround (`no loadable ...') (kernel BZ 312011).
17a4f25
c499105
* Wed Apr 23 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-4
c499105
- Backport fix on various forms of threads tracking across exec() (BZ 442765).
c499105
- Testsuite: Include more biarch libraries on %%{multilib_64_archs}.
c499105
- Disable the build-id warnings for the testsuite run as they cause some FAILs.
c499105
- Fix PIE support for 32bit inferiors on 64bit debugger.
c499105
- Fix trashing memory on one ada/gnat testcase.
c499105
- Make the testsuite results on ada more stable.
c499105
7db944e
* Wed Apr 16 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-3
7db944e
- Fix ia64 compilation errors (Yi Zhan, BZ 442684).
7db944e
- Fix build on non-standard rpm-devel includes (Robert Scheck, BZ 442449).
7db944e
- Do not run the PIE mode for the testsuite during `--with upstream'.
7db944e
- Fix test of the crash on a sw watchpoint condition getting out of the scope.
7db944e
5f5d7d9
* Fri Apr 11 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-2
5f5d7d9
- Fix a regression due to PIE of reloading a changed exec file (BZ 433410).
5f5d7d9
- Include also biarch libgcc on %%{multilib_64_archs} for the testsuite.
4ebfb44
- Cosmetic fix of a testcase sanity breakpoint setting (part of BZ 233852).
ed268f2
- New test of hiding unexpected breakpoints on intentional step commands.
ed268f2
- New test of GCORE for shmid 0 shared memory mappings.
ed268f2
- New test of a crash on `focus cmd', `focus prev' commands.
e923707
- Fix a minor test race of the hardware watchpoints after the fork call.
a9e8793
- Test crash on a sw watchpoint condition getting out of the scope.
4ebfb44
7d92950
* Fri Mar 28 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.8-1
7d92950
- Upgrade to the latest upstream final release gdb-6.8.
7d92950
338fe93
* Mon Mar 10 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.50.20080227-3
338fe93
- build-id warnings integrated more with rpm and the lists of the warnings got
338fe93
  replaced usually by a single-line `debuginfo-install' advice.
338fe93
  - FIXME: Testsuite needs an update for the new pre-prompt messages.
338fe93
- Fix the `--with upstream' compilation - gstack/pstack are now omitted.
338fe93
5bed391
* Tue Mar  4 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.50.20080227-2
5bed391
- Drop the unused `ChangeLog.RedHat' file stubs.
5bed391
- New rpm option `--with upstream' to drop the Fedora patches for testing.
5bed391
- Drop some no longer valid .spec file comments.
7db944e
- Include the Fortran dynamic arrays entry for changelog of 6.7.50.20080227-1.
5bed391
25ff8a1
* Mon Mar  3 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.50.20080227-1
25ff8a1
- Upgrade to the upstream gdb-6.8 prerelease.
25ff8a1
- Cleanup the leftover `.orig' files during %%prep.
25ff8a1
- Add expat-devel check by the configure script (for the other-arch builds).
25ff8a1
- `--with testsuite' now also BuildRequires: fpc
25ff8a1
- Backport fix of a segfault + PIE regression since 6.7.1 on PIE executables.
25ff8a1
- Update the printed GDB version string to be Fedora specific.
5bed391
- Fix/implement the Fortran dynamic arrays support (BZ 377541).
25ff8a1
2da8118
* Sat Mar  1 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-16
2da8118
- Run the full testsuite also in the `-fPIE -pie' mode.
2da8118
b3e4c8b
* Mon Feb 25 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-15
b3e4c8b
- New --with parameters `testsuite' and `debug'.
b3e4c8b
  - Testsuite is now run during the build only on explicit `--with testsuite'.
b3e4c8b
- Testsuite now possibly produces two outputs for the two GDB target arches.
b3e4c8b
917a6fb
* Thu Feb 21 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-14
917a6fb
- Rename `set debug build-id' as `set build-id-verbose', former level 1 moved
917a6fb
  to level 2, default value is now 1, use `set build-id-verbose 0' now to
917a6fb
  disable the missing separate debug filenames messages (BZ 432164).
917a6fb
08593f1
* Wed Feb 20 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-13
08593f1
- ia64 build fixes from Doug Chapman (BZ 428882).
08593f1
- gdbserver separated into an extra package (BZ 405791).
08593f1
- pstack obsoleted by included gstack (BZ 197020).
08593f1
- Fix #include <asm/ptrace.h> on kernel-headers-2.6.25-0.40.rc1.git2.fc9.x86_64.
08593f1
- Drop the PowerPC simulator as no longer being compatible with Fedora binaries.
08593f1
4d1104a
* Thu Feb  7 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-12
4d1104a
- build-id debug messages print now the library names unconditionally.
4d1104a
6a80c39
* Thu Jan 24 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-11
6a80c39
- Improve the text UI messages for the build-id debug files locating.
6a80c39
  - Require now the rpm libraries.
6a80c39
- Fix false `(no debugging symbols found)' on `-readnever' runs.
6a80c39
- Extend the testcase `gdb.arch/powerpc-prologue.exp' for ppc64.
6a80c39
2a65074
* Sat Jan 12 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-10
2a65074
- Compilation fixup (-9 was never released).
2a65074
d945816
* Sat Jan 12 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-9
d945816
- Fix also threaded inferiors for hardware watchpoints after the fork call.
d945816
- Test debugging statically linked threaded inferiors (BZ 239652).
d945816
  - It requires recent glibc to work in this case properly.
d945816
- Testcase cleanup fixup of the gcore memory and time requirements of 6.7.1-8.
d945816
3f52bbd
* Thu Jan 10 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-8
3f52bbd
- Fix detaching from a threaded formerly stopped process with non-primary
3f52bbd
  thread currently active (general BZ 233852).
3f52bbd
  - Enable back again the testcases named `attachstop.exp' (no such exist now).
3f52bbd
  - Rename the testcase `gdb.threads/attachstop' to `gdb.threads/attachstop-mt'.
3f52bbd
- Test ia64 memory leaks of the code using libunwind.
3f52bbd
- Testcase delay increase (for BZ 247354).
3f52bbd
- Test gcore memory and time requirements for large inferiors.
3f52bbd
d50521f
* Mon Jan  7 2008 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-7
d50521f
- Backport the gcc-4.3 compatibility -Werror fixes.
d50521f
- Fix documentation on hardware watchpoints wrt multiple threads.
d50521f
- Rename the patch file for BZ 235197 from its former name 234468.
d50521f
- Fix the vendora testcase `attach-32.exp' affecting the other tests results.
d50521f
- Support DW_TAG_interface_type the same way as DW_TAG_class_type (BZ 426600).
d50521f
4a93050
* Mon Dec 10 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-6
4a93050
- Testsuite fixes for more stable/comparable results.
4a93050
cd60710
* Sat Nov 24 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-5
cd60710
- Reduce the excessive gcc-* packages dependencies outside of mock/koji.
cd60710
92dc0e1
* Fri Nov 16 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-4
92dc0e1
- Fix `errno' resolving across separate debuginfo files.
92dc0e1
- Fix segfault on no file loaded, `set debug solib 1', `info sharedlibrary'.
92dc0e1
- Extend the testsuite run for all the languages if %%{dist} is defined.
92dc0e1
- Support gdb.fortran/ tests by substituting the g77 compiler by gfortran.
92dc0e1
b0ab3a8
* Sun Nov  4 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-3
b0ab3a8
- Fix `errno' resolving on recent glibc with broken DW_AT_MIPS_linkage_name.
b0ab3a8
- Imported new test for 6.7 PPC hiding of call-volatile parameter register.
b0ab3a8
27c2469
* Sat Nov  3 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-2
27c2469
- Backport `Breakpoints at multiple locations' patch primarily for C++.
27c2469
50dab45
* Thu Nov  1 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7.1-1
50dab45
- Upgrade to GDB 6.7.1.  Drop redundant patches, forward-port remaining ones.
50dab45
eb9d945
* Thu Nov  1 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.7-1
eb9d945
- Upgrade to GDB 6.7.  Drop redundant patches, forward-port remaining ones.
eb9d945
- Fix rereading of the main executable on its change.
eb9d945
cc17157
* Fri Oct 19 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-37
cc17157
- Fix hiding unexpected breakpoints on intentional step/next commands.
cc17157
- Fix s390 compilation warning/failure due to a wrongly sized type-cast.
cc17157
9a1b988
* Sun Oct 14 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-36
9a1b988
- Fix hardware watchpoints after inferior forks-off some process.
9a1b988
bd518c3
* Fri Oct 13 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-35
bd518c3
- Fix non-threaded watchpoints CTRL-C regression on `set follow child'.
bd518c3
84f82bf
* Fri Oct 12 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-34
84f82bf
- Fix gdbserver for threaded applications and recent glibc (BZ 328021).
84f82bf
7969725
* Tue Oct  9 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-33
7969725
- Fix debug load for sparse assembler files (such as vDSO32 for i386-on-x86_64).
7969725
cafa2ff
* Mon Oct  8 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-32
cafa2ff
- Set the breakpoints always to all the ctors/dtors variants (BZ 301701).
cafa2ff
- Fix a TUI visual corruption due to the build-id warnings (BZ 320061).
cafa2ff
- Fixed the kernel i386-on-x86_64 VDSO loading (producing `Lowest section in').
cafa2ff
ddc50f9
* Fri Oct  5 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-31
ddc50f9
- Fix address changes of the ctors/dtors breakpoints w/multiple PCs (BZ 301701).
ddc50f9
- Delete an info doc file on `rpmbuild -bp' later rebuilt during `rpmbuild -bc'.
ddc50f9
435483c
* Tue Sep 25 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-30
435483c
- Fix re-setting of the ctors/dtors breakpoints with multiple PCs (BZ 301701).
435483c
- Avoid one useless user question in the core files locator (build-id).
435483c
dd40115
* Sun Sep 23 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-29
dd40115
- Fixed the kernel VDSO loading (`warning: no loadable sections found in ...').
dd40115
- Fix the testcase for pending signals (from BZ 233852).
dd40115
add1a2d
* Sat Sep 22 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-28
add1a2d
- Support also the `$allocate' and `$delete' ctor/dtor variants (BZ 301701).
add1a2d
- Fix the build compatibility with texinfo >= 4.10.
add1a2d
- Fix the testcase for pending signals (from BZ 233852).
add1a2d
4170586
* Sun Sep 16 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-27
4170586
- Fix attaching to stopped processes and/or pending signals.
4170586
4e2e788
* Tue Aug 28 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-26
4e2e788
- New fast verification whether the .debug file matches its peer (build-id).
4e2e788
- New locating of the matching binaries from the pure core file (build-id).
4e2e788
864733e
* Fri Aug 17 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-25
864733e
- Fixed excessive RPATH (related to BZ 228891).
864733e
daafa05
* Wed Aug  8 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-24
daafa05
- Fixed compatibility with the Rawhide glibc open(2) syscall sanity checking.
daafa05
- Update the core_dump_elf_headers=1 compatibility code to the upstream variant.
daafa05
7a31f8b
* Mon Aug  6 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-23
7a31f8b
- Update PPC unwinding patches to their upstream variants (BZ 140532).
7a31f8b
6614f13
* Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> - 6.6-22
6614f13
- Rebuild for RH #249435
6614f13
2d64357
* Mon Jul 23 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-21
2d64357
- Fixed compatibility with Rawhide kernel fs.binfmt_elf.core_dump_elf_headers=1.
2d64357
- .spec file updates to mostly pass RPMLINT - Fedora merge review (BZ 225783).
2d64357
- Fixed testcase of the exit of a thread group leader (of BZ 247354).
2d64357
- Cleanup any leftover testsuite processes as it may stuck mock(1) builds.
2d64357
5c49e68
* Sun Jul  8 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-20
5c49e68
- Do not hang on exit of a thread group leader (BZ 247354).
5c49e68
- New test for upstream fix of VDSO decoding while attaching to an i386 process.
5c49e68
- Fixed BZ # 232014 -> 232015.
5c49e68
a0b6775
* Thu Jul  5 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-19
a0b6775
- Link with libreadline provided by the operating system.
a0b6775
c78c51c
* Tue Jun 26 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-18
c78c51c
- Fix PPC software watchpoints active while stepping atomic instr. (BZ 237572).
c78c51c
5a72cda
* Thu Jun 21 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-17
5a72cda
- Support for stepping over PPC atomic instruction sequences (BZ 237572).
5a72cda
- `set scheduler-locking step' is no longer enforced but it is now default.
5a72cda
4e636f8
* Wed Jun 20 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-16
4e636f8
- Fix attaching a stopped process on expected + upstream kernels (BZ 233852).
4e636f8
 - Fix attaching during a pending signal being delivered.
4e636f8
aad703f
* Thu Jun  7 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-15
aad703f
- Testcase update to cover PPC Power6/DFP instructions disassembly (BZ 230000).
aad703f
- Disable some known timeouting/failing testcases to reduce the build time.
aad703f
- Fix crash on missing filenames debug info (BZ 242155).
aad703f
acb618c
* Sat Apr 28 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-14
acb618c
- Fixup for the PPC Power6/DFP instructions disassembly (BZ 230000).
acb618c
- New testcase for the GCORE buffer overflow (for BZ 238285, formerly 235753).
acb618c
1499556
* Wed Apr 25 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-13
1499556
- Fix `gcore' command for 32bit PPC inferiors on 64bit PPC hosts (BZ 232015).
1499556
a32d62a
* Wed Apr 25 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-12
a32d62a
- Enable PowerPC to print 128-bit long double variables (BZ 237872).
1499556
- New testcase for gcore of 32bit inferiors on 64bit hosts.
a32d62a
8336d58
* Tue Apr 24 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-11
8336d58
- Package review, analysed by Ralf Corsepius (BZ 225783).
8336d58
 - Fix prelink(8) testcase for non-root $PATH missing `/usr/sbin' (BZ 225783).
8336d58
 - Fix debugging GDB itself - the compiled in source files paths (BZ 225783).
acb618c
 - Fix harmless GCORE stack buffer overflow, by _FORTIFY_SOURCE=2 (BZ 238285).
8336d58
 - Fix XML support - the build was missing `expat-devel'.
8336d58
 - Updated the `info' files handling by the spec file.
8336d58
 - Building now with the standard Fedora code protections - _FORTIFY_SOURCE=2.
2d64357
 - Use multiple CPUs for the build (%%{?_smp_mflags}).
2d64357
 - Separate testsuite run to its %%check section.
8336d58
 - Fix (remove) non-ASCII spec file characters.
8336d58
 - Remove system tools versions dumping - already present in mock build logs.
8336d58
4b94240
* Sun Apr 22 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-10
4b94240
- Notify user of a child forked process being detached (BZ 235197).
4b94240
b2d009a
* Sun Apr 22 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-9
b2d009a
- Allow running `/usr/bin/gcore' with provided but inaccessible tty (BZ 229517).
b2d009a
- Fix testcase for watchpoints in threads (for BZ 237096).
b2d009a
- BuildRequires now `libunwind-devel' instead of the former `libunwind'.
b2d009a
- Use the runtime libunwind .so.7, it requires now >= 0.99-0.1.frysk20070405cvs.
b2d009a
9a64326
* Sat Mar 24 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-8
9a64326
- Use definition of an empty structure as it is not an opaque type (BZ 233716).
9a64326
- Fixed the gdb.base/attachstop.exp testcase false 2 FAILs.
9a64326
8955b7e
* Thu Mar 15 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-7
8955b7e
- Suggest SELinux permissions problem; no assertion failure anymore (BZ 232371).
8955b7e
eaba00d
* Wed Mar 14 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-6
eaba00d
- Fix occasional dwarf2_read_address: Corrupted DWARF expression (BZ 232353).
eaba00d
e157c1b
* Mon Mar 12 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-5
e157c1b
- Temporary support for shared libraries >2GB on 64bit hosts. (BZ 231832)
e157c1b
9548cfe
* Sun Feb 25 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-4
9548cfe
- Backport + testcase for PPC Power6/DFP instructions disassembly (BZ 230000).
9548cfe
2a21fb5
* Mon Feb  5 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-3
2a21fb5
- Fix a race during attaching to dying threads; backport (BZ 209445).
2a21fb5
- Testcase of unwinding has now marked its unsolvable cases (for BZ 140532).
2a21fb5
dfe7fd4
* Fri Jan 26 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-2
dfe7fd4
- Backported post gdb-6.6 release PPC `show endian' fixup.
dfe7fd4
- Fix displaying of numeric char arrays as strings (BZ 224128).
dfe7fd4
- Simplified patches by merging upstream accepted ones into a single file.
dfe7fd4
aefb0e1
* Sat Jan 20 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-1
aefb0e1
- Upgrade to GDB 6.6.  Drop redundant patches, forward-port remaining ones.
aefb0e1
- Backported post gdb-6.6 release ia64 unwinding fixups.
aefb0e1
- Testcase for exec() from threaded program (BZ 202689).
aefb0e1
376c428
* Mon Jan 15 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-27
376c428
- Fix the testsuite results broken in 6.5-26, stop invalid testsuite runs.
376c428
4dddad4
* Fri Jan 13 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-26
4dddad4
- Fix unwinding of non-debug (.eh_frame) PPC code, Andreas Schwab (BZ 140532).
4dddad4
- Fix unwinding of debug (.debug_frame) PPC code, workaround GCC (BZ 140532).
4dddad4
- Fix missing testsuite .log output of testcases using get_compiler_info().
4dddad4
48f079c
* Fri Jan 12 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-25
48f079c
- Fix unwinding of non-CFI (w/o debuginfo) PPC code by recent GCC (BZ 140532).
48f079c
3cdd4d2
* Thu Jan 11 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-24
3cdd4d2
- Backport readline history for input mode commands like `command' (BZ 215816).
3cdd4d2
65bc5f9
* Tue Jan  9 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-23
65bc5f9
- Find symbols properly at their original (included) file (BZ 109921).
65bc5f9
- Remove the stuck mock(1) builds disfunctional workaround (-> mock BZ 221351).
65bc5f9
803b8bd
* Sat Dec 30 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-22
803b8bd
- Fix unwinding crash on older gcj(1) code (extended CFI support) (BZ 165025).
803b8bd
- Include testcase for the readline history of input mode commands (BZ 215816).
803b8bd
418be79
* Sat Dec 23 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-21
418be79
- Try to reduce sideeffects of skipping ppc .so libs trampolines (BZ 218379).
418be79
- Fix lockup on trampoline vs. its function lookup; unreproducible (BZ 218379).
418be79
b961095
* Tue Dec 19 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-20
b961095
- Fix bogus 0x0 unwind of the thread's topmost function clone(3) (BZ 216711).
b961095
- Testcase for readline segfault on excessively long hand-typed lines.
b961095
2a22042
* Tue Dec 12 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-19
2a22042
- Fix attachment also to a threaded stopped process (BZ 219118).
2a22042
- Cleanup any leftover testsuite processes as it may stuck mock(1) builds.
2a22042
ba921cd
* Sat Nov 25 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-18
ba921cd
- Fix readline history for input mode commands like `command' (BZ 215816).
ba921cd
67e6bd4
* Wed Nov 16 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-17
67e6bd4
- Bugfix testcase typo of gdb-6.5-16.
67e6bd4
509b0ab
* Wed Nov 16 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-16
509b0ab
- Provide testcase for accessing the last address space byte.
509b0ab
03e2cd3
* Wed Nov  9 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-15
03e2cd3
- Fix readline segfault on excessively long hand-typed lines.
03e2cd3
b048379
* Sat Nov  2 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-14
b048379
- Fix "??" resolving of symbols from (non-prelinked) debuginfo packages.
b048379
- Fix "??" resolving of symbols from overlapping functions (nanosleep(3)).
b048379
- Also disable testcase "checkpoint.exp" for a possible kernel Bug 207002.
dd1d9ea
- Provided (disabled during build) threading testsuite from BEA.
b048379
5b4413e
* Sat Oct 14 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-13
5b4413e
- Fix deadlock accessing last address space byte; for corrupted backtraces.
5b4413e
0958562
* Sun Oct  8 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-12
0958562
- Disabled IPv6 until its user visible syntax gets stable upstream.
0958562
50a6238
* Sun Oct  1 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-11
50a6238
- No longer disassemble invalid i386 opcodes of movQ/movA (BZ 172034).
50a6238
- Simplify the IPv6 patch for gdbserver (BZ 198365).
50a6238
- Suggest fixing your target architecture for gdbserver(1) (BZ 190810).
50a6238
- Fix dereferencing registers for 32bit inferiors on 64bit hosts (BZ 181390).
50a6238
- Fix `gcore' command for 32bit inferiors on 64bit hosts.
50a6238
7e80c93
* Wed Sep 27 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-10
7e80c93
- Support IPv6 for gdbserver (BZ 198365).
7e80c93
- Temporarily disable testcase "chng-syms.exp" for a possible kernel Bug 207002.
7e80c93
ba67a79
* Wed Sep 21 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-9
ba67a79
- Fix crash on C++ symbol failing to be demangled (BZ 206813).
ba67a79
- Fix attach to stopped process, supersede `gdb-6.3-attach-stop-20051011.patch'.
ba67a79
- Fix TLS symbols resolving for objects with separate .debug file (-debuginfo).
ba67a79
- Fix TLS symbols resolving for shared libraries with a relative pathname.
ba67a79
- Support TLS symbols (+`errno' suggestion if no pthread is found) (BZ 185337).
ba67a79
b6646b3
* Mon Sep 11 2006 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.5-8
2d64357
- Fix gdb printf command argument using "%%p" (BZ 205551).
b6646b3
e6628c4
* Mon Sep  4 2006 Alexandre Oliva <aoliva@redhat.com> - 6.5-7
e6628c4
- Fix bug in patch for CVE-2006-4146. (BZ 203873, BZ 203880)
e6628c4
a23697f
* Thu Aug 24 2006 Alexandre Oliva <aoliva@redhat.com> - 6.5-6
9920fee
- Avoid overflows and underflows in dwarf expression computation stack.
a23697f
(BZ 203873)
a23697f
a23697f
* Thu Aug 24 2006 Alexandre Oliva <aoliva@redhat.com> - 6.5-5
a23697f
- Backport support for i386 nop memory instructions.
a23697f
- Fix debuginfo addresses resolving for --emit-relocs Linux kernels
a23697f
(BZ 203661, from Jan Kratochvil, like the remaining changes).
a23697f
- Bugfix segv on the source display by ^X 1 (fixes Patch130, BZ
a23697f
200048).
a23697f
- Do not step into the PPC solib trampolines (BZ 200533).
a23697f
- Fix exec() from threaded program, partial CVS backport (BZ 182116).
a23697f
- Fix occasional failure to load shared libraries (BZ 146810).
a23697f
- Bugfix object names completion (fixes Patch116, BZ 193763).
a23697f
- Avoid crash of 'info threads' if stale threads exist (BZ 195429).
a23697f
- Handle corrupted or missing location list information (BZ 196439).
b13204b
3ef6e04
* Thu Jul 13 2006 Alexandre Oliva <aoliva@redhat.com> - 6.5-3
3ef6e04