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 info_probes_dtrace_command


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

commit 8d97dc1cea4d1dafff2ce2f55e0b84cfe444e6cf
Author: Tom Tromey <tom@tromey.com>
Date:   Sat Sep 9 20:57:56 2017 -0600

    Constify info_probes_dtrace_command
    
    gdb/ChangeLog
    2017-09-27  Tom Tromey  <tom@tromey.com>
    
    	* dtrace-probe.c (info_probes_dtrace_command): Constify.

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

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7008541..6f07d5e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
+	* dtrace-probe.c (info_probes_dtrace_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
 	* command.h (not_just_help_class_command): Update.
 	* cli/cli-decode.h (not_just_help_class_command): Update.
 	* cli/cli-decode.c (not_just_help_class_command): Constify.
diff --git a/gdb/dtrace-probe.c b/gdb/dtrace-probe.c
index 5a4daa3..2bbe03e 100644
--- a/gdb/dtrace-probe.c
+++ b/gdb/dtrace-probe.c
@@ -904,7 +904,7 @@ const struct probe_ops dtrace_probe_ops =
 /* Implementation of the `info probes dtrace' command.  */
 
 static void
-info_probes_dtrace_command (char *arg, int from_tty)
+info_probes_dtrace_command (const char *arg, int from_tty)
 {
   info_probes_for_ops (arg, from_tty, &dtrace_probe_ops);
 }


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