[RFA 19/67] Constify maintenance_print_target_stack

Tom Tromey
2017-09-21T05:31:39Z

* target.c (maintenance_print_target_stack): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/target.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/target.c b/gdb/target.c
index 87c7af0..7ff52ce 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -3883,7 +3883,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;

--
2.9.4