Commit Graph

1135 Commits

Author SHA1 Message Date
Kevin Buettner 47c2626ca3 Rebase to FSF GDB 13.1.
Update gdb-6.3-rh-testversion-20041202.patch.
Update gdb-6.3-bz140532-ppc-unwinding-test.patch.
Update gdb-6.6-buildid-locate.patch.
Update gdb-6.6-buildid-locate-rpm.patch.
2023-03-01 19:20:22 -07:00
Kevin Buettner cabda4d404 Tweak gdb-6.3-rh-testversion-20041202.patch for $_gdb_major and $_gdb_minor 2023-01-27 09:21:20 -07:00
Andrew Burgess a69a616d90 Back-port fix for RHBZ 2152431
Fixes RHBZ 2152431, an issue where reading a label symbol's value
would cause GDB to crash.  This pulls in two upstream commits
38665d717a3 and c3efaf0afd9 both of which should be in GDB 13 when it
is released.
2022-12-19 17:26:27 +00:00
Keith Seitz 1c47ee16db Add readline 8.2 support 2022-11-16 10:52:16 -08:00
Alexandra Hájková 8282610607 Update gdb-6.6-buildid-locate.patch to fix RHBZ 2122947. 2022-10-07 22:13:52 +02:00
Keith Seitz a6e7b2b18f Disable -minimal RPM on RHEL9 GTS.
This patch disables the gdb-minimal package on GTS for RHEL9. Since
the -minimal package only exists to shrink the buildroot size and
we don't use GTS in the buildroot, there's no reason to build it.
2022-07-29 13:39:24 -07:00
Keith Seitz fbba720a74 Fix s390x dependencies
Fedora doesn't build 32-bit s390x images.
There is no `fpc' package available for s390x, either.
2022-07-29 12:42:05 -07:00
Amit Shah ddf8291871 Switch to using the dist_name macro for distribution
The new dist_vendor macro[1] in fedora-release helps simplify spec files
by removing the conditionals for populating the distro.

[1] https://src.fedoraproject.org/rpms/fedora-release/pull-request/223
2022-07-28 06:54:17 +00:00
Keith Seitz b8b001a927 Use system elfutils for all GTS releases (rhel8+). 2022-07-26 18:13:53 +00:00
Keith Seitz 45e744e200 Add 'tests' definition.
Defining this option will iimit the tests performed with the "--with testsuite"
option:

$ rpmbuild -bb --with testsuite --define 'tests "gdb.base/break.exp gdb.dwarf2/*.exp"' \
   gdb.spec

The above will build the RPM with testing, but it will only test the listed tests
(just as if they were passed to TESTS="gdb.base/break.exp gdb.dwarf2/*.exp").
2022-07-26 18:08:52 +00:00
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
Bruno Larsen b3cbe4b669 update generate-*-from-*.sh so they can apply patches to any directory, not just a subdir 2022-06-06 16:28:12 -03: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
Alexandra Hájková e00d5e46ee gdb-testsuite-sanity: Add glibc-debuginfo as a test requirement
This should prevent gdb.base tests CI failures.
2022-02-08 13:00:45 +01: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
Kevin Buettner e66c7e71e7 Merge #25 `tests/gdb-testsuite-sanity: add testcase` 2022-01-17 16:44:50 +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
Michal Kolar dac5d9920c tests/gdb-testsuite-sanity: add config flags relevant to testsuite 2021-12-15 16:24:38 +00: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
Michal Kolar e2a1df0b4f tests/gdb-testsuite-sanity: add testcase 2021-11-29 10:58:36 +00: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 622c8fecdb Fix typo in .gitignore 2021-11-04 14:27:15 -07: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