This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 19/67] Constify maintenance_print_target_stack
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Wed, 20 Sep 2017 23:09:35 -0600
- Subject: [RFA 19/67] Constify maintenance_print_target_stack
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* 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