|
|
b94e32 |
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
|
|
|
b94e32 |
From: =?UTF-8?q?Alexandra=20H=C3=A1jkov=C3=A1?= <ahajkova@redhat.com>
|
|
|
b94e32 |
Date: Tue, 11 Jan 2022 12:22:29 +0100
|
|
|
b94e32 |
Subject: gdb-rhbz2024875-fix-unittest-failure.patch
|
|
|
b94e32 |
|
|
|
b94e32 |
;;Backport upstream commit from Tom Tromey
|
|
|
b94e32 |
;;2a8f1f47446 Fix unittest.exp failure due to 'set debuginfod' addition
|
|
|
b94e32 |
|
|
|
b94e32 |
Fix unittest.exp failure due to 'set debuginfod' addition
|
|
|
b94e32 |
|
|
|
b94e32 |
The 'set debuginfod' change caused a regression in unittest.exp:
|
|
|
b94e32 |
|
|
|
b94e32 |
Running selftest help_doc_invariants.
|
|
|
b94e32 |
help doc broken invariant: command 'info set debuginfod' help doc first line is not terminated with a '.' character
|
|
|
b94e32 |
help doc broken invariant: command 'set debuginfod' help doc first line is not terminated with a '.' character
|
|
|
b94e32 |
help doc broken invariant: command 'show debuginfod' help doc first line is not terminated with a '.' character
|
|
|
b94e32 |
Self test failed: self-test failed at ../../binutils-gdb/gdb/unittests/command-def-selftests.c:100
|
|
|
b94e32 |
|
|
|
b94e32 |
This patch fixes the problem. I'm checking it in.
|
|
|
b94e32 |
|
|
|
b94e32 |
diff --git a/gdb/debuginfod-support.c b/gdb/debuginfod-support.c
|
|
|
b94e32 |
--- a/gdb/debuginfod-support.c
|
|
|
b94e32 |
+++ b/gdb/debuginfod-support.c
|
|
|
b94e32 |
@@ -390,11 +390,11 @@ _initialize_debuginfod ()
|
|
|
b94e32 |
{
|
|
|
b94e32 |
/* set/show debuginfod */
|
|
|
b94e32 |
add_basic_prefix_cmd ("debuginfod", class_run,
|
|
|
b94e32 |
- _("Set debuginfod options"),
|
|
|
b94e32 |
+ _("Set debuginfod options."),
|
|
|
b94e32 |
&set_debuginfod_prefix_list, 0, &setlist);
|
|
|
b94e32 |
|
|
|
b94e32 |
add_show_prefix_cmd ("debuginfod", class_run,
|
|
|
b94e32 |
- _("Show debuginfod options"),
|
|
|
b94e32 |
+ _("Show debuginfod option."),
|
|
|
b94e32 |
&show_debuginfod_prefix_list, 0, &showlist);
|
|
|
b94e32 |
|
|
|
b94e32 |
/* set debuginfod on */
|