From: Tom Tromey Date: Sun, 10 Sep 2017 03:34:29 +0000 (-0600) Subject: Constify maintenance_print_target_stack X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3cb6b99c5127911f94c782be8214e2093fbe82c;p=binutils-gdb.git Constify maintenance_print_target_stack gdb/ChangeLog 2017-09-27 Tom Tromey * target.c (maintenance_print_target_stack): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 76831c15b43..2f3ca484425 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * target.c (maintenance_print_target_stack): Constify. + 2017-09-27 Tom Tromey * interps.c (interpreter_exec_cmd): Constify. diff --git a/gdb/target.c b/gdb/target.c index c26fba75b52..4f574f670ff 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -3892,7 +3892,7 @@ flash_erase_command (char *cmd, int from_tty) /* Print the name of each layers of our target stack. */ static void -maintenance_print_target_stack (char *cmd, int from_tty) +maintenance_print_target_stack (const char *cmd, int from_tty) { struct target_ops *t;