Commit Graph

500 Commits

Author SHA1 Message Date
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
082b63b1ab Update for the new multitestsuite layout since gdb-6.7.1-15.fc9. 2008-03-01 08:01:57 +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
Bill Nottingham
e42a86f6e6 makefile update to properly grab makefile.common 2007-10-15 18:46:45 +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
Štěpán Kasal
8c68955da2 test commit 2007-05-30 14:38:39 +00:00
Jan Kratochvil
f0d366b68d Support also the koji-checked-out `build-\d+' directory structure. 2007-05-25 14:33:07 +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