Constify maintenance_print_dummy_frames
authorTom Tromey <tom@tromey.com>
Sun, 10 Sep 2017 03:51:39 +0000 (21:51 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:40 +0000 (08:44 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* dummy-frame.c (maintenance_print_dummy_frames): Constify.

gdb/ChangeLog
gdb/dummy-frame.c

index 08d3462..bdbf829 100644 (file)
@@ -1,5 +1,9 @@
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
+       * dummy-frame.c (maintenance_print_dummy_frames): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
        * tui/tui.c (tui_enable_command, tui_disable_command): Constify.
 
 2017-09-27  Tom Tromey  <tom@tromey.com>
index 8dc4c9b..a08031c 100644 (file)
@@ -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);