Commit Graph

593 Commits

Author SHA1 Message Date
Jan Kratochvil 642e08f465 [RHEL] Disable MiniDebugInfo F-18 feature on RHEL <= 6 (BZ 834068). 2012-07-06 22:12:53 +02:00
Jan Kratochvil a4cfcd84af Fix .spec metadata for the MiniDebugInfo F-18 feature (BZ 834068). 2012-07-06 21:31:21 +02:00
Jan Kratochvil e7f1c832a7 [archer-tromey-dwz-multifile-rebase] Fix DWARF files reading (Tom Tromey). 2012-07-06 19:30:32 +02:00
Jan Kratochvil 5387893eab Fix build-id-core-loads internal error (BZ 837870). 2012-07-06 16:01:10 +02:00
Jan Kratochvil c501c4bdb1 Implement MiniDebugInfo F-18 Feature consumer (Alexander Larsson, BZ 834068). 2012-07-05 23:18:24 +02:00
Jan Kratochvil 11eae30806 Rebase to FSF GDB 7.4.50.20120703.
- [archer-tromey-dwz-multifile-rebase] Merge new branch (Tom Tromey).
- [arm] <--with testsuite>: Disable fpc BuildRequires as it is not yet built.
- Revert function returning pointer fix (PR 9514) regressing Fedora errno patch.
2012-07-03 20:54:05 +02:00
Sergio Durigan Junior a9b4b48ee3 Reorder `Patch' entry for BZ 818343; include missing `fedoratest'. 2012-06-26 18:47:51 -03:00
Sergio Durigan Junior 31a43c2209 Include testcase for BZ 818343. 2012-06-21 07:09:31 -03:00
Jan Kratochvil a930df3ffb Fix regression of undisplayed missing shared libraries caused by a fix for:
GNU/Linux core open: Can't read pathname for load map: Input/output error.
2012-06-19 22:30:55 +02:00
Sergio Durigan Junior 2b568b7d72 Include testcase for BZ 823789. 2012-06-17 18:00:10 -03:00
Jan Kratochvil 31e8955039 Support DW_OP_GNU_parameter_ref for -O2 -g inferiors (BZ 827375). 2012-06-14 09:41:43 +02:00
Jan Kratochvil c382081360 Disable -lmcheck in the development builds.
- Fix assertion on some files as glibc-2.15.90-8.fc18 (Doug Evans).
2012-06-06 19:23:02 +02:00
Jan Kratochvil 500c813e17 Fix Release.
- Make yum --enablerepo compatible with at least mock-1.1.21-1.fc16 Rawhide cfg.
2012-06-03 20:22:28 +02:00
Jan Kratochvil f8eee05550 Rebase to FSF GDB 7.4.50.20120602.
- [testsuite] BuildRequire gcc-go.
- Drop printing 2D C++ vectors as matrices which no longer worked (BZ 562763).
- Fix dejagnu-1.5-4.fc17 compatibility for Go (for BZ 635651).
- Use librpm.so.3 for rpm-4.10.0 in Fedora 18.
- Revert recent breakage of UNIX objfiles order for symbols lookup.
2012-06-03 19:40:44 +02:00
Jan Kratochvil 0c6cb6731e [ppc] Fix hardware watchpoints on PowerPC (BZ 827600, Edjunior Machado). 2012-06-02 15:47:38 +02:00
Jan Kratochvil 3071876327 Workaround PR libc/14166 for inferior calls of strstr. 2012-05-28 17:16:39 +02:00
Jan Kratochvil d1151d6581 [RHEL5] Workaround doc build race. 2012-05-14 18:22:20 +02:00
Jan Kratochvil 43d8d62a03 Rename "set auto-load" patchset variable $ddir to $datadir. 2012-05-14 15:54:44 +02:00
Jan Kratochvil de3a592768 Fix in "set auto-load" patchset for SCL scripts inheritance (BZ 815910). 2012-05-09 22:39:25 +02:00
Jan Kratochvil 72cb82c2bf [RHEL5] Workaround kernel for detaching SIGSTOPped processes (BZ 809382). 2012-04-25 20:59:19 +02:00
Jan Kratochvil fdf21a3584 Update "set auto-load" patchset and the --with-auto-load-safe-path setting.
- [RHEL] Disable gdb-add-index even on RHEL-6 as RHEL-6.0 had too old elfutils.
2012-04-24 22:24:12 +02:00
Jan Kratochvil bd04ff0041 [RHEL] Fix --with-auto-load-safe-path systems prior to /usr move. 2012-04-18 20:16:36 +02:00
Jan Kratochvil 08451779f9 Security fix for loading untrusted inferiors, see "set auto-load" (BZ 756117). 2012-04-18 02:17:28 +02:00
Jan Kratochvil f289ba9c21 [RHEL7] Fix/remove readline-devel BuildRequires redundant distro suffic .fc17. 2012-04-13 16:26:39 +02:00
Jan Kratochvil fbf39fd05f Workaround crashes from stale frame_info pointer (BZ 804256). 2012-04-04 21:56:56 +02:00
Jan Kratochvil 78a785d4c5 testsuite: Fix break-interp.exp expections for updated glibc (BZ 752834). 2012-04-04 17:21:33 +02:00
Jan Kratochvil e26cb4d20f [RHEL5,RHEL6] Reintroduce fix attaching to stopped processes. 2012-04-04 16:35:40 +02:00
Jan Kratochvil ea0fcb4584 Fix performance regressions with .gdb_index (Tom Tromey, BZ 805274). 2012-03-31 00:00:30 +02:00
Jan Kratochvil 572702753c Fixup %{_datadir}/gdb timestamps for multilib conflicts on RHELs. 2012-03-30 10:54:24 +02:00
Jan Kratochvil 9d32f32f26 [vla] Fix regression on no type for subrange from IBM XLF Fortran (BZ 806920). 2012-03-26 21:25:32 +02:00
Jan Kratochvil 3d3c8f2d4a Fix loading of core files without build-ids but with build-ids in executables. 2012-03-17 12:41:20 +01:00
Jan Kratochvil 380b734913 Fix an implied regression by the inferior calls fix below (BZ 799531). 2012-03-09 22:30:50 +01:00
Jan Kratochvil 01b1870f18 Fix SELinux deny_ptrace .spec build rules (BZ 786878). 2012-03-09 19:11:09 +01:00
Jan Kratochvil d8e4a58344 Fix inferior calls, particularly uncaught thrown exceptions (BZ 799531).
- Fix DWARF DIEs CU vs. section relative offsets (Joel Brobecker, me).
2012-03-09 00:17:10 +01:00
Jan Kratochvil c64e73263b Print reasons for failed attach/spawn incl. SELinux deny_ptrace (BZ 786878). 2012-03-06 07:57:07 +01:00
Jan Kratochvil 46d8530cd6 [rhel5] Fix up the previous commit (BZ 799318). 2012-03-04 18:52:21 +01:00
Jan Kratochvil 9fd125663d [rhel5] Fix up the previous commit (BZ 799318). 2012-03-04 18:19:48 +01:00
Jan Kratochvil 1c8cc3b9e6 [rhel5] Workaround rpmbuild to make the doc subpkg noarch again (BZ 799318). 2012-03-04 10:43:26 +01:00
Jan Kratochvil fb7506558d [vla] Fix crash for dynamic.exp with gcc-gfortran-4.1.2-51.el5.x86_64.
- Reintroduce RHEL-5 glibc workaround for bt-clone-stop.exp.
- testsuite: Update/fix rh634108-solib_address.exp for the upstreamed API.
2012-03-02 23:16:12 +01:00
Jan Kratochvil e05ce76998 Add kernel vDSO workaround (`no loadable ...') on RHEL-5 (kernel BZ 765875).
- Fix skipping of prologues on RHEL-5 gcc-4.1 -O2 -g code (BZ 797889).
- Fix breakpoint warning during 'next' over exit() (Tom Tromey, BZ 797892).
2012-02-29 11:13:05 +01:00
Jan Kratochvil 9e9d7b2bbb testsuite: Fix gdb.base/macscp.exp ccache workaround in SCL mode.
- Adjust the RHEL/F version string automatically (BZ 797651, BZ 797646).
- Provide gdbtui for RHEL-5 and RHEL-6 as it is removed upstream (BZ 797664).
2012-02-28 18:05:01 +01:00
Jan Kratochvil 9ce5c44987 Do not use gcc44/gfortran44 on RHEL-5 if in SCL mode. 2012-02-24 17:20:30 +01:00
Jan Kratochvil 55c3b84dd7 Fix libinproctrace.so build on RHEL-5 i386 (disable it on RHEL-5). 2012-02-22 23:08:37 +01:00
Jan Kratochvil 3a4ee84176 Implement SCL (scl-utils-build) macros. 2012-02-22 19:22:10 +01:00
Jan Kratochvil e81f470147 Fix debuginfo gdb-gdb.py build without redhat-rpm-config and on RHEL-5.
- Provide precompiled variants of gdb-gdb.py.
2012-02-21 20:05:03 +01:00
Jan Kratochvil 67644b518c gstack: Turn off --readnever (suggested by Oliver Henshaw). 2012-02-13 20:17:47 +01:00
Jan Kratochvil 5c4cedb759 [RHELs] Drop simulation of legacy behavior - new GDB should behave as new GDB. 2012-02-10 21:03:13 +01:00
Jan Kratochvil 750e47124c Simplify %setup .spec rule. 2012-02-10 05:30:04 +01:00
Jan Kratochvil 84ef6008bd Drop --with upstream .spec rules. 2012-02-10 05:06:58 +01:00
Jan Kratochvil 62c93b3435 Drop --with debug .spec rules. 2012-02-10 05:03:15 +01:00
Jan Kratochvil 3000de323b Improve performance for C++ symbols expansion (Tom Tromey, BZ 787487).
- Install also gdb-gdb.py pretty printers.
2012-02-09 22:25:44 +01:00
Jan Kratochvil a50d5b63a7 Fix possible NULL crash in find_charset_names (Trom Tromey, BZ 786091).
- [ppc*] Fix build failure due to GCC aliasing warning (BZ 786504).
2012-02-09 20:09:41 +01:00
Jan Kratochvil c5c713f196 Rebase to FSF GDB 7.4.50.20120120.
Drop the g77 .spec provisioning as it has been fixed in FSF GDB.
2012-01-21 00:27:28 +01:00
Jan Kratochvil cc92f09aa1 Enable smaller %{_bindir}/gdb in future by no longer using -rdynamic.
Make --enablerepo to use '*-debug*' for RHEL compatibility (BZ 781571).
On older RHELs make readline bundled again (BZ 701131).
Fix build compatibility with RHEL-5 due to false noarch build.
2012-01-19 21:44:54 +01:00
Jan Kratochvil a5cb59e730 Disable unexpected GDB directories relocatability. 2012-01-11 23:35:43 +01:00
Jan Kratochvil ec26424839 Fix BuildRequires for RHEL compatibility (BZ 701131). 2012-01-11 17:18:28 +01:00
Jan Kratochvil 2d09ea90fb Provide %snap timestamp for: Provides: bundled(librarypackage)
Replace %define by %global.
Replace Java in Summary with Fortran (only GCC-compiled Java is supported).
Unbundle readline-6.2 with a workaround of skipped "ask" (BZ 701131).
Work around readline-6.2 incompatibility not asking for --more-- (BZ 701131).
2012-01-11 17:04:42 +01:00
Jan Kratochvil 7cb24ade9a Mark %{_sysconfdir}/gdbinit as %config(noreplace).
Add appropriate: Provides: bundled(librarypackage).
Remove excessive explicit Requires: librarypackage.
2012-01-07 22:45:52 +01:00
Jan Kratochvil 2f2930eb78 Fix linking on non-x86* (such as s390*) after libgdb.a removal. 2012-01-05 14:44:59 +01:00
Jan Kratochvil e6cdbfd018 Reinclude gdb-dlopen-stap-probe.patch (missing in Fedora glibc - BZ 752476). 2012-01-04 09:46:32 +01:00
Jan Kratochvil 191f4d2883 Fix SystemTap support regression on i686 (Sergio Durigan Junior). 2012-01-03 21:06:12 +01:00
Jan Kratochvil 254f0e90bc Rebase to FSF GDB 7.4.50.20120103. 2012-01-03 16:00:12 +01:00
Jan Kratochvil 4862a154d1 No longer build bundled libstdc++ pretty printers on RHELs >= 7. 2011-11-28 14:29:49 +01:00
Sergio Durigan Junior e349329c80 Backport fix for crash in cp_scan_for_anonymous_namespace
(Aleksandar Ristovski, BZ 750341).
2011-11-08 18:46:42 -02:00
Jan Kratochvil 52bb570800 Backport `info os processes' crash fix - for Eclipse (Pedro Alves, BZ 746294). 2011-10-14 22:13:26 +02:00
Jan Kratochvil 7218d159e3 Fix PIE testsuite run; new lib/future.exp hack and use -fPIC instead of -fPIE. 2011-10-11 17:11:36 +02:00
Jan Kratochvil 7649e489fb [vla] Fix VLA arrays displayed in `bt full' (BZ 738482).
Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
Fix internal error on some optimized-out values.
2011-09-26 23:13:14 +02:00
Jan Kratochvil c6934442a9 Python command/function auto-loading (Phil Muldoon, BZ 730976).
Work around PR libc/13097 "linux-vdso.so.1" warning message.
[TUI] Fix stepi on stripped code.
Add BuildRequires: systemtap-sdt-devel for archer-sergiodj-stap-patch-split.
2011-08-16 16:21:06 +02:00
Jan Kratochvil 922e4a0796 Fix dlopen of libpthread.so, patched glibc required (Gary Benson, BZ 669432). 2011-08-10 19:42:06 +02:00
Jan Kratochvil b9aa4c4c7b Improve GDB performance on inferior dlopen calls (Gary Benson, BZ 698001).
[python] Fix crash when pretty printer fails (Phil Muldoon, BZ 712715).
Fix crash on invalid C++ mangled names (BZ 729283).
2011-08-09 15:18:29 +02:00
Jan Kratochvil ebad377b2d Fix regression from VLA merge affecting -O0 -g watchpoints. 2011-07-29 22:55:31 +02:00
Jan Kratochvil 9a9da3171c Include gcc -g3 .debug_macro implementation by Tom Tromey. 2011-07-29 18:59:36 +02:00
Jan Kratochvil eceaa13e09 Rebase to FSF GDB 7.3.50.20110722.
Improve gcc-4.6 stdarg false prologue end workaround (GDB PR 12435 + GCC PR 47471).
2011-07-23 00:45:00 +02:00
Jan Kratochvil 3b55f7833b Rebase to FSF GDB 7.3.50.20110722.
Improve gcc-4.6 stdarg false prologue end workaround (GDB PR 12435 + GCC PR 47471).
2011-07-23 00:41:56 +02:00
Jan Kratochvil e6e9cf3987 Rebase to FSF GDB 7.2.90.20110703 (which is a 7.3 pre-release).
Adjust the `print errno' patch due to the DW_AT_linkage_name following again.
2011-07-03 17:22:23 +02:00
Jan Kratochvil 847a670287 Fix install-info for the gdb-doc subpackage (BZ 715228). 2011-06-24 12:20:35 +02:00
Jan Kratochvil c8a4544144 Rebase to FSF GDB 7.2.90.20110525 (which is a 7.3 pre-release).
[stap] Fix double free (Sergio Durigan Junior).
2011-05-25 21:25:26 +02:00
Jan Kratochvil 4adfc8b85c Search also for .<seqno> files in /usr/lib/debug/.build-id (BZ 641377). 2011-05-03 05:23:10 +02:00
Jan Kratochvil 7180591ac5 Bundle readline-6.2 with a workaround of skipped "ask" (BZ 701131).
Use --without-system-readline, disable Requires and BuildRequires of readline.
Drop gdb-6.5-readline-long-line-crash.patch and gdb-readline-6.0-signal.patch.
2011-05-02 16:17:50 +02:00
Jan Kratochvil f314eb3eb5 Rebase to FSF GDB 7.2.90.20110429 (which is a 7.3 pre-release).
Fix -O2 -g breakpoints internal error + prologue skipping (BZ 612253).
Fix case insensitive symbols for Fortran by iFort (BZ 645773).
Fix physname-related CU expansion issue for C++ (PR 12708).
Fix Python access to inlined frames (BZ 694824).
2011-04-29 10:04:45 +02:00
Jan Kratochvil 09dd7775eb Rebase to FSF GDB 7.2.90.20110411 (which is a 7.3 pre-release).
Include the proper fix for anonymous struct typedefs (Tom Tromey, BZ 672230).
2011-04-11 22:48:13 +02:00
Fabio M. Di Nitto 1cd4f3809f - Cleanup spec file to add sparc|sparcv9|sparc64.
- Add sparc specific workarounds to toolchain badness:
  - disable mmap in bdf/ via --without-mmap configure option.
  - add patch to not build mmap support on sparc for gdb/.
  - gdb code is NOT at fault, but we need a working gdb while we sort out
    the toolchain and rebuild all packages. this workaround is NOT for upstream

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2011-03-30 14:08:36 +02:00
Jan Kratochvil 98c0c7adab Fix occasional crash on `print errno' with no -pthread and no -g3 (BZ 690908). 2011-03-29 11:29:26 +02:00
Jan Kratochvil 46a1caf62e Rebase to FSF GDB 7.2.50.20110328 (which is a 7.3 pre-release).
Bundle %{libstdcxxpython}.tar.bz2 unconditionally - for rebulds on RHELs.
2011-03-28 20:06:31 +02:00
Jan Kratochvil 5752ad02c2 Fix threading internal error on corrupted memory (BZ 677654).
Fix i386 rwatch+awatch before run (BZ 688788, on top of BZ 541866).
2011-03-20 22:23:58 +01:00
Jan Kratochvil 48cf710500 Rebase to FSF GDB 7.2.50.20110320 (which is a 7.3 pre-release).
Merge archer-sergiodj-stap, the SystemTap probes breakpoints feature.
[stap] Fix -O2 warnings.
Fix Ada support crash on uninitialized gdbarch.
2011-03-20 21:44:20 +01:00
Jan Kratochvil d5159132e2 Rebase to FSF GDB 7.2.50.20110305 (which is a 7.3 pre-release). 2011-03-05 13:24:53 +01:00
Jan Kratochvil 9aa6e1de63 Include doc also in the PDF form; new BuildRequires: texinfo-tex. 2011-02-25 09:37:52 +01:00
Jan Kratochvil 833b1257d3 - Rebase to FSF GDB 7.2.50.20110222 (which is a 7.3 pre-release).
- Fix attach/core-load of {,un}prelinked i386 libs (bugreport by Michal Toman).
2011-02-23 00:35:53 +01:00
Jan Kratochvil 14982af20a - Drop %{_datadir}/gdb/syscalls/* for unsupported arches. 2011-02-21 19:45:30 +01:00
Jan Kratochvil 3080c0e54f - Rebase to FSF GDB 7.2.50.20110218 (which is a 7.3 pre-release).
- [vla] Fox Fortran vector slices for allocated arrays (for BZ 609782).
2011-02-18 11:25:34 +01:00
Jan Kratochvil 6b44006b8d - Move the GFDL License to gdb-doc. 2011-02-15 16:26:53 +01:00
Jan Kratochvil 4d79cf2e34 Fix gdb-doc Group to be Documentation, also provide it as noarch. 2011-02-15 15:19:52 +01:00
Jan Kratochvil 6f7687c33f - Drop non-user (gdbint) and obsolete (stabs) documentation.
- Install also HTML files besides the INFO file.
- Create new subpackage gdb-doc for both INFO and HTML files.
2011-02-15 00:39:22 +01:00
Jan Kratochvil af2402c03d - Rebase to FSF GDB 7.2.50.20110213 (which is a 7.3 pre-release).
- Fix occasionall unfound source lines (affecting at least glibc debugging).
- Fix const/volatile qualifiers of C++ types (PR c++/12328).
- Be backward compatible for --rebuild with <=fc14 librpm.so.1.
2011-02-13 20:09:54 +01:00
Dennis Gilmore 9f971d482a - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 17:25:49 -06:00
Jan Kratochvil e266c66da6 - Fix regressions on C++ names resolving (PR 11734, PR 12273, Keith Seitz). 2011-02-06 23:48:08 +01:00
Jan Kratochvil cb641a7fa4 - Rebase to FSF GDB 7.2.50.20110206 (which is a 7.3 pre-release). 2011-02-06 22:46:57 +01:00
Jan Kratochvil c00fd45a3e - Fix Python new-backtrace command (BZ 672235, Phil Muldoon). 2011-01-27 11:55:59 +01:00
Jan Kratochvil 16c47e7f0c - Temporary fix of F15 gcc-4.6 child DIEs of DW_TAG_typedef (BZ 672230).
- Workaround gcc-4.6 stdarg false prologue end (GDB PR 12435 + GCC PR 47471).
2011-01-26 15:41:26 +01:00