Commit Graph

1108 Commits

Author SHA1 Message Date
Fedora Release Engineering
0803f3fa54 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 04:14:36 +00:00
Python Maint
3b849ade04 Rebuilt for Python 3.11 2022-06-13 19:52:53 +02:00
Python Maint
e0417821a6 Bootstrap for Python 3.11 2022-06-13 12:33:21 +02:00
Keith Seitz
a896134f83 Typo: We require gmp-devel, not gpm-devel! 2022-06-07 09:48:09 -07:00
Keith Seitz
d959eac300 Add BuildRequires for gmp-devel. 2022-06-07 08:57:43 -07:00
Keith Seitz
c14e8367f2 Update for SCL and older RHEL releases. 2022-05-18 10:31:47 -07:00
Kevin Buettner
1f1906c4c7 Rebase to FSF GDB 12.1.
Update gdb-6.6-buildid-locate.patch.
Update gdb-6.6-buildid-locate-rpm.patch.
Dropped backported patches from GDB 11.1 and 11.2.
2022-05-13 10:30:05 -07:00
Keith Seitz
148a0e2e0a Clean up guile vs guile22 package names for RHEL. 2022-05-10 14:26:25 -07:00
Keith Seitz
8751d74736 Update gdb.spec for s390x cleanups/builddeps. 2022-05-05 13:11:47 -07:00
Kevin Buettner
d6ddcf6b62 Backport upstream patch for RHBZ 2068280. 2022-03-30 14:18:43 -07:00
Kevin Buettner
3410a513b2 On ix86, add -Wno-format-overflow to --enable-gdb-build-warnings.
(This is a workaround for the bogus warning/error that we now see
  on i686 regarding a "may write a terminating nul past the end of
  the destination" message for the sprintf() call in
  global_symbol_searcher::search() in gdb/symtab.c.)
2022-02-09 18:21:30 -07:00
Kevin Buettner
e6e68cd22d Rebase to FSF GDB 11.2. 2022-02-09 14:05:12 -07:00
Kevin Buettner
45ae8fcd2b Tweak changelog date in gdb.spec 2022-02-08 14:19:47 -07:00
Kevin Buettner
6a0ae4aca3 Fix "sect_index_data not initialized" internal error. (RHBZ 2042664,
Kevin Buettner).
2022-02-01 13:14:01 -07:00
Keith Seitz
994c1c4b69 Update libipt to v2.0.5. 2022-01-31 10:12:12 -08:00
Keith Seitz
5368b8a55e WIP for Fedora FTBS issues, rhbz#2042257 2022-01-26 12:35:31 -08:00
Fedora Release Engineering
af7adbba8b - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 04:02:24 +00:00
Alexandra Hájková
ea7e7acd00 Remove gdb-6.3-inferior-notification-20050721.patch
which adds problematic attach-32 test.
2022-01-12 12:23:55 +01:00
Alexandra Hájková
e4fab29564 Backport upstream patch "[PR gdb/27026] CTRL-C is ignored
when debug info is downloaded" (RHBZ 2024875, Aaron Merey).
2022-01-11 13:29:49 +01:00
Alexandra Hájková
d27f55e39a Backport upstream patch "rework "set debuginfod" commands"
(RHBZ 2024875, Simon Marchi).
2022-01-11 13:00:31 +01:00
Alexandra Hájková
adc0bf8d9d Backport upstream patch "Fix unittest.exp failure
due to 'set debuginfod' addition" (RHBZ 2024875, Tom Tromey).
2022-01-11 12:32:00 +01:00
Alexandra Hájková
f7bcd3d6e0 Add -Wno-unused-function to --enable-gdb-build-warnings to prevent the build failure 2022-01-10 15:07:42 +01:00
Alexandra Hájková
02309bbf2d Backport upstream patch "gdb: add set/show commands for managing debuginfod"
(RHBZ 2024875, Aaron Merey).
2022-01-10 13:58:04 +01:00
Alexandra Hájková
fd47e2fe66 Backport upstream patch "gdb.texinfo: Expand documentation for debuginfod
(RHBZ 2024875, Aaron Merey).
2022-01-10 13:17:44 +01:00
Kevin Buettner
08e6f457a2 Add -Wno-deprecated-declarations to --enable-gdb-build-warnings to work
around the python 3.11 deprecation of Py_SetProgramName.
2021-12-06 13:20:59 -07:00
Florian Weimer
8093dfb75d Fix typo in spec file 2021-11-19 19:01:12 +01:00
Timm Bäder
f2c0fdf050 Use %set_build_flags to populate all relevant build flags
This is what rpm's %configure macro does as well, which is not used in
the gdb build.
2021-11-12 14:00:03 +01:00
Kevin Buettner
8fedf35634 Backport upstream fix and test case for a dprintf bug (RHBZ 2022177) 2021-11-10 19:13:52 -07:00
Bruno Larsen
1c15f132e5 Backport manpage to be inline with -help
Resolves: RHBZ 853071
2021-11-09 14:17:00 -03:00
Kevin Buettner
76962235f8 Make adjustments to gdb-6.6-buildid-locate.patch, provided by Tom de Vries. 2021-11-03 14:55:27 -07:00
Kevin Buettner
39bde43193 Rebase to FSF GDB 11.1 2021-10-14 17:52:00 -07:00
Alexandra Hájková
002d745538 Backport test for RHBZ 1976887 (Kevin Buettner). 2021-09-30 13:15:28 +02:00
Alexandra Hájková
7051cf9b48 Backport upstream patch which fixes internal-error: Unexpected
type field location kind (RHBZ 1976887, Alexandra Hájková).
2021-09-30 13:11:52 +02:00
Bruno Larsen
170c3b942c Backport [gdb] Improve early exits for env var in debuginfod-support.c
(Tom de Vries)

Resolves: RHBZ 1970741
2021-09-23 15:25:14 -03:00
Bruno Larsen
4cf9f20b12 Backport [gdb/cli] Don't assert on empty string for core-file
(Tom de Vries)

Resolves: RHBZ 1916516
2021-09-23 15:24:45 -03:00
Peter Robinson
dedb76cf02 Use guile 2.2 (rhbz #1901353) 2021-09-21 23:07:18 +01:00
Fedora Release Engineering
8a5c84de70 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 23:54:12 +00:00
Kevin Buettner
0459b344e6 Remove autoconf invocations from spec file.
Remove BuildRequires: autoconf.
2021-07-20 21:57:59 -04:00
Kevin Buettner
71264766c5 Backport upstream patches which fix multi-threaded debugging for
glibc-2.34 (RHBZ 1971096, Simon Marchi, Kevin Buettner).
2021-06-14 23:24:14 -07:00
Kevin Buettner
8f22c5cbd3 Backport "Exclude debuginfo files from 'outside ELF segments' warning".
(Keith Seitz, RH BZ 1898252)
Backport "Fix crash when expanding partial symtab..."
  (Tom Tromey. gdb/27743)
Backport "[gdb/server] Don't overwrite fs/gs_base with -m32"
(Tom de Vries)
2021-06-14 14:51:25 -07:00
Python Maint
506c836503 Rebuilt for Python 3.10 2021-06-07 00:46:57 +02:00
Kevin Buettner
ca26ddfa99 Rebase to FSF GDB 10.2.
Drop gdb-6.3-test-pie-20050107.patch.
Drop gdb-6.3-test-self-20050110.patch.
Drop gdb-6.5-bz218379-ppc-solib-trampoline-test.patch.
Drop gdb-6.6-buildid-locate-core-as-arg.patch.
Drop gdb-6.8-quit-never-aborts.patch.
Drop gdb-archer-pie-addons-keep-disabled.patch.
Drop gdb-archer-pie-addons.patch.
Drop gdb-archer-vla-tests.patch.
Drop gdb-archer.patch.
Drop gdb-attach-fail-reasons-5of5.patch.
Drop gdb-btrobust.patch.
Drop gdb-bz1219747-attach-kills.patch.
Drop gdb-bz533176-fortran-omp-step.patch.
Drop gdb-dts-rhel6-python-compat.patch.
Drop gdb-gnat-dwarf-crash-3of3.patch.
Drop gdb-jit-reader-multilib.patch.
Drop gdb-moribund-utrace-workaround.patch.
Drop gdb-rhbz1930528-fix-gnulib-build-error.patch.
Drop gdb-rhbz1932645-aarch64-ptrace-header-order.patch.
Drop gdb-vla-intel-fix-print-char-array.patch.
Drop gdb-vla-intel-fortran-strides.patch.
Drop gdb-vla-intel-stringbt-fix.patch.
Drop gdb-vla-intel-tests.patch.
Drop process_psymtab_comp_unit-type-unit.patch.
Drop gdb-testsuite-readline63-sigint-revert.patch.
Drop gdb-config.patch.
Add following upstream patches for Fortran stride / slice support:
  gdb-rhbz1964167-convert-enum-range_type.patch
  gdb-rhbz1964167-fortran-array-slices-at-prompt.patch
  gdb-rhbz1964167-fortran-array-strides-in-expressions.patch
  gdb-rhbz1964167-fortran-clean-up-array-expression-evaluation.patch
  gdb-rhbz1964167-fortran-range_type-to-range_flag.patch
  gdb-rhbz1964167-fortran-whitespace_array.patch
  gdb-rhbz1964167-move-fortran-expr-handling.patch
2021-06-06 14:54:47 -07:00
Python Maint
6b2d2db242 Bootstrap for Python 3.10 2021-06-01 16:30:44 +02:00
Keith Seitz
0a3a5ea5a6 Backport "Save/restore file offset while reading notes in core file"
(Keith Seitz, RHBZ 1931344)

Resolves: RHBZ 1931344
2021-03-31 14:49:14 -07:00
Jonathan Wakely
9a3fa11c4d Rebuilt for removed libstdc++ symbols (#1937698) 2021-03-31 17:31:59 +01:00
Kevin Buettner
db92bd60db Remove spec file workaround for RHBZ 1912913. 2021-03-23 10:14:06 -07:00
Kevin Buettner
f293e66ec1 Fix potential hang during gdbserver testing (RHBZ 1941080, Kevin Buettner). 2021-03-19 15:25:12 -07:00
Keith Seitz
c7fa157806 Disable libctf on RHEL (RHBZ 1935517, Keith Seitz) 2021-03-18 15:12:01 -07:00
Kevin Buettner
5e056f9db9 Update libipt to version 2.0.4. 2021-03-11 10:15:26 -07:00
Kevin Buettner
cd8eacd152 Backport patches which fix frame_id_p assertion failure (RHBZ 1909902,
Pedro Alves).
2021-03-05 18:18:40 -07:00
Jan Kratochvil
6c6f63f3a8 Drop gdb-vla-intel-fortran-vla-strings.patch as it was still regressing the
testsuite.
2021-03-05 13:04:56 +01:00
Jan Kratochvil
0ba7f47499 Fix gdb-vla-intel-fortran-vla-strings.patch to no longer modify cached
inferior types.
2021-03-04 20:45:01 +01:00
Jan Kratochvil
de24db0eb7 Align gdb-vla-intel-fortran-vla-strings.patch more to upstream,
particularly whitespaces in Fortran types printing.
2021-03-04 20:43:11 +01:00
Jan Kratochvil
443e2a0c34 Reapply 10.1-8 after it has been accidentally reverted by 10.1-9. 2021-03-04 20:36:01 +01:00
Kevin Buettner
f923d71406 Fix aarch64 build problem (RHBZ 1932645, Kevin Buettner). 2021-02-24 14:25:14 -07:00
Jan Kratochvil
a1361a0b59 Fix gdb-vla-intel-fortran-vla-strings.patch for compatiblity with GraalVM. 2021-02-19 22:37:40 +01:00
Kevin Buettner
23564f9afb Fix gnulib related build problem (RHBZ 1930528, Kevin Buettner). 2021-02-18 23:16:16 -07:00
Kevin Buettner
ce991fb7c0 Fix libstdc++ assert when performing tab completion; build must be made
with -D_GLIBCXX_DEBUG flag in order to trigger assert (RHBZ 1912985,
  Kevin Buettner).
2021-02-17 18:28:52 -07:00
Keith Seitz
ff1b575a1d Disable Guile support for RHEL9+. 2021-02-11 12:21:44 -08:00
Stephen Gallagher
9cdc7613c9
Build gdb-minimal for ELN
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-01-26 10:57:06 -05:00
Fedora Release Engineering
048587f69b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 06:27:43 +00:00
Kevin Buettner
0d98e10811 Add -Wno-stringop-overread to CFLAGS to work around gcc
bug (RH BZ 1912913)
2021-01-23 00:31:03 -05:00
Keith Seitz
04fc1c001a Disable xxhash support for RHEL. 2021-01-12 13:38:24 -08:00
Tom Stellard
4f6865e66b Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-05 00:50:30 +00:00
Kevin Buettner
61d59b7323 Fix off-by-one error in ada_fold_name. (RHBZ 1905996, Kevin Buettner) 2020-12-09 16:25:05 -07:00
Kevin Buettner
a8884a5be0 Bump release number to avoid lower NVR (for rawhide) than that of F33.
(RHBZ 1894912)
2020-12-07 16:03:37 -07:00
Kevin Buettner
ed8730b4d9 Rebase to FSF GDB 10.1.
Bump 'snapgnulib' date.
Drop gdb-rhbz1818011-bfd-gcc10-error.patch.
Drop gdb-rhbz1822715-fix-python-deprecation.patch.
Drop gdb-rhbz1829702-fix-python39.patch.
Drop gdb-rhbz1838777-debuginfod.patch.
Drop gdb-rhbz1844458-use-fputX_unfiltered.patch.
Drop gdb-rhbz1869484-deleted-working-directory.
Adjust build-id related patches.
Ajust VLA patches.
2020-11-05 14:17:24 -07:00
Keith Seitz
d7b61266b7 Sync w/Fedora 33 -- add missing patch:
gdb-rhbz1869484-deleted-working-directory
2020-11-02 12:38:45 -08:00
Keith Seitz
3ab415fc4a Fix "missing debuginfo" messages
Resolves: RHBZ 1887025
2020-11-02 11:05:13 -08:00
Keith Seitz
6aff62077b Disable LTO until upstream sorts out ODR problems. 2020-08-10 14:54:31 -07:00
Keith Seitz
ab7962ace7 Update libipt to v2.0.2. 2020-08-04 10:45:45 -07:00
Fedora Release Engineering
3c0f61139e - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 01:07:52 +00:00
Fedora Release Engineering
578aa401ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 18:22:27 +00:00
Tom Stellard
12a215835b Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-22 00:54:13 +00:00
Jeff Law
50ea6a9154 - Fix broken configure tests compromised by LTO
- Add BuildRequires: autoconf
2020-07-21 00:15:20 -06:00
Troy Dawson
f9a00bf2a5 Minor conditional tweak for ELN
Signed-off-by: Troy Dawson tdawson@redhat.com
2020-07-08 16:27:20 +00:00
Keith Seitz
db493ec1a2 Add debuginfod support. 2020-06-17 10:35:49 -07:00
Keith Seitz
b2003eae67 Rebase to FSF GDB 9.2 and fix a bunch of issues. 2020-06-09 07:54:16 -07:00
Keith Seitz
28b99d9981 Fix python build and re-enable it.
(RH BZ 1829702, Kevin Buettner and Keith Seitz)
2020-06-05 15:45:45 -07:00
Miro Hrončok
a6ec4e0365 Disable Python support to workaround problems with Python 3.9 (RHBZ 1829702) 2020-05-21 23:27:31 +02:00
Kevin Buettner
c54196c27b Fix build breakage of gdb/python/python.c due to use of deprecated
Python function (RHBZ 1822715, Kevin Buettner)
2020-04-16 05:49:13 -07:00
Kevin Buettner
c3e0b255c8 Fix build breakage when compiling bfd/elf.c with gcc 10. (RHBZ 1818011,
H.J. Lu)
2020-04-09 10:34:41 -04:00
Sergio Durigan Junior
9e0dc4d5fc Add '--without-guile' to GDB_MINIMAL_CONFIGURE_FLAGS. 2020-03-02 10:54:58 -05:00
Sergio Durigan Junior
76de449876 Fix 'Recursive call to 'missing_rpm_list_print' when pagination is
on and missing RPM list is big' (RHBZ 1801974, Sergio Durigan
  Junior).
2020-02-13 14:21:00 -05:00
Sergio Durigan Junior
63fa2e2956 Enable libxxhash during build. 2020-02-10 15:46:11 -05:00
Sergio Durigan Junior
c172b26911 Rebase to FSF GDB 9.1. 2020-02-08 11:17:48 -05:00
Dan Čermák
e67700bf46 Re-enable guile support. 2020-02-04 16:19:46 -05:00
Sergio Durigan Junior
a5d2c85367 Rebase to FSF GDB 9.0.90.20200203 (9.1pre).
Bump 'snapgnulib' date.
Update URL to 'https'.
Adjust build-id patchset.
Adjust VLA patchset.
Drop 'gdb-6.8-bz436037-reg-no-longer-active.patch'.
Drop 'gdb-6.6-scheduler_locking-step-is-default.patch'.
2020-02-04 15:07:12 -05:00
Fedora Release Engineering
f258b03b2f - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 19:43:06 +00:00
Sergio Durigan Junior
99dc38b0d5 Rebase to FSF GDB 9.0.50.20191119 (9.1pre).
Drop 'gdb-readline62-ask-more-rh.patch'.
Drop 'gdb-6.5-bz216711-clone-is-outermost.patch'.
Adjust 'gdb-archer-pie-addons-keep-disabled.patch'.
2019-11-21 12:10:32 -05:00
Sergio Durigan Junior
2f578f51e4 Rebase to FSF GDB 9.0.50.20191018 (9.1pre).
Expand comment on "bundled(binutils)".
Remove libctf's files from RPM_BUILD_ROOT.
2019-10-19 14:30:13 -04:00
Jerry James
86fc1101ee Rebuild for mpfr 4 2019-10-09 19:49:47 -06:00
Sergio Durigan Junior
0a2f2a5526 Rebase to FSF GDB 8.3.50.20190924 (8.4pre).
Update 'gdb-6.6-buildid-locate.patch'.
2019-09-25 17:39:24 -04:00
Sergio Durigan Junior
8ac06474ff Rebase to FSF GDB 8.3.50.20190824 (8.4pre).
Update 'v1.5-libipt-static.patch'.
2019-08-25 16:37:00 -04:00
Miro Hrončok
92508e7ce6 Rebuilt for Python 3.8 2019-08-21 19:16:05 +02:00
Sergio Durigan Junior
9949e18054 Update bundled libipt copy to v2.0.1. 2019-08-18 17:33:14 -04:00
Sergio Durigan Junior
9c37e8a0b1 Rebase to FSF GDB 8.3.50.20190816 (8.4pre).
Drop 'gdb-testsuite-readline63-sigint.patch'.
Cleanup 'gdb-archer.patch' and remove several things, like the '-P' feature.
2019-08-18 16:06:28 -04:00
Miro Hrončok
ece6742a5f Rebuilt for Python 3.8 2019-08-14 21:48:32 +02:00
Sergio Durigan Junior
f7760f831c Rebase to FSF GDB 8.3.50.20190802 (8.4pre). 2019-08-02 19:25:51 -04:00
Fedora Release Engineering
f3efb4b040 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 01:36:59 +00:00