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_stap_command


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

commit 884beb0c41d8479e3c05f3492cb65da05ed882d1
Author: Tom Tromey <tom@tromey.com>
Date:   Tue Sep 12 21:13:21 2017 -0600

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

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

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 15f20b9..141e811 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
+	* stap-probe.c (info_probes_stap_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
 	* fork-child.c (unset_exec_wrapper_command): Constify.
 
 2017-09-27  Tom Tromey  <tom@tromey.com>
diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c
index 61eb8e4..6fa0d20 100644
--- a/gdb/stap-probe.c
+++ b/gdb/stap-probe.c
@@ -1708,7 +1708,7 @@ const struct probe_ops stap_probe_ops =
 /* Implementation of the `info probes stap' command.  */
 
 static void
-info_probes_stap_command (char *arg, int from_tty)
+info_probes_stap_command (const char *arg, int from_tty)
 {
   info_probes_for_ops (arg, from_tty, &stap_probe_ops);
 }


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