Backport upstream patch "Fix unittest.exp failure
due to 'set debuginfod' addition" (RHBZ 2024875, Tom Tromey).
This commit is contained in:
parent
663b51c695
commit
7ea06aaec3
|
@ -342,3 +342,7 @@ Patch082: gdb-rhbz2024875-expand-documentation-for-debuginfod.patch
|
||||||
#7811fa5995f gdb: add set/show commands for managing debuginfod
|
#7811fa5995f gdb: add set/show commands for managing debuginfod
|
||||||
Patch083: gdb-rhbz2024875-set_show-for-managing-debuginfod.patch
|
Patch083: gdb-rhbz2024875-set_show-for-managing-debuginfod.patch
|
||||||
|
|
||||||
|
#Backport upstream commit from Tom Tromey
|
||||||
|
#2a8f1f47446 Fix unittest.exp failure due to 'set debuginfod' addition
|
||||||
|
Patch084: gdb-rhbz2024875-fix-unittest-failure.patch
|
||||||
|
|
||||||
|
|
|
@ -81,3 +81,4 @@
|
||||||
%patch081 -p1
|
%patch081 -p1
|
||||||
%patch082 -p1
|
%patch082 -p1
|
||||||
%patch083 -p1
|
%patch083 -p1
|
||||||
|
%patch084 -p1
|
||||||
|
|
|
@ -81,3 +81,4 @@ gdb-rhbz2022177-dprintf-1.patch
|
||||||
gdb-rhbz2022177-dprintf-2.patch
|
gdb-rhbz2022177-dprintf-2.patch
|
||||||
gdb-rhbz2024875-expand-documentation-for-debuginfod.patch
|
gdb-rhbz2024875-expand-documentation-for-debuginfod.patch
|
||||||
gdb-rhbz2024875-set_show-for-managing-debuginfod.patch
|
gdb-rhbz2024875-set_show-for-managing-debuginfod.patch
|
||||||
|
gdb-rhbz2024875-fix-unittest-failure.patch
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Alexandra=20H=C3=A1jkov=C3=A1?= <ahajkova@redhat.com>
|
||||||
|
Date: Sun, 31 Oct 2021 11:34:06 -0600
|
||||||
|
Subject: gdb-rhbz2024875-fix-unittest-failure.patch
|
||||||
|
|
||||||
|
;;Backport upstream commit from Tom Tromey
|
||||||
|
;;2a8f1f47446 Fix unittest.exp failure due to 'set debuginfod' addition
|
||||||
|
|
||||||
|
Fix unittest.exp failure due to 'set debuginfod' addition
|
||||||
|
|
||||||
|
The 'set debuginfod' change caused a regression in unittest.exp:
|
||||||
|
|
||||||
|
Running selftest help_doc_invariants.
|
||||||
|
help doc broken invariant: command 'info set debuginfod' help doc first line is not terminated with a '.' character
|
||||||
|
help doc broken invariant: command 'set debuginfod' help doc first line is not terminated with a '.' character
|
||||||
|
help doc broken invariant: command 'show debuginfod' help doc first line is not terminated with a '.' character
|
||||||
|
Self test failed: self-test failed at ../../binutils-gdb/gdb/unittests/command-def-selftests.c:100
|
||||||
|
|
||||||
|
This patch fixes the problem. I'm checking it in.
|
||||||
|
|
||||||
|
diff --git a/gdb/debuginfod-support.c b/gdb/debuginfod-support.c
|
||||||
|
--- a/gdb/debuginfod-support.c
|
||||||
|
+++ b/gdb/debuginfod-support.c
|
||||||
|
@@ -389,11 +389,11 @@ _initialize_debuginfod ()
|
||||||
|
{
|
||||||
|
/* set/show debuginfod */
|
||||||
|
add_basic_prefix_cmd ("debuginfod", class_run,
|
||||||
|
- _("Set debuginfod options"),
|
||||||
|
+ _("Set debuginfod options."),
|
||||||
|
&set_debuginfod_prefix_list, 0, &setlist);
|
||||||
|
|
||||||
|
add_show_prefix_cmd ("debuginfod", class_run,
|
||||||
|
- _("Show debuginfod options"),
|
||||||
|
+ _("Show debuginfod options."),
|
||||||
|
&show_debuginfod_prefix_list, 0, &showlist);
|
||||||
|
|
||||||
|
/* set debuginfod on */
|
8
gdb.spec
8
gdb.spec
|
@ -1143,11 +1143,15 @@ fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jan 5 2022 Alexandra Hájková - 11.1-6
|
* Wed Jan 5 2022 Alexandra Hájková - 11.1-6
|
||||||
|
- Backport upstream patch "Fix unittest.exp failure due to 'set debuginfod' addition"
|
||||||
|
(RHBZ 2024875, Tom Tromey).
|
||||||
|
|
||||||
|
* Wed Jan 5 2022 Alexandra Hájková - 11.1-6
|
||||||
- Backport upstream patch "gdb: add set/show commands for managing debuginfod"
|
- Backport upstream patch "gdb: add set/show commands for managing debuginfod"
|
||||||
(RHBZ 2024875, Aaron Merey).
|
(RHBZ 2024875, Aaron Merey).
|
||||||
|
|
||||||
* Fri Jan 5 2022 Alexandra Hájková - 11.1-6
|
* Wed Jan 5 2022 Alexandra Hájková - 11.1-6
|
||||||
- Backport upstream patch "gdb.texinfo: Expand documentation for debuginfod"
|
- Backport upstream patch "gdb.texinfo: Expand documentation for debuginfod"
|
||||||
(RHBZ 2024875, Aaron Merey).
|
(RHBZ 2024875, Aaron Merey).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue