Commit Graph

374 Commits

Author SHA1 Message Date
Jan Kratochvil a1707b2aa7 - Upgrade to the FSF GDB gdb-6.8.50 snapshot. 2009-02-11 00:43:22 +00:00
Jan Kratochvil 81783d0ff2 - Upgrade to the FSF GDB gdb-6.8.50 snapshot. 2009-02-11 00:04:48 +00:00
Jan Kratochvil ec0fcb652c - Fix crash / implement `finish' into inlined functions (BZ 479781).
- Drop the gdb.threads/attach-into-signal.exp change as obsolete.
2009-02-09 12:35:37 +00:00
Jan Kratochvil c1c2c92c21 Drop the gdb.threads/attach-into-signal.exp change as obsolete. 2009-02-05 15:54:27 +00:00
Jan Kratochvil 23cdd3f2da - Upgrade to the upstream gdb-6.8.50 snapshot. 2008-12-14 14:43:40 +00:00
Jan Kratochvil 407ebe9063 - Upgrade to the upstream gdb-6.8.50 snapshot. 2008-12-14 14:05:20 +00:00
Jan Kratochvil 39347a6c8a - Make `--with testsuite' BuildRequires properly conditional. 2008-12-01 18:07:19 +00:00
Štěpán Kasal 9b2688b72a cosmetic changes 2008-12-01 16:25:47 +00:00
Jan Kratochvil 3dc772c212 - Enable ia64 hardware watchpoints if created before starting inferior. 2008-11-18 20:01:02 +00:00
Jan Kratochvil 84892dcf86 - Fix a race in the testcase `gdb.threads/step-thread-exit.exp'. 2008-11-09 21:04:28 +00:00
Jan Kratochvil 917bed595e - Fix more the variable-length-arrays support (BZ 468266, feature BZ
377541).
- Integrate the `bt full' protection (for BZ 466901) into the VLA patch.
2008-11-09 14:39:26 +00:00
Jan Kratochvil 3883e15b9c - Fix the "never terminate `bt full'" patch false GCC warning / build
error.
2008-11-06 22:35:31 +00:00
Jan Kratochvil bdd0d9f59a Release number fixup. 2008-11-06 22:16:53 +00:00
Jan Kratochvil 74f680bfbd - 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).
2008-11-06 22:15:31 +00:00
Jan Kratochvil bb9a89cb8a - 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.
2008-11-06 20:52:36 +00:00
Jan Kratochvil e168686c08 - Fix the watchpoints conditionals. 2008-11-04 05:51:22 +00:00
Jan Kratochvil 5c94ba08ee - 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.
2008-11-03 03:34:39 +00:00
Jan Kratochvil fdeb421774 - Fix PIE patch regression for loading binaries from valgrind (BZ 460319). 2008-09-02 00:55:43 +00:00
Jan Kratochvil 10f824b955 - 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'.
2008-08-28 18:48:34 +00:00
Jan Kratochvil e3c8b47c74 - 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').
2008-08-27 11:07:47 +00:00
Jan Kratochvil 4f698ded6f - Fix MI debuginfo print on reloaded exec, found by Denys Vlasenko (BZ
459414).
- Extend the Fortran dynamic variables patch also for dynamic Fortran
    strings.
2008-08-23 21:49:42 +00:00
Jan Kratochvil bc809fee48 - Temporarily disable attaching to a stopped process (BZ 453688)
- To be reintroduced after a fix of the kernel BZ 454404.
2008-08-13 20:23:18 +00:00
Jan Kratochvil 4bbd3a23f8 - Fix `errno' printing on nonthreaded non-g3 inferiors (TLS minsym is
absolute).
2008-08-04 04:42:57 +00:00
Jan Kratochvil 3a094fb8da - 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).
2008-08-01 06:36:43 +00:00
Jan Kratochvil 8b1b3fd689 - Refresh the patchset with fuzz 0 (for new rpmbuild). 2008-07-14 09:09:04 +00:00
Jan Kratochvil 3f491b2d88 - Rebuild with the new rpm-4.5.90 in the buildroot. 2008-07-14 06:51:26 +00:00
Jan Kratochvil 535451a6ad - 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.
2008-07-12 07:02:33 +00:00
Jan Kratochvil 5ca2edcb43 - Fix crash due to calling an inferior function right after a watchpoint
stop.
2008-07-07 22:47:03 +00:00
Jan Kratochvil 942cd23f69 - Support transparent debugging of inlined functions for an optimized code. 2008-07-03 11:05:26 +00:00
Jan Kratochvil 666c0bad8d - Remove the gdb/gdbtui binaries duplicity. 2008-06-20 08:37:16 +00:00
Jan Kratochvil dd1aa7b0b3 - 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.
2008-06-17 16:24:16 +00:00
Jan Kratochvil 2234aa8fd6 - Fix crash on a watchpoint update on an inferior stop.
- Fix the s390x part of the hardware watchpoints after a fork.
2008-06-01 13:14:20 +00:00
Jan Kratochvil ad4fdd5fb5 - Fix memory trashing on binaries from GNAT/Ada (workaround GCC PR 35998). 2008-05-22 20:37:43 +00:00
Tom Callaway e237432bca Silence memcpy check which returns false positive (sparc64) 2008-05-15 23:27:24 +00:00
Jan Kratochvil a8518f3891 Fixup the numbering. 2008-05-15 21:26:13 +00:00
Tom Callaway dccf7f213b fix gdb for sparcv9 and sparc64 2008-05-15 21:16:19 +00:00
Jan Kratochvil 4824eeeeb5 - Make the testsuite results of dfp-test.exp more stable. 2008-05-04 06:54:04 +00:00
Jan Kratochvil 1f8808d842 - Fix gdb.base/gcore-shmid0.exp to be unresolved on recent kernels. 2008-05-03 20:41:55 +00:00
Jan Kratochvil 70c7344648 Fix the Release number. 2008-04-27 20:30:02 +00:00
Jan Kratochvil 17a4f25e9f - Remove the kernel VDSO workaround (`no loadable ...') (kernel BZ 312011). 2008-04-27 20:28:26 +00:00
Jan Kratochvil c499105421 - 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.
2008-04-22 22:13:56 +00:00
Jan Kratochvil 7db944e3bd - 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.
2008-04-16 15:00:25 +00:00
Jan Kratochvil 5f5d7d94b5 - 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.
2008-04-13 23:51:48 +00:00
Jan Kratochvil a9e8793603 - Test crash on a sw watchpoint condition getting out of the scope. 2008-04-06 01:40:10 +00:00
Jan Kratochvil e923707749 - Fix a minor test race of the hardware watchpoints after the fork call. 2008-03-30 22:15:14 +00:00
Jan Kratochvil ed268f2814 - 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.
2008-03-30 18:58:47 +00:00
Jan Kratochvil 4ebfb44ea4 - Cosmetic fix of a testcase sanity breakpoint setting (part of BZ 233852). 2008-03-29 15:31:15 +00:00
Jan Kratochvil 7d92950e83 - Upgrade to the latest upstream final release gdb-6.8. 2008-03-28 09:32:36 +00:00
Jan Kratochvil 338fe930a1 - 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.
2008-03-10 10:05:44 +00:00
Jan Kratochvil 5bed39139d - 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 %changlog of
    6.7.50.20080227-1.
2008-03-04 14:42:19 +00:00
Jan Kratochvil 25ff8a1663 - 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.
2008-03-03 16:13:47 +00:00
Jan Kratochvil 2da8118ede - Run the full testsuite also in the `-fPIE -pie' mode. 2008-03-01 08:03:38 +00:00
Jan Kratochvil b3e4c8b04e - 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.
2008-02-25 09:25:51 +00:00
Jan Kratochvil 917a6fb9db - 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).
2008-02-21 21:41:59 +00:00
Jan Kratochvil 08593f1932 - 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 <asm/ptrace.h> 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.
2008-02-20 09:43:35 +00:00
Jan Kratochvil 4d1104a1ae - build-id debug messages print now the library names unconditionally. 2008-02-07 14:22:49 +00:00
Jan Kratochvil 6a80c39af8 - 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.
2008-01-24 16:45:56 +00:00
Jan Kratochvil 2a6507443a - Compilation fixup (-9 was never released). 2008-01-12 16:28:31 +00:00
Jan Kratochvil d945816097 - 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.
2008-01-12 16:16:46 +00:00
Jan Kratochvil 3f52bbd141 - 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.
2008-01-10 17:17:49 +00:00
Jan Kratochvil d50521fae0 - 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).
2008-01-07 15:10:23 +00:00
Jan Kratochvil 4a930500c1 - Testsuite fixes for more stable/comparable results. 2007-12-10 23:05:54 +00:00
Jan Kratochvil cd60710ea7 - Reduce the excessive gcc-* packages dependencies outside of mock/koji. 2007-11-23 23:25:00 +00:00
Jan Kratochvil 92dc0e1867 - 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.
2007-11-16 02:15:40 +00:00
Jan Kratochvil b0ab3a801f - 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.
2007-11-04 17:55:57 +00:00
Jan Kratochvil 27c2469e2f - Backport `Breakpoints at multiple locations' patch primarily for C++. 2007-11-03 19:10:29 +00:00
Jan Kratochvil 50dab454bd - Upgrade to GDB 6.7.1. Drop redundant patches, forward-port remaining
ones.
2007-11-01 22:28:37 +00:00
Jan Kratochvil eb9d945afa - Upgrade to GDB 6.7. Drop redundant patches, forward-port remaining ones.
- Fix rereading of the main executable on its change.
2007-11-01 20:24:20 +00:00
Jan Kratochvil cc171577b7 - Fix hiding unexpected breakpoints on intentional step/next commands.
- Fix s390 compilation warning/failure due to a wrongly sized type-cast.
2007-10-19 00:12:58 +00:00
Jan Kratochvil 9a1b9888ac - Fix hardware watchpoints after inferior forks-off some process. 2007-10-14 20:11:42 +00:00
Jan Kratochvil bd518c30d9 - Fix non-threaded watchpoints CTRL-C regression on `set follow child'. 2007-10-13 18:40:40 +00:00
Jan Kratochvil 84f82bf43b - Fix gdbserver for threaded applications and recent glibc (BZ 328021). 2007-10-12 09:20:08 +00:00
Jan Kratochvil 7969725ab1 - Fix debug load for sparse assembler files (such as vDSO32 for
i386-on-x86_64).
2007-10-09 17:05:59 +00:00
Jan Kratochvil cafa2ff0c1 - 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').
2007-10-08 19:12:38 +00:00
Jan Kratochvil ddc50f97e3 - 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'.
2007-10-05 15:00:27 +00:00
Jan Kratochvil 435483c64b - 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).
2007-09-25 23:14:55 +00:00
Jan Kratochvil dd40115f74 - Fixed the kernel VDSO loading (`warning: no loadable sections found in
...').
- Fix the testcase for pending signals (from BZ 233852).
2007-09-23 15:42:37 +00:00
Jan Kratochvil add1a2d48d - 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).
2007-09-22 15:56:10 +00:00
Jan Kratochvil 41705867ad - Fix attaching to stopped processes and/or pending signals. 2007-09-16 22:34:35 +00:00
Jan Kratochvil 4e2e7886e3 - 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).
2007-08-28 14:46:38 +00:00
Jan Kratochvil 864733e518 - Fixed excessive RPATH (related to BZ 228891). 2007-08-17 14:37:20 +00:00
Jan Kratochvil daafa059ee - Fixed compatibility with the Rawhide glibc open(2) syscall sanity
checking.
- Update the core_dump_elf_headers=1 compatibility code to the upstream
    variant.
2007-08-08 22:02:39 +00:00
Jan Kratochvil 7a31f8b0c5 - Update PPC unwinding patches to their upstream variants (BZ 140532). 2007-08-06 00:24:32 +00:00
Jesse Keating 6614f13981 - Rebuild for RH #249435 2007-07-25 17:16:51 +00:00
Jan Kratochvil 2d6435754d - 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.
2007-07-23 22:19:06 +00:00
Jan Kratochvil 5c49e68313 - 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.
2007-07-08 10:45:30 +00:00
Jan Kratochvil a0b6775162 - Link with libreadline provided by the operating system. 2007-07-05 12:13:42 +00:00
Jan Kratochvil c78c51c0de - Fix PPC software watchpoints active while stepping atomic instr. (BZ
237572).
2007-06-26 04:37:05 +00:00
Jan Kratochvil 5a72cdabf8 - Support for stepping over PPC atomic instruction sequences (BZ 237572).
- `set scheduler-locking step' is no longer enforced but it is now default.
2007-06-21 05:22:01 +00:00
Jan Kratochvil 4e636f8028 - Fix attaching a stopped process on expected + upstream kernels (BZ
233852).
- Fix attaching during a pending signal being delivered.
2007-06-20 14:25:46 +00:00
Jan Kratochvil aad703f07a - 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).
2007-06-07 18:31:29 +00:00
Jan Kratochvil acb618c727 - Fixup for the PPC Power6/DFP instructions disassembly (BZ 230000).
- New testcase for the GCORE buffer overflow (for BZ 238285, formerly
    235753).
- Related: rhbz#230000 rhbz#238285 rhbz#235753
2007-04-28 21:50:42 +00:00
Jan Kratochvil 1499556e03 - Fix `gcore' command for 32bit PPC inferiors on 64bit PPC hosts (BZ
232015).
- Resolves: rhbz#232015
2007-04-26 00:41:22 +00:00
Jan Kratochvil a32d62ae37 - Enable PowerPC to print 128-bit long double variables (BZ 237872).
- New testcase for 32bit inferiors on 64bit hosts.
- Resolves: rhbz#237872
- Related: rhbz#232014
2007-04-25 21:13:29 +00:00
Jan Kratochvil 8336d588bf - 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
    235753).
- 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.
- Reverts: rhbz#235197
- Related: rhbz#235197 rhbz#225783
- Resolves: rhbz#235753
2007-04-24 15:57:25 +00:00
Jan Kratochvil 4b94240967 - Notify user of a child forked process being detached (BZ 235197).
- Resolves: rhbz#235197
2007-04-22 20:16:04 +00:00
Jan Kratochvil b2d009af0c - 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.
- Resolves: rhbz#229517
- Related: rhbz#237096
2007-04-22 13:13:52 +00:00
Jan Kratochvil 9a64326ab3 - 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.
- Resolves: rhbz#233716
2007-03-24 08:55:33 +00:00
Jan Kratochvil 8955b7e320 - Suggest SELinux permissions problem; no assertion failure anymore (BZ
232371).
- Related: rhbz#232371
2007-03-16 00:49:33 +00:00
Jan Kratochvil eaba00d1b0 - Fix occasional dwarf2_read_address: Corrupted DWARF expression (BZ
232353).
- Resolves: rhbz#232353
2007-03-15 08:37:14 +00:00