This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Constify maintenance_print_dummy_frames


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=31d56ade0e943aca57acbc030334d65ae0b6f866

commit 31d56ade0e943aca57acbc030334d65ae0b6f866
Author: Tom Tromey <tom@tromey.com>
Date:   Sat Sep 9 21:51:39 2017 -0600

    Constify maintenance_print_dummy_frames
    
    gdb/ChangeLog
    2017-09-27  Tom Tromey  <tom@tromey.com>
    
    	* dummy-frame.c (maintenance_print_dummy_frames): Constify.

Diff:
---
 gdb/ChangeLog     | 4 ++++
 gdb/dummy-frame.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 08d3462..bdbf829 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]