# rpmbuild parameters: # --with testsuite: Run the testsuite (biarch if possible). Default is without. # --with debug: Build without optimizations and without splitting the debuginfo. # --with upstream: No Fedora specific patches get applied. Summary: A GNU source-level debugger for C, C++, Java and other languages Name: gdb%{?_with_debug:-debug} # Set version to contents of gdb/version.in. # NOTE: the FSF gdb versions are numbered N.M for official releases, like 6.3 # 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). Version: 6.8.50.20090302 # The release always contains a leading reserved number, start it at 1. # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing. Release: 10%{?_with_upstream:.upstream}%{?dist} License: GPLv3+ Group: Development/Debuggers Source: ftp://sourceware.org/pub/gdb/releases/gdb-%{version}.tar.bz2 Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) URL: http://gnu.org/software/gdb/ # For our convenience %define gdb_src gdb-%{version} %define gdb_build build-%{_target_platform} %if 0%{?_with_debug:1} # Define this if you want to skip the strip step and preserve debug info. # Useful for testing. %define __debug_install_post : > %{_builddir}/%{?buildsubdir}/debugfiles.list %define debug_package %{nil} %endif # Make sure we get rid of the old package gdb64, now that we have unified # support for 32-64 bits in one single 64-bit gdb. %ifarch ppc64 Obsoletes: gdb64 < 5.3.91 %endif %if 0%{!?_with_upstream:1} # The last Rawhide release was (no dist tag) pstack-1.2-7.2.2 Obsoletes: pstack < 1.2-7.2.2.1 Provides: pstack = 1.2-7.2.2.1 %endif # 0%{!?_with_upstream:1} # GDB patches have the format `gdb--bz-.patch'. # They should be created using patch level 1: diff -up ./gdb (or gdb-6.3/gdb). # Cleanup any leftover testsuite processes as it may stuck mock(1) builds. Source2: gdb-orphanripper.c # Man page for gstack(1). Source3: gdb-gstack.man # Work around out-of-date dejagnu that does not have KFAIL Patch1: gdb-6.3-rh-dummykfail-20041202.patch # Match the Fedora's version info. Patch2: gdb-6.3-rh-testversion-20041202.patch # Check that libunwind works - new test then fix Patch3: gdb-6.3-rh-testlibunwind-20041202.patch Patch4: gdb-6.3-rh-testlibunwind1fix-20041202.patch # Use convert_from_func_ptr_addr on the solib breakpoint address; # simplifies and makes more consistent the logic. Patch104: gdb-6.3-ppcdotsolib-20041022.patch # Better parse 64-bit PPC system call prologues. Patch105: gdb-6.3-ppc64syscall-20040622.patch # Stop a backtrace when a zero PC is encountered. Patch106: gdb-6.3-framepczero-20040927.patch # Include the pc's section when doing a symbol lookup so that the # correct symbol is found. Patch111: gdb-6.3-ppc64displaysymbol-20041124.patch # Fix upstream `set scheduler-locking step' vs. upstream PPC atomic seqs. Patch112: gdb-6.6-scheduler_locking-step-sw-watchpoints2.patch # Make upstream `set scheduler-locking step' as default. Patch260: gdb-6.6-scheduler_locking-step-is-default.patch # Fix to display base constructors from list and breakpoint commands Patch116: gdb-6.3-linespec-20041213.patch # Continue removing breakpoints even when failure occurs. Patch117: gdb-6.3-removebp-20041130.patch # Add a wrapper script to GDB that implements pstack using the # --readnever option. Patch118: gdb-6.3-gstack-20050411.patch # VSYSCALL and PIE Patch122: gdb-6.3-test-pie-20050107.patch Patch124: gdb-6.3-pie-20050110.patch # Get selftest working with sep-debug-info Patch125: gdb-6.3-test-self-20050110.patch # Fix for non-threaded watchpoints. Patch128: gdb-6.3-nonthreaded-wp-20050117.patch # Fix to support multiple destructors just like multiple constructors Patch133: gdb-6.3-test-dtorfix-20050121.patch Patch134: gdb-6.3-dtorfix-20050121.patch # Fix to support executable moving Patch136: gdb-6.3-test-movedir-20050125.patch # Fix to support unwinding syscalls in ia64 corefiles # Patch138: gdb-6.3-ia64-corefile-fix-20050127.patch # Fix gcore for threads Patch140: gdb-6.3-gcore-thread-20050204.patch # Stop while intentionally stepping and the thread exit is met. Patch141: gdb-6.6-step-thread-exit.patch Patch259: gdb-6.3-step-thread-exit-20050211-test.patch # Prevent gdb from being pushed into background Patch142: gdb-6.3-terminal-fix-20050214.patch # Test sibling threads to set threaded watchpoints for x86 and x86-64 Patch145: gdb-6.3-threaded-watchpoints2-20050225.patch # Fix printing of inherited members Patch148: gdb-6.3-inheritance-20050324.patch # Print a warning when the separate debug info's CRC doesn't match. Patch150: gdb-6.3-test-sepcrc-20050402.patch Patch151: gdb-6.3-sepcrc-20050402.patch # Do not issue warning message about first page of storage for ia64 gcore Patch153: gdb-6.3-ia64-gcore-page0-20050421.patch # Security errata for untrusted .gdbinit Patch157: gdb-6.3-security-errata-20050610.patch # IA64 sigtramp prev register patch Patch158: gdb-6.3-ia64-sigtramp-frame-20050708.patch # IA64 gcore speed-up patch Patch160: gdb-6.3-ia64-gcore-speedup-20050714.patch # Notify observers that the inferior has been created Patch161: gdb-6.3-inferior-notification-20050721.patch # Fix ia64 info frame bug Patch162: gdb-6.3-ia64-info-frame-fix-20050725.patch # Verify printing of inherited members test Patch163: gdb-6.3-inheritancetest-20050726.patch # Add readnever option Patch164: gdb-6.3-readnever-20050907.patch # Fix frame pointer for ia64 sigtramp frame Patch166: gdb-6.3-ia64-sigtramp-fp-20050926.patch # Fix ia64 gdb problem with user-specified SIGILL handling Patch169: gdb-6.3-ia64-sigill-20051115.patch # Allow option to continue backtracing past a zero pc value Patch170: gdb-6.3-bt-past-zero-20051201.patch # Use bigger numbers than int. Patch176: gdb-6.3-large-core-20051206.patch # Hard-code executable names in gstack, such that it can run with a # corrupted or missing PATH. Patch177: gdb-6.3-gstack-without-path-20060414.patch # Fix debuginfo addresses resolving for --emit-relocs Linux kernels (BZ 203661). Patch188: gdb-6.5-bz203661-emit-relocs.patch # Security patch: avoid stack overflows in dwarf expression computation. # CVE-2006-4146 Patch190: gdb-6.5-dwarf-stack-overflow.patch # Support TLS symbols (+`errno' suggestion if no pthread is found) (BZ 185337). Patch194: gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch # Fix TLS symbols resolving for objects with separate .debug file (-debuginfo). Patch195: gdb-6.5-tls-of-separate-debuginfo.patch # Fix TLS symbols resolving for shared libraries with a relative pathname. # The testsuite needs `gdb-6.5-tls-of-separate-debuginfo.patch'. Patch196: gdb-6.5-sharedlibrary-path.patch # Suggest fixing your target architecture for gdbserver(1) (BZ 190810). # FIXME: It could be autodetected. Patch199: gdb-6.5-bz190810-gdbserver-arch-advice.patch # Fix dereferencing registers for 32bit inferiors on 64bit hosts (BZ 181390). Patch200: gdb-6.5-bz181390-memory-address-width.patch # Fix `gcore' command for 32bit inferiors on 64bit hosts. Patch201: gdb-6.5-gcore-i386-on-amd64.patch # Testcase for deadlocking on last address space byte; for corrupted backtraces. Patch211: gdb-6.5-last-address-space-byte-test.patch # Improved testsuite results by the testsuite provided by the courtesy of BEA. Patch208: gdb-6.5-BEA-testsuite.patch # Fix readline segfault on excessively long hand-typed lines. Patch209: gdb-6.5-readline-long-line-crash.patch Patch213: gdb-6.5-readline-long-line-crash-test.patch # Fix bogus 0x0 unwind of the thread's topmost function clone(3) (BZ 216711). Patch214: gdb-6.5-bz216711-clone-is-outermost.patch # Try to reduce sideeffects of skipping ppc .so libs trampolines (BZ 218379). Patch215: gdb-6.5-bz218379-ppc-solib-trampoline-fix.patch Patch216: gdb-6.5-bz218379-ppc-solib-trampoline-test.patch # Fix lockup on trampoline vs. its function lookup; unreproducible (BZ 218379). Patch217: gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch # Find symbols properly at their original (included) file (BZ 109921). Patch225: gdb-6.5-bz109921-DW_AT_decl_file-test.patch # Update PPC unwinding patches to their upstream variants (BZ 140532). Patch229: gdb-6.3-bz140532-ppc-unwinding-test.patch # Testcase for exec() from threaded program (BZ 202689). Patch231: gdb-6.3-bz202689-exec-from-pthread-test.patch # Backported post gdb-6.8 release fixups. ###Patch232: gdb-6.8-upstream.patch # Testcase for PPC Power6/DFP instructions disassembly (BZ 230000). Patch234: gdb-6.6-bz230000-power6-disassembly-test.patch # Temporary support for shared libraries >2GB on 64bit hosts. (BZ 231832) Patch235: gdb-6.3-bz231832-obstack-2gb.patch # Fix prelink(8) testcase for non-root $PATH missing `/usr/sbin' (BZ 225783). Patch240: gdb-6.6-bz225783-prelink-path.patch # Fix debugging GDB itself - the compiled in source files paths (BZ 225783). Patch241: gdb-6.6-bz225783-gdb-debuginfo-paths.patch # Allow running `/usr/bin/gcore' with provided but inaccessible tty (BZ 229517). Patch245: gdb-6.6-bz229517-gcore-without-terminal.patch # Notify user of a child forked process being detached (BZ 235197). Patch247: gdb-6.6-bz235197-fork-detach-info.patch # New testcase for gcore of 32bit inferiors on 64bit hosts. Patch249: gdb-6.6-gcore32-test.patch # Avoid too long timeouts on failing cases of "annota1.exp annota3.exp". Patch254: gdb-6.6-testsuite-timeouts.patch # Support for stepping over PPC atomic instruction sequences (BZ 237572). Patch258: gdb-6.6-bz237572-ppc-atomic-sequence-test.patch # Link with libreadline provided by the operating system. Patch261: gdb-6.6-readline-system.patch # Test kernel VDSO decoding while attaching to an i386 process. Patch263: gdb-6.3-attach-see-vdso-test.patch # Do not hang on exit of a thread group leader (BZ 247354). Patch265: gdb-6.6-bz247354-leader-exit-fix.patch Patch266: gdb-6.6-bz247354-leader-exit-test.patch # Test leftover zombie process (BZ 243845). Patch271: gdb-6.5-bz243845-stale-testing-zombie-test.patch # New locating of the matching binaries from the pure core file (build-id). Patch274: gdb-6.6-buildid-locate.patch Patch353: gdb-6.6-buildid-locate-rpm.patch # Fix hardware watchpoints after inferior forks-off some process. # Threaded `set follow-fork-mode child' still not fixed there, glibc fixes reqd. # `set detach-on-fork off' not fixed there in general - it already assert-fails. Patch280: gdb-6.6-multifork-debugreg.patch # Fix displaying of numeric char arrays as strings (BZ 224128). Patch282: gdb-6.7-charsign-test.patch # Test PPC hiding of call-volatile parameter register. Patch284: gdb-6.7-ppc-clobbered-registers-O2-test.patch # Testsuite fixes for more stable/comparable results. Patch287: gdb-6.7-testsuite-stable-results.patch # Test ia64 memory leaks of the code using libunwind. Patch289: gdb-6.5-ia64-libunwind-leak-test.patch # Test hiding unexpected breakpoints on intentional step commands. Patch290: gdb-6.5-missed-trap-on-step-test.patch # Support DW_TAG_interface_type the same way as DW_TAG_class_type (BZ 426600). Patch293: gdb-6.7-bz426600-DW_TAG_interface_type-fix.patch Patch294: gdb-6.7-bz426600-DW_TAG_interface_type-test.patch # Test gcore memory and time requirements for large inferiors. Patch296: gdb-6.5-gcore-buffer-limit-test.patch # Test debugging statically linked threaded inferiors (BZ 239652). # - It requires recent glibc to work in this case properly. Patch298: gdb-6.6-threads-static-test.patch # Fix #include on kernel-headers-2.6.25-0.40.rc1.git2.fc9.x86_64. Patch304: gdb-6.7-kernel-headers-compat.patch # Test GCORE for shmid 0 shared memory mappings. Patch309: gdb-6.3-mapping-zero-inode-test.patch # Test a crash on `focus cmd', `focus prev' commands. Patch311: gdb-6.3-focus-cmd-prev-test.patch # Test crash on a sw watchpoint condition getting out of the scope. Patch314: gdb-6.3-watchpoint-cond-gone-test.patch # Test various forms of threads tracking across exec() (BZ 442765). Patch315: gdb-6.8-bz442765-threaded-exec-test.patch # Silence memcpy check which returns false positive (sparc64) Patch317: gdb-6.8-sparc64-silence-memcpy-check.patch # Fix memory trashing on binaries from GCC Ada (workaround GCC PR 35998). Patch318: gdb-6.8-gcc35998-ada-memory-trash.patch # Test a crash on libraries missing the .text section. Patch320: gdb-6.5-section-num-fixup-test.patch # Refuse creating watchpoints of an address value, suggested by Martin Stransky. Patch322: gdb-6.8-constant-watchpoints.patch # Fix compatibility with recent glibc headers. Patch324: gdb-6.8-glibc-headers-compat.patch # Create a single binary `gdb' autodetecting --tui by its argv[0]. Patch326: gdb-6.8-tui-singlebinary.patch # Support transparent debugging of inlined functions for an optimized code. Patch327: gdb-6.8-inlining.patch Patch350: gdb-6.8-inlining-addon.patch Patch328: gdb-6.8-inlining-by-name.patch # Fix PRPSINFO in the core files dumped by gcore (BZ 254229). Patch329: gdb-6.8-bz254229-gcore-prpsinfo.patch # Fix register assignments with no GDB stack frames (BZ 436037). Patch330: gdb-6.8-bz436037-reg-no-longer-active.patch # Make the GDB quit processing non-abortable to cleanup everything properly. Patch331: gdb-6.8-quit-never-aborts.patch # Support DW_TAG_constant for Fortran in recent Fedora/RH GCCs. Patch332: gdb-6.8-fortran-tag-constant.patch # bare names of constructors and destructors should be unique for GDB-6.8+. Patch334: gdb-6.8-ctors-dtors-unique.patch # Fix attaching to stopped processes and/or pending signals. Patch337: gdb-6.8-attach-signalled-detach-stopped.patch # Test the watchpoints conditionals works. Patch343: gdb-6.8-watchpoint-conditionals-test.patch # Fix resolving of variables at locations lists in prelinked libs (BZ 466901). Patch348: gdb-6.8-bz466901-backtrace-full-prelinked.patch # The merged branch `archer' of: http://sourceware.org/gdb/wiki/ProjectArcher Patch349: gdb-archer.patch # Fix parsing elf64-i386 files for kdump PAE vmcore dumps (BZ 457187). # - Turn on 64-bit BFD support, globally enable AC_SYS_LARGEFILE. Patch352: gdb-6.8-bz457187-largefile.patch BuildRequires: ncurses-devel texinfo gettext flex bison expat-devel Requires: readline BuildRequires: readline-devel # dlopen() no longer makes rpm-libs a mandatory dependency. #Requires: rpm-libs BuildRequires: rpm-devel %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Requires: python-libs BuildRequires: python-devel # Temporarily before it gets moved to libstdc++.rpm BuildRequires: libstdc++ %if 0%{?_with_testsuite:1} BuildRequires: sharutils dejagnu # gcc-objc++ is not covered by the GDB testsuite. BuildRequires: gcc gcc-c++ gcc-gfortran gcc-java gcc-objc fpc glibc-static # Ensure the devel libraries are installed for both multilib arches. %define multilib_64_archs sparc64 ppc64 s390x x86_64 # Copied from gcc-4.1.2-32 %ifarch %{ix86} x86_64 ia64 ppc alpha BuildRequires: gcc-gnat %ifarch %{multilib_64_archs} ppc BuildRequires: %{_exec_prefix}/lib64/libgnat-4.4.so %{_exec_prefix}/lib/libgnat-4.4.so %endif %endif %ifarch %{multilib_64_archs} sparc sparcv9 ppc BuildRequires: /lib/libc.so.6 %{_exec_prefix}/lib/libc.so /lib64/libc.so.6 %{_exec_prefix}/lib64/libc.so BuildRequires: /lib/libgcc_s.so.1 /lib64/libgcc_s.so.1 BuildRequires: %{_exec_prefix}/lib/libstdc++.so.6 %{_exec_prefix}/lib64/libstdc++.so.6 BuildRequires: %{_exec_prefix}/lib64/libgcj.so.10 %{_exec_prefix}/lib/libgcj.so.10 # multilib glibc-static is open Bug 488472: #BuildRequires: %{_exec_prefix}/lib64/libc.a %{_exec_prefix}/lib/libc.a # for gcc-java: BuildRequires: %{_exec_prefix}/lib64/libz.so %{_exec_prefix}/lib/libz.so %endif %endif %ifarch ia64 BuildRequires: libunwind-devel >= 0.99-0.1.frysk20070405cvs Requires: libunwind >= 0.99-0.1.frysk20070405cvs %else # Prelink is broken on sparcv9/sparc64 %ifnarch sparcv9 sparc64 BuildRequires: prelink %endif %endif Requires(post): /sbin/install-info Requires(preun): /sbin/install-info %description GDB, the GNU debugger, allows you to debug programs written in C, C++, Java, and other languages, by executing them in a controlled fashion and printing their data. %package gdbserver Summary: A standalone server for GDB (the GNU source-level debugger) Group: Development/Debuggers %description gdbserver GDB, the GNU debugger, allows you to debug programs written in C, C++, Java, and other languages, by executing them in a controlled fashion and printing their data. 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. %prep # This allows the tarball name to be different from our # version-release name. %setup -q -n %{gdb_src} # Files have `# ' statements breaking VPATH / find-debuginfo.sh . rm -f gdb/ada-exp.c gdb/ada-lex.c gdb/c-exp.c gdb/cp-name-parser.c gdb/f-exp.c rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c # Apply patches defined above. # Match the Fedora's version info. %patch2 -p1 %if 0%{!?_with_upstream:1} ###patch232 -p1 %patch349 -p1 %patch1 -p1 %patch3 -p1 %patch4 -p1 %patch104 -p1 %patch105 -p1 %patch106 -p1 %patch111 -p1 %patch112 -p1 %patch116 -p1 %patch117 -p1 %patch118 -p1 %patch122 -p1 %patch125 -p1 %patch128 -p1 %patch133 -p1 %patch134 -p1 %patch136 -p1 %patch140 -p1 %patch141 -p1 %patch259 -p1 %patch142 -p1 %patch145 -p1 %patch148 -p1 %patch150 -p1 %patch151 -p1 %patch153 -p1 %patch157 -p1 %patch158 -p1 %patch160 -p1 %patch161 -p1 %patch162 -p1 %patch163 -p1 %patch164 -p1 %patch166 -p1 %patch169 -p1 %patch170 -p1 %patch176 -p1 %patch177 -p1 %patch188 -p1 %patch190 -p1 %patch194 -p1 %patch195 -p1 %patch196 -p1 %patch199 -p1 %patch200 -p1 %patch201 -p1 %patch208 -p1 %patch209 -p1 %patch211 -p1 %patch213 -p1 %patch214 -p1 %patch215 -p1 %patch216 -p1 %patch217 -p1 %patch225 -p1 %patch229 -p1 %patch231 -p1 %patch234 -p1 %patch235 -p1 %patch240 -p1 %patch241 -p1 %patch245 -p1 %patch247 -p1 %patch249 -p1 %patch254 -p1 %patch258 -p1 %patch260 -p1 %patch261 -p1 %patch263 -p1 %patch265 -p1 %patch266 -p1 %patch271 -p1 %patch274 -p1 %patch353 -p1 %patch280 -p1 %patch282 -p1 %patch284 -p1 %patch287 -p1 %patch289 -p1 %patch290 -p1 %patch293 -p1 %patch294 -p1 %patch296 -p1 %patch298 -p1 %patch304 -p1 %patch309 -p1 %patch311 -p1 %patch314 -p1 %patch315 -p1 %patch317 -p1 %patch318 -p1 %patch320 -p1 %patch322 -p1 %patch324 -p1 %patch326 -p1 %patch327 -p1 %patch350 -p1 %patch328 -p1 %patch329 -p1 %patch330 -p1 %patch331 -p1 %patch332 -p1 %patch334 -p1 %patch337 -p1 %patch343 -p1 %patch348 -p1 %patch352 -p1 %patch124 -p1 find -name "*.orig" | xargs rm -f ! find -name "*.rej" # Should not happen. %endif # 0%{!?_with_upstream:1} # Change the version that gets printed at GDB startup, so it is Fedora # specific. cat > gdb/version.in << _FOO Fedora (%{version}-%{release}) _FOO # Remove the info and other generated files added by the FSF release # process. rm -f libdecnumber/gstdint.h rm -f bfd/doc/*.info rm -f bfd/doc/*.info-* rm -f gdb/doc/*.info rm -f gdb/doc/*.info-* %build # Identify the build directory with the version of gdb as well as the # architecture, to allow for mutliple versions to be installed and # built. # Initially we're in the %{gdb_src} directory. rm -fr %{gdb_build} mkdir %{gdb_build} cd %{gdb_build} # g77 executable is no longer present in Fedora gcc-4.x+. g77="`which gfortran 2>/dev/null || true`" test -z "$g77" || ln -s "$g77" ./g77 export CFLAGS="$RPM_OPT_FLAGS" %if 0%{?_with_debug:1} # --enable-werror could conflict with `-Wall -O0' but this is no longer true # for recent GCCs. CFLAGS="$CFLAGS -O0 -ggdb2" %endif ../configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --sysconfdir=%{_sysconfdir} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --with-gdb-datadir=%{_datadir}/gdb \ --with-pythondir=%{python_sitelib} \ --enable-gdb-build-warnings=,-Wno-unused \ %ifnarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64 sparcv9 sparc64 --disable-werror \ %else %if 0%{?_with_upstream:1} --disable-werror \ %else --enable-werror \ %endif %endif --with-separate-debug-dir=/usr/lib/debug \ --disable-sim \ --disable-rpath \ --with-system-readline \ --with-expat \ --enable-tui \ --with-python \ --with-rpm=librpm.so \ %ifarch ia64 --with-libunwind \ %else --without-libunwind \ %endif --enable-64-bit-bfd \ %if 0%{?_with_debug:1} --enable-static --disable-shared --enable-debug \ %endif %ifarch sparcv9 sparc-%{_vendor}-%{_target_os}%{?_gnu} %else %{_target_platform} %endif make %{?_smp_mflags} make %{?_smp_mflags} info # Copy the /gdb/NEWS file to the directory above it. cp $RPM_BUILD_DIR/%{gdb_src}/gdb/NEWS $RPM_BUILD_DIR/%{gdb_src} %check # Initially we're in the %{gdb_src} directory. cd %{gdb_build} %if 0%{!?_with_testsuite:1} echo ====================TESTSUITE DISABLED========================= %else echo ====================TESTING========================= cd gdb gcc -o ./orphanripper %{SOURCE2} -Wall -lutil # Need to use a single --ignore option, second use overrides first. # No `%{?_smp_mflags}' here as it may race. # WARNING: can't generate a core file - core tests suppressed - check ulimit # "readline-overflow.exp" - Testcase is broken, functionality is OK. ( # ULIMIT required for `gdb.base/auxv.exp'. ulimit -H -c ulimit -c unlimited || : # Setup $CHECK as `check//unix/' or `check//unix/-m64' for explicit bitsize. # Never use two different bitsizes as it fails on ppc64. echo 'int main (void) { return 0; }' >biarch.c CHECK="" for BI in -m64 -m32 -m31 "" do # Do not use size-less options if any of the sizes works. # On ia64 there is no -m64 flag while we must not leave a bare `check' here # as it would switch over some testing scripts to the backward compatibility # mode: when `make check' was executed from inside the testsuite/ directory. if [ -z "$BI" -a -n "$CHECK" ];then continue fi # Do not use $RPM_OPT_FLAGS as the other non-size options will not be used # in the real run of the testsuite. if ! gcc $BI -o biarch biarch.c then continue fi CHECK="$CHECK check//unix/$BI" done # Do not try -m64 inferiors for -m32 GDB as it cannot handle inferiors larger # than itself. # s390 -m31 still uses the standard ELF32 binary format. gcc $RPM_OPT_FLAGS -o biarch biarch.c RPM_SIZE="$(file ./biarch|sed -n 's/^.*: ELF \(32\|64\)-bit .*$/\1/p')" if [ "$RPM_SIZE" != "64" ] then CHECK="$(echo " $CHECK "|sed 's# check//unix/-m64 # #')" fi # Disable some problematic testcases. # RUNTESTFLAGS='--ignore ...' is not used below as it gets separated by the # `check//...' target spawn and too much escaping there would be dense. for test in \ gdb.base/readline-overflow.exp \ gdb.base/bigcore.exp \ ; do mv -f ../../gdb/testsuite/$test ../gdb/testsuite/$test-DISABLED || : done %if 0%{!?_with_upstream:1} # Run all the scheduled testsuite runs also in the PIE mode. # Upstream GDB would lock up the testsuite run for too long on its failures. CHECK="$(echo $CHECK|sed 's#check//unix/[^ ]*#& &/-fPIE/-pie#g')" %endif # 0%{!?_with_upstream:1} for CURRENT in $CHECK do ./orphanripper make -k $CURRENT || : done ) for t in sum log do for file in testsuite*/gdb.$t do suffix="${file#testsuite.unix.}" suffix="${suffix%/gdb.$t}" ln $file gdb-%{_target_platform}$suffix.$t || : done done # `tar | bzip2 | uuencode' may have some piping problems in Brew. tar cjf gdb-%{_target_platform}.tar.bz2 gdb-%{_target_platform}*.{sum,log} uuencode gdb-%{_target_platform}.tar.bz2 gdb-%{_target_platform}.tar.bz2 cd ../.. echo ====================TESTING END===================== %endif %install # Initially we're in the %{gdb_src} directory. cd %{gdb_build} rm -rf $RPM_BUILD_ROOT make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT # install the gcore script in /usr/bin cp $RPM_BUILD_DIR/%{gdb_src}/gdb/gdb_gcore.sh $RPM_BUILD_ROOT%{_bindir}/gcore chmod 755 $RPM_BUILD_ROOT%{_bindir}/gcore # Remove the gdb/gdbtui binaries duplicity. test -x $RPM_BUILD_ROOT%{_prefix}/bin/gdbtui ln -sf gdb $RPM_BUILD_ROOT%{_prefix}/bin/gdbtui cmp $RPM_BUILD_ROOT%{_mandir}/*/gdb.1 $RPM_BUILD_ROOT%{_mandir}/*/gdbtui.1 ln -sf gdb.1 $RPM_BUILD_ROOT%{_mandir}/*/gdbtui.1 # In the future: #%# A part of the libstdc++ rpm. #%rm -rf $RPM_BUILD_ROOT%{python_sitelib}/gdb/libstdcxx # Temporarily now: for LIB in lib lib64;do LIBPATH="$RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{_prefix}/$LIB" mkdir -p $LIBPATH # basename is being run only for the native (non-biarch) file. sed -e 's,@dir@,%{python_sitelib}/gdb,' <$RPM_BUILD_DIR/%{gdb_src}/gdb/python/lib/gdb/libstdcxx/v6/hook.in \ >$LIBPATH/$(basename %{_prefix}/%{_lib}/libstdc++.so.6.*)-gdb.py done # Remove the files that are part of a gdb build but that are owned and # provided by other packages. # These are part of binutils rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ rm -f $RPM_BUILD_ROOT%{_infodir}/bfd* rm -f $RPM_BUILD_ROOT%{_infodir}/standard* rm -f $RPM_BUILD_ROOT%{_infodir}/mmalloc* rm -f $RPM_BUILD_ROOT%{_infodir}/configure* rm -rf $RPM_BUILD_ROOT%{_includedir} rm -rf $RPM_BUILD_ROOT/%{_libdir}/lib{bfd*,opcodes*,iberty*,mmalloc*} # Delete this too because the dir file will be updated at rpm install time. # We don't want a gdb specific one overwriting the system wide one. rm -f $RPM_BUILD_ROOT%{_infodir}/dir %if 0%{!?_with_upstream:1} # pstack obsoletion cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man1/gstack.1 ln -s gstack.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/pstack.1.gz ln -s gstack $RPM_BUILD_ROOT%{_bindir}/pstack %endif # 0%{!?_with_upstream:1} %clean rm -rf $RPM_BUILD_ROOT %post # This step is part of the installation of the RPM. Not to be confused # with the 'make install ' of the build (rpmbuild) process. /sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || : /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || : /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || : /sbin/install-info --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || : %preun if [ $1 = 0 ]; then /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || : /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || : /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdbint.info.gz || : /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/stabs.info.gz || : fi %files %defattr(-,root,root) %doc COPYING COPYING.LIB README NEWS %{_bindir}/gcore %{_bindir}/gdb %{_bindir}/gdbtui %{_mandir}/*/gdb.1* %{_mandir}/*/gdbtui.1* %if 0%{!?_with_upstream:1} %{_bindir}/gstack %{_bindir}/pstack %{_mandir}/*/gstack.1* %{_mandir}/*/pstack.1* %{python_sitelib}/gdb %{_datadir}/gdb %endif # 0%{!?_with_upstream:1} %{_infodir}/annotate.info* %{_infodir}/gdb.info* %{_infodir}/gdbint.info* %{_infodir}/stabs.info* # don't include the files in include, they are part of binutils %ifnarch sparcv9 sparc64 %files gdbserver %{_bindir}/gdbserver %{_mandir}/*/gdbserver.1* %endif %changelog * Sun Mar 15 2009 Jan Kratochvil - 6.8.50.20090302-10 - Archer update to the snapshot: 935f217d3367a642374bc56c6b146d376fc3edab - Archer backport: 281278326412f9d6a3fabb8adc1d419fd7ddc7d7 - Fix [expr] crash reading invalid DWARF C++ symbol "" (BZ 490319). * Thu Mar 12 2009 Jan Kratochvil - 6.8.50.20090302-9 - Archer backport: aafe933b497eee8cfab736a10bae1a90d4bceb18 - [python] Remove duplicate target-wide-charset parameter * Mon Mar 9 2009 Jan Kratochvil - 6.8.50.20090302-8 - Archer update to the snapshot: a99e30d08ade4a2df0f943b036cd653bcd12b04d - Fixes internal error on breaking at a multi-locations C++ caller (BZ 488572). * Mon Mar 9 2009 Jan Kratochvil - 6.8.50.20090302-7 - Archer update to the snapshot: ec29855686f2a78d90ebcc63765681249bbbe808 - Temporarily place libstdc++ pretty printers in this gdb.rpm. * Sat Mar 7 2009 Jan Kratochvil - 6.8.50.20090302-6 - Archer update to the snapshot: 543fb2154d3bd551344b990b911be5c6cc703504 - Fixes [delayed-symfile] excessive `(no debugging symbols found)' messages. * Sat Mar 7 2009 Jan Kratochvil - 6.8.50.20090302-5 - Improve `gdb-6.6-buildid-locate-rpm.patch' by dlopen() (+pkg-config compat.). * Sat Mar 7 2009 Jan Kratochvil - 6.8.50.20090302-4 - Split `gdb-6.6-buildid-locate.patch' to `gdb-6.6-buildid-locate-rpm.patch'. * Sat Mar 7 2009 Jan Kratochvil - 6.8.50.20090302-3 - Archer update to the snapshot: 6cf16c0711e844094ab694b3d929f7bd30b49f61 - Fix crash on the inlined functions support. - Fix crash from the PIE support, its varobj_refresh() was called only before varobj_invalidate() which is sufficient. - Fix BuildRequires for the `--with testsuite' runs. - Use the newly introduced `--with-pythondir' option. - Remove libstdcxx [python] pretty printers (as included in libstdc++ rpm now). * Fri Mar 06 2009 Jesse Keating - 6.8.50.20090302-2 - Rebuild for new rpm libs * Mon Mar 2 2009 Jan Kratochvil - 6.8.50.20090302-1 - Include the Archer Project: http://sourceware.org/gdb/wiki/ProjectArcher snapshot: 8cc3753a9aad85bf53bef54c04334c60d16cb251 * [python] Python scripting support: http://sourceware.org/gdb/wiki/PythonGdb * [catch-syscall] Trap and display syscalls. * [delayed-symfile] Improve startup performance by lazily read psymtabs. * [exception-rewind] Fix fatal C++ exceptions in an inferior function call. * [expr] Expressions, single-quote elimination, C++ input canonicalization. * [using-directive] C++ namespaces. * [vla] C variable length arrays / DW_FORM_block / Fortran dynamic arrays. * [misc] Fix debuginfoless `return' (BZ 365111), fix command-line macros for expected GCC (BZ 479914), new testcase for valgrind (for BZ 483262), implement `info common' for Fortran, fix Fortran logical-kind=8 (BZ 465310), fix static variable in C++ constructors (BZ 445912), fix power7 (BZ 485319). - Upgrade to the FSF GDB gdb-6.8.50 snapshot. - Fix parsing elf64-i386 files for kdump PAE vmcore dumps (BZ 457187). - Turn on 64-bit BFD support, globally enable AC_SYS_LARGEFILE. * Tue Feb 24 2009 Fedora Release Engineering - 6.8.50.20090210-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 11 2009 Jan Kratochvil - 6.8.50.20090210-1 - Upgrade to the FSF GDB gdb-6.8.50 snapshot. * Wed Feb 11 2009 Jan Kratochvil - 6.8.50.20090209-1 - Upgrade to the FSF GDB gdb-6.8.50 snapshot. * Mon Feb 9 2009 Jan Kratochvil - 6.8.50.20081214-2 - Fix crash / implement `finish' into inlined functions (BZ 479781). - Drop the gdb.threads/attach-into-signal.exp change as obsolete. * Sun Dec 14 2008 Jan Kratochvil - 6.8.50.20081214-1 - Upgrade to the upstream gdb-6.8.50 snapshot. * Mon Dec 1 2008 Jan Kratochvil - 6.8-33 - Make `--with testsuite' BuildRequires properly conditional. * Mon Dec 1 2008 Stepan Kasal - 6.8-32 - Remove trivial BuildRequires, use rpm macros in a few remaining places. * Tue Nov 18 2008 Jan Kratochvil - 6.8-31 - Enable ia64 hardware watchpoints if created before starting inferior. * Sun Nov 9 2008 Jan Kratochvil - 6.8-30 - Fix a race in the testcase `gdb.threads/step-thread-exit.exp'. * Sun Nov 9 2008 Jan Kratochvil - 6.8-29 - Fix more the variable-length-arrays support (BZ 468266, feature BZ 377541). - Integrate the `bt full' protection (for BZ 466901) into the VLA patch. * Thu Nov 6 2008 Jan Kratochvil - 6.8-28 - Fix the "never terminate `bt full'" patch false GCC warning / build error. * Thu Nov 6 2008 Jan Kratochvil - 6.8-27 - Fix resolving of variables at locations lists in prelinked libs (BZ 466901), bugreported by Michal Babej. - Never terminate `bt full' on a problem of variable resolving (for BZ 466901). * Thu Nov 6 2008 Jan Kratochvil - 6.8-26 - Fix more the variable-length-arrays support (BZ 468266, feature BZ 377541). - Fix the watchpoints conditionals. - Fix on PPC spurious SIGTRAPs on active watchpoints. - Fix occasional stepping lockup on many threads, seen on ia64. * Mon Nov 3 2008 Jan Kratochvil - 6.8-25 - Fix the variable-length-arrays support (BZ 468266, feature BZ 377541). - Fix the debuginfo-install suggestions for missing base packages (BZ 467901), also update the rpm/yum code to no longer require _RPM_4_4_COMPAT. * Tue Sep 2 2008 Jan Kratochvil - 6.8-24 - Fix PIE patch regression for loading binaries from valgrind (BZ 460319). * Thu Aug 28 2008 Jan Kratochvil - 6.8-23 - Fix attaching to stopped processes, based on the upstream version now. - Just kernel-2.6.25 neither upstream nor utrace work with it; 2.6.9 works. - Fix occasional crash on a removed watchpoint. - Fix false testcase FAILs for `gdb.pie/break.exp'. - Fix a false warning (+a testcase FAIL) on s390x watchpoints. - Fix a false FAIL on s390x `gdb.base/dump.exp'. * Wed Aug 27 2008 Jan Kratochvil - 6.8-22 - Remove `gdb-6.3-nonthreaded-wp-20050117.patch' as obsoleted + regressing now. - Make the GDB quit processing non-abortable to cleanup everything properly. - Support DW_TAG_constant for Fortran in recent Fedora/RH GCCs. - Fix crash on DW_TAG_module for Fortran in recent Fedora/RH GCCs. - Readd resolving of bare names of constructors and destructors. - Include various vendor testcases: - Leftover zombie process (BZ 243845). - Multithreaded watchpoints (`gdb.threads/watchthreads2.exp'). - PIE testcases (`gdb.pie/*'). - C++ contructors/destructors (`gdb.cp/constructortest.exp'). * Sat Aug 23 2008 Jan Kratochvil - 6.8-21 - Fix MI debuginfo print on reloaded exec, found by Denys Vlasenko (BZ 459414). - Extend the Fortran dynamic variables patch also for dynamic Fortran strings. * Wed Aug 13 2008 Jan Kratochvil - 6.8-20 - Temporarily disable attaching to a stopped process (BZ 453688) - To be reintroduced after a fix of the kernel BZ 454404. * Mon Aug 4 2008 Jan Kratochvil - 6.8-19 - Fix `errno' printing on nonthreaded non-g3 inferiors (TLS minsym is absolute). * Fri Aug 1 2008 Jan Kratochvil - 6.8-18 - Fix powerpc recent secure PLTs handling (shared library calls) (BZ 452960). - Fix the testsuite .spec runner to run biarch also on ppc. - Reenable testcases threadcrash.exp, chng-syms.exp, checkpoint.exp (BZ 207002). - Fix PRPSINFO in the core files dumped by gcore (BZ 254229), reformatted patch from Denys Vlasenko. - Fix register assignments with no GDB stack frames, Denys Vlasenko (BZ 436037). * Mon Jul 14 2008 Jan Kratochvil - 6.8-17 - Refresh the patchset with fuzz 0 (for new rpmbuild). * Mon Jul 14 2008 Jan Kratochvil - 6.8-16 - Rebuild with the new rpm-4.5.90 in the buildroot. * Sat Jul 12 2008 Jan Kratochvil - 6.8-15 - Temporary rpm-4.5.90 compatibility workaround by Panu Matilainen. - Fix a regression in the constant watchpoints fix, found by Daniel Jacobowitz. - Fix the prelink testcase for false FAILs on i386. * Tue Jul 8 2008 Jan Kratochvil - 6.8-14 - Fix crash due to calling an inferior function right after a watchpoint stop. * Thu Jul 3 2008 Jan Kratochvil - 6.8-13 - Support transparent debugging of inlined functions for an optimized code. * Fri Jun 20 2008 Jan Kratochvil - 6.8-12 - Remove the gdb/gdbtui binaries duplicity. * Tue Jun 17 2008 Jan Kratochvil - 6.8-11 - Fix the testsuite run for ia64 (where no -m64 is present). - Test a crash on libraries missing the .text section. - Protect development in the build tree by automatic Makefile dependencies. - Refuse creating watchpoints of an address value, suggested by Martin Stransky. - Disable randomization (such as by setarch -R), suggested by Jakub Jelinek. - Fix compatibility with recent glibc headers. * Sun Jun 1 2008 Jan Kratochvil - 6.8-10 - Fix crash on a watchpoint update on an inferior stop. - Fix the s390x part of the hardware watchpoints after a fork. * Thu May 22 2008 Jan Kratochvil - 6.8-9 - Fix memory trashing on binaries from GNAT/Ada (workaround GCC PR 35998). * Thu May 15 2008 Tom "spot" Callaway - 6.8-8 - Silence memcpy check which returns false positive (sparc64) * Thu May 15 2008 Tom "spot" Callaway - 6.8-7 - patch from DaveM for sparc/sparc64 - touch up spec to enable sparcv9/sparc64 * Sat May 3 2008 Jan Kratochvil - 6.8-6 - Fix gdb.base/gcore-shmid0.exp to be unresolved on recent kernels. - Make the testsuite results of dfp-test.exp more stable. * Sun Apr 27 2008 Jan Kratochvil - 6.8-5 - Remove the kernel VDSO workaround (`no loadable ...') (kernel BZ 312011). * Wed Apr 23 2008 Jan Kratochvil - 6.8-4 - Backport fix on various forms of threads tracking across exec() (BZ 442765). - Testsuite: Include more biarch libraries on %%{multilib_64_archs}. - Disable the build-id warnings for the testsuite run as they cause some FAILs. - Fix PIE support for 32bit inferiors on 64bit debugger. - Fix trashing memory on one ada/gnat testcase. - Make the testsuite results on ada more stable. * Wed Apr 16 2008 Jan Kratochvil - 6.8-3 - Fix ia64 compilation errors (Yi Zhan, BZ 442684). - Fix build on non-standard rpm-devel includes (Robert Scheck, BZ 442449). - Do not run the PIE mode for the testsuite during `--with upstream'. - Fix test of the crash on a sw watchpoint condition getting out of the scope. * Fri Apr 11 2008 Jan Kratochvil - 6.8-2 - Fix a regression due to PIE of reloading a changed exec file (BZ 433410). - Include also biarch libgcc on %%{multilib_64_archs} for the testsuite. - Cosmetic fix of a testcase sanity breakpoint setting (part of BZ 233852). - New test of hiding unexpected breakpoints on intentional step commands. - New test of GCORE for shmid 0 shared memory mappings. - New test of a crash on `focus cmd', `focus prev' commands. - Fix a minor test race of the hardware watchpoints after the fork call. - Test crash on a sw watchpoint condition getting out of the scope. * Fri Mar 28 2008 Jan Kratochvil - 6.8-1 - Upgrade to the latest upstream final release gdb-6.8. * Mon Mar 10 2008 Jan Kratochvil - 6.7.50.20080227-3 - build-id warnings integrated more with rpm and the lists of the warnings got replaced usually by a single-line `debuginfo-install' advice. - FIXME: Testsuite needs an update for the new pre-prompt messages. - Fix the `--with upstream' compilation - gstack/pstack are now omitted. * Tue Mar 4 2008 Jan Kratochvil - 6.7.50.20080227-2 - Drop the unused `ChangeLog.RedHat' file stubs. - New rpm option `--with upstream' to drop the Fedora patches for testing. - Drop some no longer valid .spec file comments. - Include the Fortran dynamic arrays entry for changelog of 6.7.50.20080227-1. * Mon Mar 3 2008 Jan Kratochvil - 6.7.50.20080227-1 - Upgrade to the upstream gdb-6.8 prerelease. - Cleanup the leftover `.orig' files during %%prep. - Add expat-devel check by the configure script (for the other-arch builds). - `--with testsuite' now also BuildRequires: fpc - Backport fix of a segfault + PIE regression since 6.7.1 on PIE executables. - Update the printed GDB version string to be Fedora specific. - Fix/implement the Fortran dynamic arrays support (BZ 377541). * Sat Mar 1 2008 Jan Kratochvil - 6.7.1-16 - Run the full testsuite also in the `-fPIE -pie' mode. * Mon Feb 25 2008 Jan Kratochvil - 6.7.1-15 - New --with parameters `testsuite' and `debug'. - Testsuite is now run during the build only on explicit `--with testsuite'. - Testsuite now possibly produces two outputs for the two GDB target arches. * Thu Feb 21 2008 Jan Kratochvil - 6.7.1-14 - Rename `set debug build-id' as `set build-id-verbose', former level 1 moved to level 2, default value is now 1, use `set build-id-verbose 0' now to disable the missing separate debug filenames messages (BZ 432164). * Wed Feb 20 2008 Jan Kratochvil - 6.7.1-13 - ia64 build fixes from Doug Chapman (BZ 428882). - gdbserver separated into an extra package (BZ 405791). - pstack obsoleted by included gstack (BZ 197020). - Fix #include on kernel-headers-2.6.25-0.40.rc1.git2.fc9.x86_64. - Drop the PowerPC simulator as no longer being compatible with Fedora binaries. * Thu Feb 7 2008 Jan Kratochvil - 6.7.1-12 - build-id debug messages print now the library names unconditionally. * Thu Jan 24 2008 Jan Kratochvil - 6.7.1-11 - Improve the text UI messages for the build-id debug files locating. - Require now the rpm libraries. - Fix false `(no debugging symbols found)' on `-readnever' runs. - Extend the testcase `gdb.arch/powerpc-prologue.exp' for ppc64. * Sat Jan 12 2008 Jan Kratochvil - 6.7.1-10 - Compilation fixup (-9 was never released). * Sat Jan 12 2008 Jan Kratochvil - 6.7.1-9 - Fix also threaded inferiors for hardware watchpoints after the fork call. - Test debugging statically linked threaded inferiors (BZ 239652). - It requires recent glibc to work in this case properly. - Testcase cleanup fixup of the gcore memory and time requirements of 6.7.1-8. * Thu Jan 10 2008 Jan Kratochvil - 6.7.1-8 - Fix detaching from a threaded formerly stopped process with non-primary thread currently active (general BZ 233852). - Enable back again the testcases named `attachstop.exp' (no such exist now). - Rename the testcase `gdb.threads/attachstop' to `gdb.threads/attachstop-mt'. - Test ia64 memory leaks of the code using libunwind. - Testcase delay increase (for BZ 247354). - Test gcore memory and time requirements for large inferiors. * Mon Jan 7 2008 Jan Kratochvil - 6.7.1-7 - Backport the gcc-4.3 compatibility -Werror fixes. - Fix documentation on hardware watchpoints wrt multiple threads. - Rename the patch file for BZ 235197 from its former name 234468. - Fix the vendora testcase `attach-32.exp' affecting the other tests results. - Support DW_TAG_interface_type the same way as DW_TAG_class_type (BZ 426600). * Mon Dec 10 2007 Jan Kratochvil - 6.7.1-6 - Testsuite fixes for more stable/comparable results. * Sat Nov 24 2007 Jan Kratochvil - 6.7.1-5 - Reduce the excessive gcc-* packages dependencies outside of mock/koji. * Fri Nov 16 2007 Jan Kratochvil - 6.7.1-4 - Fix `errno' resolving across separate debuginfo files. - Fix segfault on no file loaded, `set debug solib 1', `info sharedlibrary'. - Extend the testsuite run for all the languages if %%{dist} is defined. - Support gdb.fortran/ tests by substituting the g77 compiler by gfortran. * Sun Nov 4 2007 Jan Kratochvil - 6.7.1-3 - Fix `errno' resolving on recent glibc with broken DW_AT_MIPS_linkage_name. - Imported new test for 6.7 PPC hiding of call-volatile parameter register. * Sat Nov 3 2007 Jan Kratochvil - 6.7.1-2 - Backport `Breakpoints at multiple locations' patch primarily for C++. * Thu Nov 1 2007 Jan Kratochvil - 6.7.1-1 - Upgrade to GDB 6.7.1. Drop redundant patches, forward-port remaining ones. * Thu Nov 1 2007 Jan Kratochvil - 6.7-1 - Upgrade to GDB 6.7. Drop redundant patches, forward-port remaining ones. - Fix rereading of the main executable on its change. * Fri Oct 19 2007 Jan Kratochvil - 6.6-37 - Fix hiding unexpected breakpoints on intentional step/next commands. - Fix s390 compilation warning/failure due to a wrongly sized type-cast. * Sun Oct 14 2007 Jan Kratochvil - 6.6-36 - Fix hardware watchpoints after inferior forks-off some process. * Fri Oct 13 2007 Jan Kratochvil - 6.6-35 - Fix non-threaded watchpoints CTRL-C regression on `set follow child'. * Fri Oct 12 2007 Jan Kratochvil - 6.6-34 - Fix gdbserver for threaded applications and recent glibc (BZ 328021). * Tue Oct 9 2007 Jan Kratochvil - 6.6-33 - Fix debug load for sparse assembler files (such as vDSO32 for i386-on-x86_64). * Mon Oct 8 2007 Jan Kratochvil - 6.6-32 - Set the breakpoints always to all the ctors/dtors variants (BZ 301701). - Fix a TUI visual corruption due to the build-id warnings (BZ 320061). - Fixed the kernel i386-on-x86_64 VDSO loading (producing `Lowest section in'). * Fri Oct 5 2007 Jan Kratochvil - 6.6-31 - Fix address changes of the ctors/dtors breakpoints w/multiple PCs (BZ 301701). - Delete an info doc file on `rpmbuild -bp' later rebuilt during `rpmbuild -bc'. * Tue Sep 25 2007 Jan Kratochvil - 6.6-30 - Fix re-setting of the ctors/dtors breakpoints with multiple PCs (BZ 301701). - Avoid one useless user question in the core files locator (build-id). * Sun Sep 23 2007 Jan Kratochvil - 6.6-29 - Fixed the kernel VDSO loading (`warning: no loadable sections found in ...'). - Fix the testcase for pending signals (from BZ 233852). * Sat Sep 22 2007 Jan Kratochvil - 6.6-28 - Support also the `$allocate' and `$delete' ctor/dtor variants (BZ 301701). - Fix the build compatibility with texinfo >= 4.10. - Fix the testcase for pending signals (from BZ 233852). * Sun Sep 16 2007 Jan Kratochvil - 6.6-27 - Fix attaching to stopped processes and/or pending signals. * Tue Aug 28 2007 Jan Kratochvil - 6.6-26 - New fast verification whether the .debug file matches its peer (build-id). - New locating of the matching binaries from the pure core file (build-id). * Fri Aug 17 2007 Jan Kratochvil - 6.6-25 - Fixed excessive RPATH (related to BZ 228891). * Wed Aug 8 2007 Jan Kratochvil - 6.6-24 - Fixed compatibility with the Rawhide glibc open(2) syscall sanity checking. - Update the core_dump_elf_headers=1 compatibility code to the upstream variant. * Mon Aug 6 2007 Jan Kratochvil - 6.6-23 - Update PPC unwinding patches to their upstream variants (BZ 140532). * Wed Jul 25 2007 Jesse Keating - 6.6-22 - Rebuild for RH #249435 * Mon Jul 23 2007 Jan Kratochvil - 6.6-21 - Fixed compatibility with Rawhide kernel fs.binfmt_elf.core_dump_elf_headers=1. - .spec file updates to mostly pass RPMLINT - Fedora merge review (BZ 225783). - Fixed testcase of the exit of a thread group leader (of BZ 247354). - Cleanup any leftover testsuite processes as it may stuck mock(1) builds. * Sun Jul 8 2007 Jan Kratochvil - 6.6-20 - Do not hang on exit of a thread group leader (BZ 247354). - New test for upstream fix of VDSO decoding while attaching to an i386 process. - Fixed BZ # 232014 -> 232015. * Thu Jul 5 2007 Jan Kratochvil - 6.6-19 - Link with libreadline provided by the operating system. * Tue Jun 26 2007 Jan Kratochvil - 6.6-18 - Fix PPC software watchpoints active while stepping atomic instr. (BZ 237572). * Thu Jun 21 2007 Jan Kratochvil - 6.6-17 - Support for stepping over PPC atomic instruction sequences (BZ 237572). - `set scheduler-locking step' is no longer enforced but it is now default. * Wed Jun 20 2007 Jan Kratochvil - 6.6-16 - Fix attaching a stopped process on expected + upstream kernels (BZ 233852). - Fix attaching during a pending signal being delivered. * Thu Jun 7 2007 Jan Kratochvil - 6.6-15 - Testcase update to cover PPC Power6/DFP instructions disassembly (BZ 230000). - Disable some known timeouting/failing testcases to reduce the build time. - Fix crash on missing filenames debug info (BZ 242155). * Sat Apr 28 2007 Jan Kratochvil - 6.6-14 - Fixup for the PPC Power6/DFP instructions disassembly (BZ 230000). - New testcase for the GCORE buffer overflow (for BZ 238285, formerly 235753). * Wed Apr 25 2007 Jan Kratochvil - 6.6-13 - Fix `gcore' command for 32bit PPC inferiors on 64bit PPC hosts (BZ 232015). * Wed Apr 25 2007 Jan Kratochvil - 6.6-12 - Enable PowerPC to print 128-bit long double variables (BZ 237872). - New testcase for gcore of 32bit inferiors on 64bit hosts. * Tue Apr 24 2007 Jan Kratochvil - 6.6-11 - Package review, analysed by Ralf Corsepius (BZ 225783). - Fix prelink(8) testcase for non-root $PATH missing `/usr/sbin' (BZ 225783). - Fix debugging GDB itself - the compiled in source files paths (BZ 225783). - Fix harmless GCORE stack buffer overflow, by _FORTIFY_SOURCE=2 (BZ 238285). - Fix XML support - the build was missing `expat-devel'. - Updated the `info' files handling by the spec file. - Building now with the standard Fedora code protections - _FORTIFY_SOURCE=2. - Use multiple CPUs for the build (%%{?_smp_mflags}). - Separate testsuite run to its %%check section. - Fix (remove) non-ASCII spec file characters. - Remove system tools versions dumping - already present in mock build logs. * Sun Apr 22 2007 Jan Kratochvil - 6.6-10 - Notify user of a child forked process being detached (BZ 235197). * Sun Apr 22 2007 Jan Kratochvil - 6.6-9 - Allow running `/usr/bin/gcore' with provided but inaccessible tty (BZ 229517). - Fix testcase for watchpoints in threads (for BZ 237096). - BuildRequires now `libunwind-devel' instead of the former `libunwind'. - Use the runtime libunwind .so.7, it requires now >= 0.99-0.1.frysk20070405cvs. * Sat Mar 24 2007 Jan Kratochvil - 6.6-8 - Use definition of an empty structure as it is not an opaque type (BZ 233716). - Fixed the gdb.base/attachstop.exp testcase false 2 FAILs. * Thu Mar 15 2007 Jan Kratochvil - 6.6-7 - Suggest SELinux permissions problem; no assertion failure anymore (BZ 232371). * Wed Mar 14 2007 Jan Kratochvil - 6.6-6 - Fix occasional dwarf2_read_address: Corrupted DWARF expression (BZ 232353). * Mon Mar 12 2007 Jan Kratochvil - 6.6-5 - Temporary support for shared libraries >2GB on 64bit hosts. (BZ 231832) * Sun Feb 25 2007 Jan Kratochvil - 6.6-4 - Backport + testcase for PPC Power6/DFP instructions disassembly (BZ 230000). * Mon Feb 5 2007 Jan Kratochvil - 6.6-3 - Fix a race during attaching to dying threads; backport (BZ 209445). - Testcase of unwinding has now marked its unsolvable cases (for BZ 140532). * Fri Jan 26 2007 Jan Kratochvil - 6.6-2 - Backported post gdb-6.6 release PPC `show endian' fixup. - Fix displaying of numeric char arrays as strings (BZ 224128). - Simplified patches by merging upstream accepted ones into a single file. * Sat Jan 20 2007 Jan Kratochvil - 6.6-1 - Upgrade to GDB 6.6. Drop redundant patches, forward-port remaining ones. - Backported post gdb-6.6 release ia64 unwinding fixups. - Testcase for exec() from threaded program (BZ 202689). * Mon Jan 15 2007 Jan Kratochvil - 6.5-27 - Fix the testsuite results broken in 6.5-26, stop invalid testsuite runs. * Fri Jan 13 2007 Jan Kratochvil - 6.5-26 - Fix unwinding of non-debug (.eh_frame) PPC code, Andreas Schwab (BZ 140532). - Fix unwinding of debug (.debug_frame) PPC code, workaround GCC (BZ 140532). - Fix missing testsuite .log output of testcases using get_compiler_info(). * Fri Jan 12 2007 Jan Kratochvil - 6.5-25 - Fix unwinding of non-CFI (w/o debuginfo) PPC code by recent GCC (BZ 140532). * Thu Jan 11 2007 Jan Kratochvil - 6.5-24 - Backport readline history for input mode commands like `command' (BZ 215816). * Tue Jan 9 2007 Jan Kratochvil - 6.5-23 - Find symbols properly at their original (included) file (BZ 109921). - Remove the stuck mock(1) builds disfunctional workaround (-> mock BZ 221351). * Sat Dec 30 2006 Jan Kratochvil - 6.5-22 - Fix unwinding crash on older gcj(1) code (extended CFI support) (BZ 165025). - Include testcase for the readline history of input mode commands (BZ 215816). * Sat Dec 23 2006 Jan Kratochvil - 6.5-21 - Try to reduce sideeffects of skipping ppc .so libs trampolines (BZ 218379). - Fix lockup on trampoline vs. its function lookup; unreproducible (BZ 218379). * Tue Dec 19 2006 Jan Kratochvil - 6.5-20 - Fix bogus 0x0 unwind of the thread's topmost function clone(3) (BZ 216711). - Testcase for readline segfault on excessively long hand-typed lines. * Tue Dec 12 2006 Jan Kratochvil - 6.5-19 - Fix attachment also to a threaded stopped process (BZ 219118). - Cleanup any leftover testsuite processes as it may stuck mock(1) builds. * Sat Nov 25 2006 Jan Kratochvil - 6.5-18 - Fix readline history for input mode commands like `command' (BZ 215816). * Wed Nov 16 2006 Jan Kratochvil - 6.5-17 - Bugfix testcase typo of gdb-6.5-16. * Wed Nov 16 2006 Jan Kratochvil - 6.5-16 - Provide testcase for accessing the last address space byte. * Wed Nov 9 2006 Jan Kratochvil - 6.5-15 - Fix readline segfault on excessively long hand-typed lines. * Sat Nov 2 2006 Jan Kratochvil - 6.5-14 - Fix "??" resolving of symbols from (non-prelinked) debuginfo packages. - Fix "??" resolving of symbols from overlapping functions (nanosleep(3)). - Also disable testcase "checkpoint.exp" for a possible kernel Bug 207002. - Provided (disabled during build) threading testsuite from BEA. * Sat Oct 14 2006 Jan Kratochvil - 6.5-13 - Fix deadlock accessing last address space byte; for corrupted backtraces. * Sun Oct 8 2006 Jan Kratochvil - 6.5-12 - Disabled IPv6 until its user visible syntax gets stable upstream. * Sun Oct 1 2006 Jan Kratochvil - 6.5-11 - No longer disassemble invalid i386 opcodes of movQ/movA (BZ 172034). - Simplify the IPv6 patch for gdbserver (BZ 198365). - Suggest fixing your target architecture for gdbserver(1) (BZ 190810). - Fix dereferencing registers for 32bit inferiors on 64bit hosts (BZ 181390). - Fix `gcore' command for 32bit inferiors on 64bit hosts. * Wed Sep 27 2006 Jan Kratochvil - 6.5-10 - Support IPv6 for gdbserver (BZ 198365). - Temporarily disable testcase "chng-syms.exp" for a possible kernel Bug 207002. * Wed Sep 21 2006 Jan Kratochvil - 6.5-9 - Fix crash on C++ symbol failing to be demangled (BZ 206813). - Fix attach to stopped process, supersede `gdb-6.3-attach-stop-20051011.patch'. - Fix TLS symbols resolving for objects with separate .debug file (-debuginfo). - Fix TLS symbols resolving for shared libraries with a relative pathname. - Support TLS symbols (+`errno' suggestion if no pthread is found) (BZ 185337). * Mon Sep 11 2006 Jan Kratochvil - 6.5-8 - Fix gdb printf command argument using "%%p" (BZ 205551). * Mon Sep 4 2006 Alexandre Oliva - 6.5-7 - Fix bug in patch for CVE-2006-4146. (BZ 203873, BZ 203880) * Thu Aug 24 2006 Alexandre Oliva - 6.5-6 - Avoid overflows and underflows in dwarf expression computation stack. (BZ 203873) * Thu Aug 24 2006 Alexandre Oliva - 6.5-5 - Backport support for i386 nop memory instructions. - Fix debuginfo addresses resolving for --emit-relocs Linux kernels (BZ 203661, from Jan Kratochvil, like the remaining changes). - Bugfix segv on the source display by ^X 1 (fixes Patch130, BZ 200048). - Do not step into the PPC solib trampolines (BZ 200533). - Fix exec() from threaded program, partial CVS backport (BZ 182116). - Fix occasional failure to load shared libraries (BZ 146810). - Bugfix object names completion (fixes Patch116, BZ 193763). - Avoid crash of 'info threads' if stale threads exist (BZ 195429). - Handle corrupted or missing location list information (BZ 196439). * Thu Jul 13 2006 Alexandre Oliva - 6.5-3 - Add missing definition of multilib_64_archs for glibc-devel buildreqs. - Backport support for .gnu.hash sections. * Wed Jul 12 2006 Alexandre Oliva - 6.5-2 - BuildReq sharutils, prelink and, on multilib systems, 32-bit glibc-devel. - Drop obsolete attach-stop patch. - Fix testcases in threaded-watchpoints2 and step-thread-exit patches. - Re-enable attach-pie.exp, asm-source.exp and sigstep.exp tests. * Tue Jul 11 2006 Alexandre Oliva - 6.5-1 - Upgrade to GDB 6.5. Drop redundant patches, forward-port remaining ones. Re-enable ada and objc testsuites. * Thu Jun 15 2006 Alexandre Oliva - 6.3.0.0-1.132 - Require flex and bison at build time. - Additional patch for BZ 175083, to cope with waitpid setting status even when returning zero. * Wed May 31 2006 Alexandre Oliva - 6.3.0.0-1.131 - Require gettext at build time. (BZ193366) * Sat May 27 2006 Alexandre Oliva - 6.3.0.0-1.130 - Rewrite patch for BZ 175270, BZ 175083 so as to catch the exception earlier. - Remove too-fragile testcases from patches for CFA value and "S" augmentation. * Wed May 17 2006 Alexandre Oliva - 6.3.0.0-1.129 - Add not-automatically-generated file to fopen64 patch (BZ 191948). * Fri Apr 14 2006 Alexandre Oliva - 6.3.0.0-1.128 - Avoid race conditions caused by exceptions messing with signal masks. (BZ 175270, BZ 175083, maybe BZ 172938). - Hardcode /bin and /usr/bin paths into gstack (BZ 179829, BZ 190548). - Build in a subdir of the source tree instead of in a sibling directory. - Switch to versioning scheme that uses the same base revision number for all OSes, and uses a suffix to tell the builds apart and ensure upgradability. * Thu Apr 13 2006 Stepan Kasal - 6.3.0.0-1.127 - Bump up release number. * Thu Apr 13 2006 Stepan Kasal - 6.3.0.0-1.123 - Use fopen64 where available. Fixes BZ 178796, BZ 190547. - Use bigger numbers than int. Fixes BZ 171783, BZ 179096. * Wed Mar 8 2006 Alexandre Oliva - 6.3.0.0-1.122 - Bump up release number. * Wed Mar 8 2006 Alexandre Oliva - 6.3.0.0-1.119 - Fix regression in PIE debugging (BZ 133944) (re?)introduced by the prelink fix (BZ 175075, BZ 190545). Improve testcase for the prelink fix. - Revert dwarf2 frame identifier change. * Tue Mar 7 2006 Alexandre Oliva - 6.3.0.0-1.118 - Bump up release number. * Tue Mar 7 2006 Alexandre Oliva - 6.3.0.0-1.115 - Change dwarf2 frame identifiers to use the actual PC instead of the function's entry point. - Fix FSF and GDB contact addresses in new testcases. - Do not try to compile x86_64-only CFA testcase on 32-bit x86. - Change prelink test to issue untested instead of warning message if system libraries are not prelinked. * Fri Mar 3 2006 Alexandre Oliva - 6.3.0.0-1.114 - Bump up release number. * Fri Mar 3 2006 Alexandre Oliva - 6.3.0.0-1.111 - Add support for "S" augmentation for signal stack frames. - Add support for CFA value expressions and encodings. - Various improvements to the prelink test. * Thu Feb 23 2006 Alexandre Oliva - 6.3.0.0-1.110 - Bump up release number. * Thu Feb 23 2006 Alexandre Oliva - 6.3.0.0-1.107 - Enable gdb to debug core files and executables with mismatched prelink base addresses. Fixes BZ 175075, BZ 190545. * Tue Feb 14 2006 Alexandre Oliva - 6.3.0.0-1.106 - Bump up release number. * Tue Feb 14 2006 Alexandre Oliva - 6.3.0.0-1.103 - Adjust type-punning patch to include fix not needed upstream. * Tue Feb 14 2006 Alexandre Oliva - 6.3.0.0-1.102 - Bump up release number. * Tue Feb 14 2006 Alexandre Oliva - 6.3.0.0-1.99 - Use type-punning warning fixes as accepted upstream. * Fri Feb 10 2006 Jesse Keating - 6.3.0.0-1.98.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 6.3.0.0-1.98.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Mon Jan 16 2006 Alexandre Oliva - 6.3.0.0-1.98 - Bump up release number. * Mon Dec 19 2005 Alexandre Oliva - 6.3.0.0-1.94 - Fix type-punning warnings issued by GCC 4.1. * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcj * Thu Dec 01 2005 Jeff Johnston - 6.3.0.0-1.93 - Bump up release number. * Thu Dec 01 2005 Jeff Johnston - 6.3.0.0-1.90 - Add option to allow backtracing past zero pc value. - Bugzilla 170275 * Tue Nov 15 2005 Jeff Johnston - 6.3.0.0-1.89 - Bump up release number. * Tue Nov 15 2005 Jeff Johnston - 6.3.0.0-1.86 - Fix ia64 user-specified SIGILL handling error. - Bugzilla 165038. * Tue Oct 18 2005 Jeff Johnston - 6.3.0.0-1.85 - Bump up release number. * Tue Oct 18 2005 Jeff Johnston - 6.3.0.0-1.82 - Modify attach patch to add missing fclose. - Bugzilla 166712 * Tue Oct 11 2005 Jeff Johnston - 6.3.0.0-1.81 - Bump up release number. * Tue Oct 11 2005 Jeff Johnston - 6.3.0.0-1.78 - Support gdb attaching to a stopped process. * Thu Sep 29 2005 Jeff Johnston - 6.3.0.0-1.77 - Bump up release number. * Thu Sep 29 2005 Jeff Johnston - 6.3.0.0-1.74 - Fix up DSO read logic when process is attached. * Mon Sep 26 2005 Jeff Johnston - 6.3.0.0-1.73 - Bump up release number. * Mon Sep 26 2005 Jeff Johnston - 6.3.0.0-1.70 - Fix frame pointer calculation for ia64 sigtramp frame. * Thu Sep 22 2005 Jeff Johnston - 6.3.0.0-1.69 - Bump up release number. * Thu Sep 22 2005 Jeff Johnston - 6.3.0.0-1.66 - Remove extraneous xfree. * Wed Sep 07 2005 Jeff Johnston - 6.3.0.0-1.65 - Bump up release number. * Wed Sep 07 2005 Jeff Johnston - 6.3.0.0-1.62 - Readd readnever option * Wed Jul 27 2005 Jeff Johnston - 6.3.0.0-1.61 - Bump up release number. * Tue Jul 26 2005 Jeff Johnston - 6.3.0.0-1.57 - Bump up release number. * Tue Jul 26 2005 Jeff Johnston - 6.3.0.0-1.54 - Add testcase to verify printing of inherited members - Bugzilla 146835 * Mon Jul 25 2005 Jeff Johnston - 6.3.0.0-1.53 - Bump up release number. * Mon Jul 25 2005 Jeff Johnston - 6.3.0.0-1.50 - Fix bug with info frame and cursor address on ia64. - Add testcase to verify pseudo-registers calculated for ia64 sigtramp. - Bugzilla 160339 * Fri Jul 22 2005 Jeff Johnston - 6.3.0.0-1.49 - Bump up release number. * Fri Jul 22 2005 Jeff Johnston - 6.3.0.0-1.46 - Fix attaching to 32-bit processes on 64-bit systems. - Bugzilla 160254 * Thu Jul 14 2005 Jeff Johnston - 6.3.0.0-1.45 - Bump up release number. * Thu Jul 14 2005 Jeff Johnston - 6.3.0.0-1.42 - Add work-around to make ia64 gcore work faster. - Bugzilla 147436 * Thu Jul 14 2005 Jeff Johnston - 6.3.0.0-1.41 - Bump up release number. * Mon Jul 11 2005 Jeff Johnston - 6.3.0.0-1.38 - Fix backtracing across sigaltstack for ia64 - Bugzilla 151741 * Fri Jul 08 2005 Jeff Johnston - 6.3.0.0-1.37 - Bump up release number. * Fri Jul 08 2005 Jeff Johnston - 6.3.0.0-1.35 - Build pseudo-registers properly for sigtramp frame. - Bugzilla 160339 * Fri Jul 08 2005 Jeff Johnston - 6.3.0.0-1.34 - Bump up release number. * Thu Jul 07 2005 Jeff Johnston - 6.3.0.0-1.31 - Modify security errata to include additional bfd robustness updates - Bugzilla 158680 * Fri Jun 10 2005 Jeff Johnston - 6.3.0.0-1.30 - Bump up release number. * Fri Jun 10 2005 Jeff Johnston - 6.3.0.0-1.28 - Security errata for bfd and .gdbinit file usage - Bugzilla 158680 * Wed May 18 2005 Jeff Johnston - 6.3.0.0-1.24 - Bump up release number. * Wed May 18 2005 Jeff Johnston - 6.3.0.0-1.23 - Bump up release number. * Wed May 18 2005 Jeff Johnston - 6.3.0.0-1.22 - Specify SA_RESTART for linux-nat.c handlers and use my_waitpid which handles EINTR. * Tue May 03 2005 Jeff Johnston - 6.3.0.0-1.21 - Bump up release number. * Tue May 03 2005 Jeff Johnston - 6.3.0.0-1.20 - Bump up release number. * Tue May 03 2005 Jeff Johnston - 6.3.0.0-1.19 - Fix for partial die in cache error - Bugzilla 137904 * Wed Apr 27 2005 Jeff Johnston - 6.3.0.0-1.18 - Bump up release number. * Wed Apr 27 2005 Jeff Johnston - 6.3.0.0-1.17 - Bump up release number. * Wed Apr 27 2005 Jeff Johnston - 6.3.0.0-1.16 - Update ia64 sigtramp support to use libunwind and fix top-level rse register reads to also use libunwind. - Bugzilla 151741 * Thu Apr 21 2005 Jeff Johnston - 6.3.0.0-1.15 - Bump up release number. * Thu Apr 21 2005 Jeff Johnston - 6.3.0.0-1.14 - Bump up release number. * Thu Apr 21 2005 Jeff Johnston - 6.3.0.0-1.13 - Do not issue warning message for gcore under ia64 - Bugzilla 146416 * Mon Apr 11 2005 Andrew Cagney - 6.3.0.0-1.12 - Update gstack patch, handle systems that lack /proc//tasks. * Fri Apr 8 2005 Andrew Cagney - 6.3.0.0-1.11 - Replace patch warning about DW_OP_piece with a patch that implements the DW_OP_piece read path. * Sat Apr 2 2005 Andrew Cagney - 6.3.0.0-1.10 - Print a warning when the separate debug info's CRC doen't match; test. * Wed Mar 30 2005 Jeff Johnston - 6.3.0.0-1.9 - Bump up release number. * Wed Mar 30 2005 Jeff Johnston - 6.3.0.0-1.7 - Add proper vsyscall page support for ia64. * Thu Mar 24 2005 Jeff Johnston - 6.3.0.0-1.6 - Bump up release number. * Thu Mar 24 2005 Jeff Johnston - 6.3.0.0-1.4 - Fix printing of inherited members of C++ classes. - Fix for Bugzilla 146835. * Tue Mar 22 2005 Jeff Johnston - 6.3.0.0-1.3 - Bump up release number. * Thu Mar 17 2005 Jeff Johnston - 6.3.0.0-1.1 - Remove warnings that cause errors when compiled with gcc4 and -Werror. * Wed Mar 16 2005 Elliot Lee - rebuilt * Fri Mar 04 2005 Jeff Johnston - 6.3.0.0-0.37 - Bump up release number. * Thu Mar 03 2005 Jeff Johnston - 6.3.0.0-0.35 - Add follow-fork fix from mainline sources. * Thu Mar 03 2005 Jeff Johnston - 6.3.0.0-0.34 - Bump up release number. * Mon Feb 28 2005 Jeff Johnston - 6.3.0.0-0.32 - Modify debug register handling for x86, x86-64 to be thread-specific. - Modify threaded watchpoint code for x86, x86-64 to properly insert and remove watchpoints on all threads. * Tue Feb 22 2005 Andrew Cagney - 6.3.0.0-0.31 - Bump version number. * Tue Feb 22 2005 Andrew Cagney - 6.3.0.0-0.30 - Bump version number. * Tue Feb 22 2005 Andrew Cagney - 6.3.0.0-0.29 - Modify gdb-6.3-dwattype0-20050201.patch to check for a zero address and not zero unsnd. Fix BE 32- vs 64-bit problem. * Mon Feb 21 2005 Andrew Cagney - 6.3.0.0-0.28 - Back port patch adding symfile-mem.o to all GNU/Linux builds. Fix BZ 146087. * Wed Feb 16 2005 Jeff Johnston - 6.3.0.0-0.27 - Bump up release number. * Wed Feb 16 2005 Jeff Johnston - 6.3.0.0-0.26 - Fix unload.exp testcase. * Mon Feb 14 2005 Jeff Johnston - 6.3.0.0-0.25 - Bump up release number. * Mon Feb 14 2005 Jeff Johnston - 6.3.0.0-0.24 - Fix gdb to always grab the terminal before a readline call. - Bugzilla 147880 * Fri Feb 11 2005 Jeff Johnston - 6.3.0.0-0.23 - Bump up release number. * Fri Feb 11 2005 Jeff Johnston - 6.3.0.0-0.21 - Fix gdb to handle stepping over the end of an exiting thread. - Bugzilla 146848 * Thu Feb 10 2005 Jeff Johnston - 6.3.0.0-0.20 - Bump up release number. * Tue Feb 08 2005 Jeff Johnston - 6.3.0.0-0.18 - Modify previous gcore patch to not use linux_proc_xfer_memory even for main thread. * Mon Feb 07 2005 Jeff Johnston - 6.3.0.0-0.17 - Modify previous gcore patch to only apply to ia64. * Fri Feb 04 2005 Jeff Johnston - 6.3.0.0-0.16 - Fix gcore to work properly for threaded applications - Bugzilla 145309, 145092 * Fri Feb 04 2005 Jeff Johnston - 6.3.0.0-0.15 - Tolerate DW_AT_type referencing <0> and instead of generating an error, treat as unknown type. - Bugzilla 144852. * Thu Feb 3 2005 Andrew Cagney - 6.3.0.0-0.14 - Separate out test patches. * Thu Jan 27 2005 Jeff Johnston - 6.3.0.0-0.13 - Fix to allow ia64 gdb to backtrace from syscalls in a corefile. - Bugzilla 145092. * Wed Jan 26 2005 Jeff Johnston - 6.3.0.0-0.12 - Fix to support examining files even when the executable moves - Bugzilla 142122 * Wed Jan 26 2005 Andrew Cagney - 6.3.0.0-0.11 - gdb-6.3-ppcdotsyms-20050126.patch: Backport BFD changes for reading synthetic symbols. Rewrite code reading elf minimal symbols so that it includes synthetics. * Fri Jan 21 2005 Jeff Johnston - 6.3.0.0-0.10 - Fix to prevent resetting unwind kernel table size to invalid value when debugging a core file - Bugzilla 145309 * Fri Jan 21 2005 Andrew Cagney - 6.3.0.0-0.9 - When single stepping handle both back-to-back and nested signals. - Disable .symbol patch, results in BFD errors. * Fri Jan 21 2005 Jeff Johnston - 6.3.0.0-0.8 - Support listing both in-charge and not-in-charge dtors when just the dtor name is given. - Add new test case for newly added ctor/dtor functionality. * Thu Jan 20 2005 Jeff Johnston - 6.3.0.0-0.7 - Fix to allow breaking by line in both the in-charge and not-in-charge ctor/dtor. - Bugzilla 117826 * Thu Jan 20 2005 Andrew Cagney - 6.3.0.0-0.6 - Rebuild. * Thu Jan 20 2005 Andrew Cagney - 6.3.0.0-0.5 - Use bfd_get_synthetic_symtab to read in any synthetic symbols such as 64-bit PPC's ".symbol"s. * Tue Jan 18 2005 Jeff Johnston - 6.3.0.0-0.4 - Modify non-threaded watchpoint patch to use new observer. * Mon Jan 17 2005 Jeff Johnston - 6.3.0.0-0.3 - Fix for non-threaded watchpoints. * Mon Jan 17 2005 Andrew Cagney - 6.3.0.0-0.2 - Enable PPC CFI, remove merged ppc patches. * Wed Jan 12 2005 Elena Zannoni - 6.3.0.0-0.1 Andrew Cagney Jeff Johnston - Various fixes to complete the import and merge. * Wed Dec 01 2004 Andrew Cagney - 6.3.0.0 - Import GDB 6.3, get building, add all patches. * Tue Nov 30 2004 Jeff Johnston - 1.200400607.63 - When removing breakpoints, continue removing breakpoints even if an error occurs on the list. * Sun Nov 28 2004 Andrew Cagney - 1.200400607.62 - Bump version for RHEL4 build. * Wed Nov 24 2004 Andrew Cagney - 1.200400607.61 - For PPC-64, fix search for a symbol (wasn't specifying the section). * Wed Nov 24 2004 Andrew Cagney - 1.200400607.60 - For PPC-64, do not set malloc name to ".malloc"; no longer needed. - For all, only define kfail when not already defined. * Wed Nov 24 2004 Andrew Cagney - 1.200400607.59 - Bump version. * Wed Nov 24 2004 Andrew Cagney - 1.200400607.58 - Add rs6000 reggroups; fixes problem of PS register being trashed causing mysterious branch breakpoints. * Tue Nov 23 2004 Andrew Cagney - 1.200400607.57 - Backport i386 prolog parser - better backtraces out of semop(). - Add option --readnever to suppress the reading of symbolic debug information. - Add script gstack.sh, installed as gstack. Bugzilla 136584, 137121 - Add missing files gdb.pie/attach2.c, gdb.pie/break1.c and gdb.pie/Makefile.in along with testsuite/configure stuff for pie. * Tue Nov 23 2004 Andrew Cagney - 1.200400607.57 - Backport i386 prolog parser - better backtraces out of semop(). - Add option --readnever to suppress the reading of symbolic debug information. - Add script gstack.sh, installed as gstack. Bugzilla 136584, 137121 * Mon Nov 22 2004 Jeff Johnston - 1.200400607.56 - Bump up release number. * Mon Nov 22 2004 Jeff Johnston - 1.200400607.55 - Multiple ia64 backtrace fixes. Bugzilla 125157 * Thu Nov 11 2004 Elena Zannoni - 1.200400607.54 - Bump up release number * Thu Nov 11 2004 Elena Zannoni - 1.200400607.51 - Modify configure line to not use absolute paths. This was creating problems with makeinfo/texinfo. - Get rid of makeinfo hack. Bugzilla 135633 * Tue Nov 09 2004 Jeff Johnston - 1.200400607.50 - Bump up release number * Tue Nov 09 2004 Jeff Johnston - 1.200400607.49 - Bump up release number * Tue Nov 09 2004 Jeff Johnston - 1.200400607.48 - Expose $base, $allocate constructors and $delete, $base destructors for breakpoints. * Tue Nov 09 2004 Andrew Cagney - 1.200400607.47 - Enable PPC CFI. * Mon Nov 08 2004 Jeff Johnston - 1.200400607.46 - Bump up release number * Mon Nov 08 2004 Jeff Johnston - 1.200400607.45 - Bump up release number * Fri Nov 05 2004 Jeff Johnston - 1.200400607.44 - Allow macros to continue past a backtrace error * Tue Oct 26 2004 Andrew Cagney - 1.200400607.43 - Hack around broken PT_FPSCR defined in headers. - Import latest s390 fixes. - Disable sigstep.exp - s390 has problems. - Use PC's symtab when looking for a symbol. - Work around DW_OP_piece. * Fri Oct 22 2004 Andrew Cagney - 1.200400607.42 - For 64-bit PPC, convert _dl_debug_state descriptor into a code address. - Fix --ignore option. * Mon Oct 10 2004 Andrew Cagney - 1.200400607.40 - Disable attach-pie.exp test, hangs on amd64 without auxv. - Move pie tests to pie. * Mon Oct 10 2004 Andrew Cagney - 1.200400607.39 - Fix comment bug in sigstep.exp. * Thu Oct 07 2004 Jeff Johnston - 1.200400607.38 - Do not invalidate cached thread info when resuming threads. - Bump up release number. * Fri Oct 01 2004 Jeff Johnston - 1.200400607.35 - Fix S/390 watchpoint support to work better under threading. * Fri Oct 01 2004 Jeff Johnston - 1.200400607.34 - Fix thread_db_get_lwp to handle 2nd format ptids. * Mon Sep 27 2004 Andrew Cagney - 1.200400607.33 - Don't unwind past a zero PC (when normal frames). * Mon Sep 27 2004 Jeff Johnston - 1.200400607.32 - Add threaded watchpoint support for x86, x86-64, and ia64. * Mon Sep 27 2004 Andrew Cagney - 1.200400607.31 - Instead of deleting bigcore.exp, use runtest --ignore. * Thu Sep 23 2004 Andrew Cagney - 1.200400607.30 - Merge in mainline testsuite up to 2004-09-23, pick up sig*.exp tests. Merge in mainline infrun.c, pick up all infrun.c fixes. Generate bigcore's corefile from the running inferior. Limit bigcore's corefile to max file-size. * Thu Sep 02 2004 Jeff Johnston - 1.200400607.29 - Fix low-level lin-lwp code to wait specifically for any stepping LWP (bugzilla 130896) * Tue Aug 31 2004 Jeff Johnston - 1.200400607.28 - Add test case for bugzilla 128618 fix. * Mon Aug 30 2004 Jeff Johnston - 1.200400607.27 - Add support for breakpoints in manually loaded/unloaded shared libs. (bugzilla 128618) * Mon Aug 30 2004 Jeff Johnston - 1.200400607.26 - Add java inferior call support. * Mon Aug 30 2004 Andrew Cagney - 1.200400607.25 - Convert "main" the function descriptor, into an address. * Mon Aug 30 2004 Andrew Cagney - 1.200400607.24 - Fix single-stepping when a signal is pending, was exiting program. -- needs kernel fix so that ptrace(PT_STEP,SIG) doesn't do a PT_CONT. -- sigstep.exp tests pass with this fix applied. * Mon Aug 30 2004 Elena Zannoni - 1.200400607.23 - Delete some part of gdb-6.1post-test-rh.patch, to avoid confusing gdb when testing itself, and loading separate debug info. * Fri Aug 13 2004 Jeff Johnston - 1.200400607.22 - Check in gdb mainline fix for applications calling clone directly. * Tue Aug 10 2004 Jeff Johnston - 1.200400607.21 - Alter libunwind frame code to allow using libunwind 0.97 and up. * Tue Aug 03 2004 Jeff Johnston - 1.200400607.20 - Fix the ia64 libunwind test to match current output. * Fri Jul 30 2004 Elena Zannoni - 1.200400607.19 - Fix the tests where gdb debugs itself, as to not copy the executable to xgdb. * Mon Jul 26 2004 Elena Zannoni - 1.200400607.18 - Add Pie patches back in. * Fri Jul 16 2004 Andrew Cagney - 1.200400607.17 - Fix stepping over a no-debug shared-library function. - Fix patch vsyscall patch name. * Thu Jul 8 2004 Jeff Johnston - 1.200400607.16 - Update thread code with fix from gdb HEAD * Wed Jul 7 2004 Andrew Cagney - 1.200400607.15 - disable vsyscall - import Bob's crasher fix - disable bigcore.exp * Mon Jul 5 2004 Andrew Cagney - 1.200400607.14 - Make large corefiles work on systems that require O_LARGEFILE. * Tue Jun 29 2004 Elena Zannoni - 1.200400607.13 - Fix BuildRequires for libunwind on ia64. * Mon Jun 28 2004 Andrew Cagney - 1.200400607.12 - Import wild frame ID patch. Stops GDB incorrectly matching invalid frame IDs. - Disable bigcore on ia64 and amd64. * Fri Jun 25 2004 Andrew Cagney - 1.200400607.11 - Fix testsuite to kill attach process (from corrinna/mainline). - Fix build problems with vsyscall patch. * Fri Jun 25 2004 Andrew Cagney - 1.200400607.10 - Fix annotate test messages. - Recognize VSYSCALL pages. * Thu Jun 24 2004 Jeff Johnston - 1.200400607.9 - Fix ia64 watchpoint support. * Wed Jun 23 2004 Andrew Cagney - 1.200400607.8 - Do not xfail signals on i387, convert KFAIL to FAIL and not XFAIL. * Wed Jun 23 2004 Andrew Cagney - 1.200400607.7 - Fix to ppc64 unwinder - handle glibcs function within syscall function hack. - Update sigbpt.exp, ena-dis-br.exp observer.exp signull.exp, step-test.exp and sizeof.exp, so that test names are architecture clean. - Disable bigcore.exp on PowerPC 64. * Tue Jun 22 2004 Andrew Cagney - 1.200400607.6 - Merge in mainline testsuite changes up to 2004-06-21. - Re-implement 32 and 64-bit PPC signal trampolines. - Check i386 and amd64 signal trampolines before dwarf2. - Allow tramp-frame when there is a symbol. - Test interaction between single-step, breakpoint and signal. - ABI: Fix PPC64 function parameters, sizeof long-double, and enum return values. * Mon Jun 21 2004 Elena Zannoni - 1.200400607.5 - Fix sed line for gz info files. * Mon Jun 21 2004 Andrew Cagney - 1.200400607.4 - Tar/uuencode both the .sum and .log test results. * Tue Jun 15 2004 Elena Zannoni - 0.200400607.3 - Remove installation of mmalloc, and its info files. - Add hack to deal with differring info files generated by makeinfo. - Restore release number convention. * Tue Jun 15 2004 Elliot Lee - rebuilt * Thu Jun 10 2004 Elena Zannoni - 0.200400607.2 - Fix Requires and BuildRequires for libunwind dependencies. - Add patch to silence gcc3.4 warnings. * Wed Jun 09 2004 Elena Zannoni - 0.200400607.1 - New import: revamp everything. Remove all patches for now. - Update the Requires and BuildRequires sections. - Removed stupid Ada testcases (there is no ada support in gdb yet). * Mon May 10 2004 Elena Zannoni - 0.20040223.20 - Disable PIE again. - obsolete gdb64 only if on ppc64. * Mon May 03 2004 Jeff Johnston - 0.20040223.19 - Add -u parameter to build ChangeLog patch. * Mon May 03 2004 Jeff Johnston - 0.20040223.18 - Update thread fix made for .6 release to FSF version. * Thu Apr 22 2004 Elena Zannoni - 0.20040223.17 - Disable PIE again. * Thu Apr 22 2004 Jeff Johnston - 0.20040223.16 - Bump version number. * Wed Apr 21 2004 Jeff Johnston - 0.20040223.15 - fix ia64 info frame command - also fix ia64 tdep file for which elf header file to include * Tue Mar 30 2004 Elena Zannoni - 0.20040223.14 - re-enable pie. * Tue Mar 30 2004 Elena Zannoni - 0.20040223.13 - Fix testsuite glitches. * Thu Mar 24 2004 Elena Zannoni - 0.20040223.12 - Fix typo. * Thu Mar 24 2004 Elena Zannoni - 0.20040223.11 - Make gdb compile w/o warnings with gcc-3.4. - Reenable PIE support code. * Wed Mar 23 2004 Elena Zannoni - 0.20040223.10 - Bump version number * Wed Mar 23 2004 Elena Zannoni - 0.20040223.9 - temporarily disable PIE support. - Add section to obsolete gdb64 package. * Sun Mar 21 2004 Elena Zannoni - 0.20040223.8 - Add support for debugging of PIE executables. * Tue Mar 09 2004 Elena Zannoni - 0.20040223.7 - Bump version number. * Mon Mar 08 2004 Jeff Johnston - 0.20040223.6 - Fix thread support to recognize new threads even when they reuse tids of expired threads. Also ensure that terminal is held by gdb while determining if a thread-create event has occurred. * Mon Mar 08 2004 Andrew Cagney - 0.20040223.5 - Sync with 6.1 branch; eliminate all amd64 patches; add more robust 32x64 PPC64 patches. * Tue Mar 02 2004 Elliot Lee - rebuilt * Tue Mar 2 2004 Andrew Cagney - 0.20040223.4 - 32x64 fixes that work with threads, replaced old non-thread 32x64 patch, add nat patch. * Wed Feb 25 2004 Elena Zannoni - 0.20040223.3 - Add patch for x86_64 in 32 bit mode. * Wed Feb 25 2004 Elena Zannoni - 0.20040223.2 - Remove ppc64 hacks. - Refresh some patches. * Wed Feb 25 2004 Elena Zannoni - 0.20040223.1 - Import new gdb snapshot from mainline FSF. - Update patch list. * Tue Feb 17 2004 Jeff Johnston - 1.20031117.8 - Switch ia64-tdep.c to use new abi used by libunwind-0.95 and up. - Fix gate area specification for ia64-linux-tdep.c. - Fix long double support for ia64. * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Jan 08 2004 Elena Zannoni - 0.20031117.7 - Add fixes for ppc32 support on ppc64 platform, from Andrew Cagney. * Tue Jan 06 2004 Elena Zannoni - 0.20031117.6 - Add patch to have unique binary names in the testsuite. - Disable s390/s390x pthread.exp test (FIXME) - Don't install any info files for the ppc platform. Let's take them from the ppc64 one (or we get install conflicts). - Remove generated info files from the source tree. They are generated as part of the FSF snapshot process. * Mon Nov 24 2003 Elena Zannoni - 0.20031117.5 - Add patches from old rpm for i386 support on x86_64. - Add build dependency on libunwind for ia64. * Fri Nov 21 2003 Jeremy Katz - 0.20031117.4 - more rpm tricks to get the gdb64 package happier * Thu Nov 20 2003 Elena Zannoni - 0.20031117.3 - Add sick and twisted workaround for ppc64 architecture. * Wed Nov 19 2003 Elena Zannoni - 0.20031117.2 - Fix typo in libunwind test. * Tue Nov 18 2003 Elena Zannoni - 0.20031117.1 - Import new gdb snapshot from mainline FSF. - Fix some testfiles. - Add fixes for gcore, and patch for libunwind support on ia64. - Add tests to see what versions of gcc, binutils, glibc and kernel we are running with. * Wed Oct 15 2003 Elena Zannoni - 0.20030710.41 - Bump up version number. * Wed Sep 24 2003 Elena Zannoni - 0.20030710.40 - Fix problem with gcore and single threaded programs. (bugzilla 103531) * Mon Sep 22 2003 Jeff Johnston - 0.20030710.39 - Fix call to quit_target from quit_force. * Sun Sep 21 2003 Andrew Cagney - 0.20030710.38 - Fix PPC64 push dummy call. - Re-fix PPC64 return value (had wrong / old patch). * Sat Sep 20 2003 Andrew Cagney - 0.20030710.37 - Fix PPC32 return values. * Sat Sep 20 2003 Andrew Cagney - 0.20030710.36 - Rewrite ppc64 retun value methods so that they (hopefully) match the SysV spec. - Enable ppc64 testsuite. * Thu Sep 18 2003 Andrew Cagney - 0.20030710.35 - Hack around problem "break main" vs "break .main" when there is only a minimal ppc64 symbol table. The former is a function descriptor and not where you want the breakpoint to go. Only convert descriptors to pointers when the address is in the ".opd" section. * Wed Sep 17 2003 Andrew Cagney - 0.20030710.34 - Fix ppc32 push_dummy_call. * Tue Sep 16 2003 Andrew Cagney - 0.20030710.33 - Pack gdb.sum and gdb.log using uuencode and bzip. * Tue Sep 16 2003 Jeff Johnston - 0.20030710.32 - Catch errors when quitting so exit of gdb still occurs. * Mon Sep 15 2003 Andrew Cagney - 0.20030710.31 - Fix ppc32 use_struct_convention. * Thu Sep 11 2003 Andrew Cagney - 0.20030710.30 - Mods to dwarf2-frame.c to work around a lack of GCC/CFI info. * Thu Sep 11 2003 Elena Zannoni - 0.20030710.29 - Bump up version number. * Wed Sep 10 2003 Elena Zannoni - 0.20030710.28 - Fix a core dump with MI. - Add new ChangeLog patch for mi changes. * Thu Sep 04 2003 Elena Zannoni - 0.20030710.27 - Change the name of the package to gdb64 in ppc64 case. * Tue Aug 26 2003 Elena Zannoni - 0.20030710.26 - Add testcase for separate debug info. * Tue Aug 26 2003 Andrew Cagney - 0.20030710.25 - fix i386 on x86-64 TLS - add "base-aug2003" suffix to older x86i386 patch * Tue Aug 26 2003 Andrew Cagney - 0.20030710.24 - skip the ppc64 and x86-64 frame redzone. * Fri Aug 22 2003 Elena Zannoni - 0.20030710.23 - Relax one testcase in selftest.exp a bit. - Accept different output as well in thread bt (platform dependent). - Enable testsuite run for ia64, ppc, s390 and s390x. They are in reasonably good shape. * Thu Aug 21 2003 Jeff Johnston - 0.20030710.22 - Multiple ia64 fixes. - Fix ia64 printing of function pointers. - Fix ia64 prologue examination to ignore predicated insns if we haven't found the return address yet. - Skip dump.exp testcase for ia64 * Thu Aug 21 2003 Elena Zannoni - 0.20030710.21 - Bump release number. * Wed Aug 20 2003 Elena Zannoni - 0.20030710.20 - Relax pattern in annota2.exp test. * Wed Aug 20 2003 Elena Zannoni - 0.20030710.19 - rename gdb binary to gdb64 for ppc64 platform. * Tue Aug 19 2003 Jeff Johnston - 0.20030710.18 - Fix ia64 pc unwinding to include psr slot. * Mon Aug 18 2003 Elena Zannoni - 0.20030710.17 - Fix info installation for annotate.texi. (Bugzilla 102521) * Fri Aug 15 2003 Elena Zannoni - 0.20030710.16 - revamp tls tests a bit. - Handle new output from gdb in relocate.exp * Wed Aug 13 2003 Elena Zannoni - 0.20030710.15 - Fix problem for processing of separate debug info files. * Wed Aug 13 2003 Jeff Johnston - 0.20030710.14 - add ia64.inc file for testing ia64 in gdb.asm testsuite * Fri Aug 8 2003 Andrew Cagney - 0.20030710.13 - print the libthread_db library path, print when threads are enabled * Thu Aug 7 2003 Andrew Cagney - 0.20030710.12 - "cat" the test log into the build log * Wed Aug 06 2003 Jeff Johnston - 0.20030710.11 - modernize ia64 gdb to use new frame model - remove/replace deprecated interfaces used by ia64 gdb * Wed Aug 06 2003 Andrew Cagney - 0.20030710.10 - Sync to gdb-5.3.90-sync-20030806.patch. * Wed Jul 29 2003 Andrew Cagney - 0.20030710.9 - add x86-64 i386 fixes * Tue Jul 29 2003 Elena Zannoni - 0.20030710.8 - Fix some tests by xfailing the correct target triplet for RedHat. - Remove include of config.h from pthreads.c testcases. * Mon Jul 28 2003 Elena Zannoni - 0.20030710.7 - Fix some test failures, by escaping correctly. * Thu Jul 24 2003 Elena Zannoni - 0.20030710.6 - Remove one testcase that is redundant. * Wed Jul 23 2003 Elena Zannoni - 0.20030710.5 - Bump up release number. * Wed Jul 23 2003 Elena Zannoni - 0.20030710.4 - Bring in sync with current head of gdb-6 branch. - Remove linespec patch, because included in the new sync patch. * Fri Jul 18 2003 Elena Zannoni - 0.20030710.3 - Add patch to avoid gdb segfault with bad debug info. - Change location of build tree to avoid conflicts with older versions possibly installed. * Thu Jul 17 2003 Elena Zannoni - 0.20030710.2 - Add patch to synchronize the current snapshot with the gdb-6 branch head. - Remove some patches that are includd in such diff. - Enable tests on AMD64 as well. * Fri Jul 11 2003 Elena Zannoni - 0.20030710.1 - Import new gdb snapshot. - Revamp gdb.spec. Get rid of patches that apply to older versions. - Add patches for ppc64 support, kfail and make gdb more robust in copingi with bad debug info. * Wed Jul 02 2003 Jeff Johnston - 1.20021129.39 - Fix bug with ia64 checking of hardware breakpoints. * Mon Jun 30 2003 Elena Zannoni - 1.20021129.38 - Add necessary function for NPTL support on x86-64. * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed Jun 04 2003 Elena Zannoni - 0.20021129.37 * Tue Jun 03 2003 Elena Zannoni - 0.20021129.36 - Enable warnings for x86_64, not x86-64. - Fix warnings from infptrace.c and dwarfread.c. - Print error message only when reading separate debug info really doesn't work (jimb@redhat.com). * Fri May 23 2003 Elena Zannoni - 0.20021129.35 - Fixes for fetching and storing access registers on s390x (jimb@redhat.com). Bugzilla 91455. * Wed May 21 2003 Jeff Johnston - 0.20021129.34 - Do not generate error on detach failure. Bugzilla 90900. * Thu May 8 2003 Elena Zannoni - 0.20021129.33 - New tests for asm on s390x (jimb@redhat.com). Bugzilla 90503. - Fixes for prologue analysis on s390x (jimb@redhat.com). Bugzilla 90506. - bfd fix for 64-bit platforms (jimb@redhat.com). - Disable ppc64 builds until we have a port. * Thu May 1 2003 Jeff Johnston - 0.20021129.32 - Add ia64 support to the float.exp testcase. * Thu May 1 2003 Elena Zannoni - 0.20021129.31 - Clean up the tls tests some more. - Fix problem with non US-eng locale. Bugzilla bug 88823. * Wed Apr 30 2003 Jeff Johnston - 0.20021129.30 - Fix ia64 prologue skipping. - Fix ia64 line table. - Fix setting of prev_pc in infrun.c. * Mon Mar 31 2003 Elena Zannoni - 0.20021129.29 - Include the gcore script, as gdb_gcore.sh and install it in /usr/bin as gcore. - One more disassembly fix for core files. Added to gdb-5.3post-disasm-mar2003.patch. Bugzilla 87677. - Enable build warnings for x86-64. * Mon Mar 31 2003 Elena Zannoni - 0.20021129.28 - Fix Java strings printing. - Fix memory corruption in disassembly code. Bugzilla 85644. - Testsuite fixes (jimb@redhat.com). Bugzilla 85457. - Fixes for s390 stack handling (jimb@redhat.com). Bugzilla 85039. - Fixes for s390 struct return (jimb@redhat.com). * Wed Mar 26 2003 Elena Zannoni - 0.20021129.27 - Fixes for disassembly of code in threaded applications. Bugzilla 87495. - Fixes for s390 prologue analysis. (jimb@redhat.com). Bugzilla bugs 85251, 85214. * Thu Mar 20 2003 Elena Zannoni - 0.20021129.26 - Fix inferior function calls with void return on x86-64. Bugzilla bug 83197. - Fix for upstream PR/699. - Fix some problems with gdb-5.3post-thrtst-feb2003.patch. * Wed Mar 19 2003 Jeff Johnston - 0.20021129.25 - Fix for thread-db.c: check_event() - Bugzilla bug 86231. * Fri Mar 14 2003 Elena Zannoni - 0.20021129.24 - Fix some problems with inferior function calls on x86-64. * Fri Mar 07 2003 Elena Zannoni - 0.20021129.23 - testsuite patches. Bugzilla 85215 85028 85335. * Thu Mar 06 2003 Elena Zannoni - 0.20021129.22 - Fix testsuite problems related to having '+' in the directory name. Bugzilla 85031. * Mon Mar 03 2003 Elena Zannoni - 0.20021129.21 - Fix a few inferior function call problems. * Mon Mar 03 2003 Elena Zannoni - 0.20021129.20 - Split the changelog patches in two. Cleanup messy patch section. * Thu Feb 27 2003 Jeff Johnston - 0.20021129.19 - Perform run-time check for tkill syscall in lin-lwp.c. * Mon Feb 24 2003 Elena Zannoni - 0.20021129.18 - Update copyright year printed in version. * Mon Feb 24 2003 Elena Zannoni - 0.20021129.17 - Refresh build. * Mon Feb 24 2003 Elena Zannoni - 0.20021129.16 - Add some testsuite cleanups, to avoid spurious test failures. * Fri Feb 21 2003 Jeff Johnston - 0.20021129.15 - Add patch to handle thread exiting when LD_ASSUME_KERNEL=2.4.1 which fixes Bugzilla bug 84217. * Fri Feb 21 2003 Elena Zannoni - 0.20021129.14 - New patch to fix disassembly on s390. Bugzilla bug 84286. - New patch for attach/ptrace fix. Bugzilla bug 84220. - Reenable tests for x86. * Thu Feb 20 2003 Jeff Johnston - 0.20021129.13 - Add patch for mixed stabs with dwarf2 - bugzilla bug 84253. * Wed Feb 12 2003 Elena Zannoni - 0.20021129.12 - Disable tests also for x86. * Tue Feb 11 2003 Elena Zannoni - 0.20021129.11 - Add patch for mi threads tests. - Add patch for dwarf2 debug_ranges section. - Add patch for detach bug. * Mon Feb 10 2003 Elena Zannoni - 0.20021129.10 - Add patch for testsuite auto answering internal error queries. - Add new TLS tests. - Add cleanup patches for thread tests. * Mon Feb 03 2003 Elena Zannoni - 0.20021129.9 - Add new patch for thread support. Apply on all arches. - Do not apply old patches, but leave them around for now. - Add new patch for dwarf2 debug info reading. - Add new patch for dwarf2 cfi engine cleanup. - Add new patch for uiout problems. - Add new patch for s390 build. - Disable tests on all platforms but x86. * Mon Jan 27 2003 Elena Zannoni - 0.20021129.8 - Move all the changelog entries to a single patch. - Add tests to the args patch. - Add new patch for until command fix (bugzilla Bug 19890). - s390 and s390x can be built with -Werror. - Run make check for s390 and s390x too. - Include an updated version of the thread nptl patch (still WIP). * Wed Jan 15 2003 Phil Knirsch - 0.20021129.7 - Apply the 2nd misc patch for s390 and s390x, too. * Tue Jan 14 2003 Elena Zannoni - 0.20021129.6 - Add patches for NPTL support, to be applied on i386 only. (this is still WIP) - Split old misc patch in two parts. - Temporarily disable testsuite run on alpha. * Sun Jan 12 2003 Elena Zannoni - 0.20021129.5 - Add patch for --args with zero-length arguments. Fix for bug 79833. * Tue Dec 17 2002 Elliot Lee - 0.20021129.4 - The define directive to rpm is significant even if the line it is in happens to start with a '#' character. Fixed. * Fri Dec 13 2002 Elena Zannoni - 0.20021129.3 - Merge previous patches for warnings into a single one. - Add changelogs to patches. - Add, but don't use, a macro to avoid stripping. * Fri Dec 6 2002 Elena Zannoni - Add patch to allow debugging of executables with debug info stored in separate files. - Add patch for Makefile dependencies and disable warnings for building thread-db.c. - Re-enable building with -Werror for alpha, ia64, ppc. * Mon Dec 2 2002 Elena Zannoni - Don't pass to gdb an empty build warnings flag, or that will disable warnings completely. We want to build using gdb's standard warnings instead. * Mon Dec 2 2002 Elena Zannoni - Don't do testing for x86_64. * Sun Dec 1 2002 Elena Zannoni - x86_64 doesn't build with Werror yet. - Add patch for alpha. - Alpha doesn't build with -Werror either. - Add patch for ia64. - Add patch for ppc. - Drop ia64 from -Werror list. - Drop ppc from -Werror list. * Sun Dec 1 2002 Elena Zannoni - Add dejagnu to the build requirements. - Enable make check. - Add enable-gdb-build-warnings to the configure flags. * Fri Nov 29 2002 Elena Zannoni - Import new upstream sources. - Change version and release strings. - Upgrade patches. - Build gdb/gdbserver as well. - Define and use 'cvsdate'. - Do %%setup specifying the source directory name. - Don't cd up one dir before removing tcl and friends. - Change the configure command to allow for the new source tree name. - Ditto for the copy of NEWS. - Add some comments. * Mon Nov 25 2002 Elena Zannoni 5.2.1-5 General revamp. - Add patch for gdb/doc/Makefile.in. Part of fix for bug 77615. - Add patch for mmalloc/Makefile.in. Part of fix for bug 77615. - Change string printed in version.in to -rh. - Move the deletion of dejagnu, expect, tcl to the prep section, from the build section. - Add build directory housekeeping to build section. - Use macros for configure parameters. - Do the build in a separate directory. - Prepare for testing, but not enable it yet. - Correctly copy the NEWS file to the top level directory, for the doc section to find it. - Cd to build directory before doing install. - Use makeinstall macro, w/o options. - Remove workaround for broken gdb info files. Part of fix for bug 77615. - Remove share/locale directory, it is in binutils. - Remove info/dir file. - Clarify meaning of post-install section. - Add gdbint info files to post-install, pre-uninstall and files sections. Part of fix for bugs 77615, 76423. - Add libmmalloc.a to package. * Fri Aug 23 2002 Florian La Roche - added mainframe patch from developerworks * Wed Aug 21 2002 Trond Eivind Glomsrod 5.2.1-3 - Add changelogs to the previous patch * Wed Aug 14 2002 Trond Eivind Glomsrod 5.2.1-2 - Add some patches from Elena Zannoni * Tue Jul 23 2002 Trond Eivind Glomsrod 5.2.1-1 - 5.2.1 * Mon Jul 22 2002 Florian La Roche - compile on mainframe * Mon Jul 8 2002 Trond Eivind Glomsrod 5.2-3 - Rebuild * Tue May 7 2002 Trond Eivind Glomsrod 5.2-2 - Rebuild * Mon Apr 29 2002 Trond Eivind Glomsrod 5.2-1 - 5.2 * Mon Apr 29 2002 Trond Eivind Glomsrod 5.1.92-1 - 5.1.92. Hopefully identical to 5.2 final * Mon Apr 22 2002 Trond Eivind Glomsrod 5.1.91-1 - 5.1.91. 5.2 expected in a week * Thu Mar 28 2002 Trond Eivind Glomsrod 5.1.90CVS-5 - Update to current * Thu Mar 28 2002 Trond Eivind Glomsrod 5.1.90CVS-4 - Update to current * Thu Mar 28 2002 Trond Eivind Glomsrod 5.1.90CVS-3 - Update to current * Wed Mar 20 2002 Trond Eivind Glomsrod 5.1.90CVS-2 - Update to current * Wed Mar 13 2002 Trond Eivind Glomsrod 5.1.90CVS-1 - Update to current 5.2 branch * Thu Jan 24 2002 Trond Eivind Glomsrod 5.1.1-1 - 5.1.1 - add URL * Wed Jan 09 2002 Tim Powers - automated rebuild * Mon Dec 10 2001 Trond Eivind Glomsrod 5.1-2 - Fix some thread+fpu problems * Mon Nov 26 2001 Trond Eivind Glomsrod 5.1-1 - 5.1 * Mon Nov 19 2001 Trond Eivind Glomsrod 5.0.94-0.71 - 5.0.94. Almost there.... * Mon Nov 12 2001 Trond Eivind Glomsrod 5.0.93-2 - Add patch from jakub@redhat.com to improve handling of DWARF * Mon Nov 12 2001 Trond Eivind Glomsrod 5.0.93-1 - 5.0.93 - handle missing info pages in post/pre scripts * Wed Oct 31 2001 Trond Eivind Glomsrod 5.0.92-1 - 5.0.92 * Fri Oct 26 2001 Trond Eivind Glomsrod 5.0.91rh-1 - New snapshot - Use the 5.0.91 versioning from the snapshot * Wed Oct 17 2001 Trond Eivind Glomsrod 5.0rh-17 - New snapshot * Thu Sep 27 2001 Trond Eivind Glomsrod - New snapshot * Wed Sep 12 2001 Trond Eivind Glomsrod 5.0rh-16 - New snapshot * Mon Aug 13 2001 Trond Eivind Glomsrod 5.0rh-15 - Don't buildrequire compat-glibc (#51690) * Thu Aug 9 2001 Trond Eivind Glomsrod - New snapshot, from the stable branch eventually leading to gdb 5.1 * Mon Jul 30 2001 Trond Eivind Glomsrod - s/Copyright/License/ - Add texinfo to BuildRequires * Mon Jun 25 2001 Trond Eivind Glomsrod - New snapshot * Fri Jun 15 2001 Trond Eivind Glomsrod - New snapshot - Add ncurses-devel to buildprereq - Remove perl from buildprereq, as gdb changed the way version strings are generated * Thu Jun 14 2001 Trond Eivind Glomsrod - New snapshot * Wed May 16 2001 Trond Eivind Glomsrod - New snapshot - this had thread fixes for curing #39070 - New way of specifying version * Tue May 1 2001 Trond Eivind Glomsrod - New tarball - Kevin's patch is now part of gdb * Mon Apr 9 2001 Trond Eivind Glomsrod - Add patch from kevinb@redhat.com to fix floating point + thread problem (#24310) - remove old workarounds - new snapshot * Thu Apr 5 2001 Trond Eivind Glomsrod - New snapshot * Sat Mar 17 2001 Bill Nottingham - on ia64, there are no old headers :) * Fri Mar 16 2001 Trond Eivind Glomsrod - build with old headers, new compiler * Wed Mar 16 2001 Trond Eivind Glomsrod - new snapshot * Mon Feb 26 2001 Trond Eivind Glomsrod - new snapshot which should fix some more IA64 problems (#29151) - remove IA64 patch, it's now integrated * Wed Feb 21 2001 Trond Eivind Glomsrod - add IA64 and Alpha patches from Kevin Buettner - use perl instead of patch for fixing the version string * Tue Feb 20 2001 Trond Eivind Glomsrod - don't use kgcc anymore - mark it as our own version - new snapshot * Mon Jan 22 2001 Bernhard Rosenkraenzer - Link with ncurses 5.x even though we're using kgcc. No need to drag in requirements on ncurses4 (Bug #24445) * Fri Jan 19 2001 Trond Eivind Glomsrod - new snapshot * Thu Dec 20 2000 Trond Eivind Glomsrod - new snapshot * Mon Dec 04 2000 Trond Eivind Glomsrod - new snapshot - new alpha patch - it now compiles everywhere. Finally. * Fri Dec 01 2000 Trond Eivind Glomsrod - new snapshot * Mon Nov 20 2000 Trond Eivind Glomsrod - new CVS snapshot - disable the patches - don't use %%configure, as it confuses the autoconf script - enable SPARC, disable Alpha * Wed Aug 09 2000 Trond Eivind Glomsrod - added patch from GDB team for C++ symbol handling * Mon Jul 25 2000 Trond Eivind Glomsrod - upgrade to CVS snapshot - excludearch SPARC, build on IA61 * Wed Jul 19 2000 Trond Eivind Glomsrod - rebuild * Thu Jul 13 2000 Prospector - automatic rebuild * Sun Jul 02 2000 Trond Eivind Glomsrod - rebuild * Fri Jun 08 2000 Trond Eivind Glomsrod - use %%configure, %%makeinstall, %%{_infodir}, %%{_mandir}, and %%{_tmppath} - the install scripts for info are broken(they don't care about you specify in the installstep), work around that. - don't build for IA64 * Mon May 22 2000 Trond Eivind Glomsrod - upgraded to 5.0 - dump all patches. Reapply later if needed. - added the NEWS file to the %%doc files - don't delete files which doesn't get installed (readline, texinfo) - let build system handle stripping and gzipping - don't delete libmmalloc - apply patch from jakub@redhat.com to make it build on SPARC * Fri Apr 28 2000 Matt Wilson - rebuilt against new ncurses * Tue Mar 7 2000 Jeff Johnson - rebuild for sparc baud rates > 38400. * Tue Feb 8 2000 Jakub Jelinek - fix core file handling on i386 with glibc 2.1.3 headers * Fri Jan 14 2000 Jakub Jelinek - fix reading registers from core on sparc. - hack around build problems on i386 with glibc 2.1.3 headers * Thu Oct 7 1999 Jim Kingdon - List files to install in /usr/info specifically (so we don't pick up things like info.info from GDB snapshots). * Thu Oct 7 1999 Jim Kingdon - Update GDB to 19991004 snapshot. This eliminates the need for the sigtramp, sparc, xref, and threads patches. Update sparcmin patch. * Mon Aug 23 1999 Jim Kingdon - Omit readline manpage. * Tue Aug 7 1999 Jim Kingdon - Remove H.J. Lu's patches (they had been commented out). - Add sigtramp patch (from gdb.cygnus.com) and threads patch (adapted from code fusion CD-ROM). * Wed Apr 14 1999 Jeff Johnson - merge H.J. Lu's patches into 4.18. * Mon Apr 05 1999 Cristian Gafton - updated the kern22 patch with stuff from davem * Thu Apr 1 1999 Jeff Johnson - sparc with 2.2 kernels no longer uses sunos ptrace (davem) * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 3) * Mon Mar 8 1999 Jeff Johnson - Sparc fiddles for Red Hat 6.0.