public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Fix selfcheck regression due to new maint command
@ 2023-03-07 18:32 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-03-07 18:32 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4779ed9757fa71e6743fb7fc1f9eeae8267ae36c
commit 4779ed9757fa71e6743fb7fc1f9eeae8267ae36c
Author: Tom Tromey <tromey@adacore.com>
Date: Tue Mar 7 11:25:58 2023 -0700
Fix selfcheck regression due to new maint command
Simon points out that the new maint command, intended to fix a
regression, also introduces a new regression in "maint selftest".
This patch fixes the error. I did a full regression test on x86-64
Fedora 36.
Diff:
---
gdb/dwarf2/cooked-index.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdb/dwarf2/cooked-index.c b/gdb/dwarf2/cooked-index.c
index d09faed268d..3a907690906 100644
--- a/gdb/dwarf2/cooked-index.c
+++ b/gdb/dwarf2/cooked-index.c
@@ -659,8 +659,8 @@ _initialize_cooked_index ()
add_cmd ("wait-for-index-cache", class_maintenance,
maintenance_wait_for_index_cache, _("\
-Usage: maintenance wait-for-index-cache\n\
-Wait until all pending writes to the index cache have completed."),
+Wait until all pending writes to the index cache have completed.\n\
+Usage: maintenance wait-for-index-cache"),
&maintenancelist);
gdb::observers::gdb_exiting.attach (wait_for_index_cache, "cooked-index");
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-07 18:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07 18:32 [binutils-gdb] Fix selfcheck regression due to new maint command Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).