aboutsummaryrefslogtreecommitdiff
path: root/gdb/stap-probe.c
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 /gdb/stap-probe.c
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.
Diffstat (limited to 'gdb/stap-probe.c')
-rw-r--r--gdb/stap-probe.c2
1 files changed, 1 insertions, 1 deletions
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);
}