Commit Graph

1220 Commits

Author SHA1 Message Date
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
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
Michal Kolar
8e2afa6b29 drop unwanted scratch build rule for gating 2021-08-12 17:12:21 +00:00
Michal Kolar
96774cfcb2 init FMF CI gating 2021-08-12 17:12:21 +00: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
Keith Seitz
2f55d67d0a - Don't check for stgit unless needed w/generate-git-repo-from-patches.sh.
- Fix all patches wrt git diff --check.
- Update some tests (Tom de Vries)
- Fix ERRORs w/unsupported tests on native-gdbserver targets.
- Backport "Disable bracketed paste mode in GDB tests" (Tom Tromey)
- Backport "Handle DW_TAG_type_unit in process_symtab_unit" (Tom de Vries)
2021-03-26 11:40:18 -07:00
Kevin Buettner
db92bd60db Remove spec file workaround for RHBZ 1912913. 2021-03-23 10:14:06 -07:00