summaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index acf3044fa3c..0f6ac92b0e4 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -1410,7 +1410,7 @@ deprecated_read_fp (void)
/* ARGSUSED */
static void
-reg_flush_command (char *command, int from_tty)
+reg_flush_command (const char *command, int from_tty)
{
/* Force-flush the register cache. */
registers_changed ();
@@ -1659,7 +1659,7 @@ regcache_dump (struct regcache *regcache, struct ui_file *file,
}
static void
-regcache_print (char *args, enum regcache_dump_what what_to_dump)
+regcache_print (const char *args, enum regcache_dump_what what_to_dump)
{
if (args == NULL)
regcache_dump (current_regcache, gdb_stdout, what_to_dump);
@@ -1674,25 +1674,25 @@ regcache_print (char *args, enum regcache_dump_what what_to_dump)
}
static void
-maintenance_print_registers (char *args, int from_tty)
+maintenance_print_registers (const char *args, int from_tty)
{
regcache_print (args, regcache_dump_none);
}
static void
-maintenance_print_raw_registers (char *args, int from_tty)
+maintenance_print_raw_registers (const char *args, int from_tty)
{
regcache_print (args, regcache_dump_raw);
}
static void
-maintenance_print_cooked_registers (char *args, int from_tty)
+maintenance_print_cooked_registers (const char *args, int from_tty)
{
regcache_print (args, regcache_dump_cooked);
}
static void
-maintenance_print_register_groups (char *args, int from_tty)
+maintenance_print_register_groups (const char *args, int from_tty)
{
regcache_print (args, regcache_dump_groups);
}