This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 32/67] Constify maintenance_print_dummy_frames
- 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:48 -0600
- Subject: [RFA 32/67] Constify maintenance_print_dummy_frames
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* dummy-frame.c (maintenance_print_dummy_frames): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/dummy-frame.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c
index 8dc4c9b..a08031c 100644
--- a/gdb/dummy-frame.c
+++ b/gdb/dummy-frame.c
@@ -403,7 +403,7 @@ fprint_dummy_frames (struct ui_file *file)
}
static void
-maintenance_print_dummy_frames (char *args, int from_tty)
+maintenance_print_dummy_frames (const char *args, int from_tty)
{
if (args == NULL)
fprint_dummy_frames (gdb_stdout);
--
2.9.4