summaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-12 21:32:30 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:45:09 -0600
commit510e5e562796a5d2bbd4c7208155bd8a3c03b50d (patch)
tree075da3ed52738b25e224269b6b2384c362c88a91 /gdb/symtab.c
parente503b1919bc5d06684ba6b1d09a6ccdf0a50b879 (diff)
Constify some commands in symtab.c
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * symtab.c (maintenance_print_symbol_cache) (maintenance_flush_symbol_cache) (maintenance_print_symbol_cache_statistics): Constify.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index bf7ee646d4..2da37e8699 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -1500,7 +1500,7 @@ symbol_cache_dump (const struct symbol_cache *cache)
/* The "mt print symbol-cache" command. */
static void
-maintenance_print_symbol_cache (char *args, int from_tty)
+maintenance_print_symbol_cache (const char *args, int from_tty)
{
struct program_space *pspace;
@@ -1527,7 +1527,7 @@ maintenance_print_symbol_cache (char *args, int from_tty)
/* The "mt flush-symbol-cache" command. */
static void
-maintenance_flush_symbol_cache (char *args, int from_tty)
+maintenance_flush_symbol_cache (const char *args, int from_tty)
{
struct program_space *pspace;
@@ -1572,7 +1572,7 @@ symbol_cache_stats (struct symbol_cache *cache)
/* The "mt print symbol-cache-statistics" command. */
static void
-maintenance_print_symbol_cache_statistics (char *args, int from_tty)
+maintenance_print_symbol_cache_statistics (const char *args, int from_tty)
{
struct program_space *pspace;