aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-12 21:13:21 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:57 -0600
commit884beb0c41d8479e3c05f3492cb65da05ed882d1 (patch)
tree5e8560686396752447e624c5e59fc0d77e0d200d
parente0b2930cdc0153d871f80ad728d6e3fa90324b5e (diff)
downloadgdb-884beb0c41d8479e3c05f3492cb65da05ed882d1.zip
gdb-884beb0c41d8479e3c05f3492cb65da05ed882d1.tar.gz
gdb-884beb0c41d8479e3c05f3492cb65da05ed882d1.tar.bz2
Constify info_probes_stap_command
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * stap-probe.c (info_probes_stap_command): Constify.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/stap-probe.c2
2 files changed, 5 insertions, 1 deletions
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);
}