aboutsummaryrefslogtreecommitdiff
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
parent1970a12f32f788f22b641737e846350e1ff9dd04 (diff)
downloadbinutils-d3cb6b99c5127911f94c782be8214e2093fbe82c.zip
binutils-d3cb6b99c5127911f94c782be8214e2093fbe82c.tar.gz
binutils-d3cb6b99c5127911f94c782be8214e2093fbe82c.tar.bz2
Constify maintenance_print_target_stack
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * target.c (maintenance_print_target_stack): Constify.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/target.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 76831c1..2f3ca48 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2017-09-27 Tom Tromey <tom@tromey.com>
+ * target.c (maintenance_print_target_stack): Constify.
+
+2017-09-27 Tom Tromey <tom@tromey.com>
+
* interps.c (interpreter_exec_cmd): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
diff --git a/gdb/target.c b/gdb/target.c
index c26fba7..4f574f6 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;