aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-05-31 09:44:14 -0600
committerTom Tromey <tromey@adacore.com>2024-06-03 10:47:15 -0600
commitfc3577ef9f3338a2b957a6d90caa76be2ef186f8 (patch)
tree8e5420f3b457b491785c72ddfbc6624ff299a244
parent8a2e940b8d5751805d5fab127cc7dca0ce36ff0d (diff)
downloadgdb-fc3577ef9f3338a2b957a6d90caa76be2ef186f8.zip
gdb-fc3577ef9f3338a2b957a6d90caa76be2ef186f8.tar.gz
gdb-fc3577ef9f3338a2b957a6d90caa76be2ef186f8.tar.bz2
Fix deprecation text
I noticed one spot where deprecate_cmd is called with a second argument that is not a command name. This patch fixes the problem. Regression tested on x86-64 Fedora 38.
-rw-r--r--gdb/symtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 58648a8..0464b6d 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -7248,7 +7248,7 @@ the use of prologue scanners."),
&maintenanceflushlist);
c = add_alias_cmd ("flush-symbol-cache", maintenance_flush_symbol_cache_cmd,
class_maintenance, 0, &maintenancelist);
- deprecate_cmd (c, "maintenancelist flush symbol-cache");
+ deprecate_cmd (c, "maintenance flush symbol-cache");
gdb::observers::new_objfile.attach (symtab_new_objfile_observer, "symtab");
gdb::observers::all_objfiles_removed.attach (symtab_all_objfiles_removed,