Constify info_probes_stap_command
authorTom Tromey <tom@tromey.com>
Wed, 13 Sep 2017 03:13:21 +0000 (21:13 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:57 +0000 (08:44 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* stap-probe.c (info_probes_stap_command): Constify.

gdb/ChangeLog
gdb/stap-probe.c

index 15f20b9b998419d86e4e8dca206ace7c67050f28..141e811c5d3795fa7a8f926c0bcd7b952b75f666 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 61eb8e4207298cd33332f7170e9d3aa6735dbeb5..6fa0d202807b65a468dc564ddb80d64f55183689 100644 (file)
@@ -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);
 }
This page took 0.031758 seconds and 4 git commands to generate.