summaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-09 21:34:29 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:29 -0600
commitd3cb6b99c5127911f94c782be8214e2093fbe82c (patch)
tree02805a86bc4b785ebf25b7524f5f3d388320fdfc /gdb/target.c
parent1970a12f32f788f22b641737e846350e1ff9dd04 (diff)
Constify maintenance_print_target_stack
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * target.c (maintenance_print_target_stack): Constify.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c
index c26fba75b5..4f574f670f 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;