summaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index 571aba1c937..9c68bddbba0 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -1313,7 +1313,7 @@ regcache::debug_print_register (const char *func, int regno)
}
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 ();