aboutsummaryrefslogtreecommitdiff
path: root/gdb/dtrace-probe.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-09 20:57:56 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:16 -0600
commit8d97dc1cea4d1dafff2ce2f55e0b84cfe444e6cf (patch)
tree834fb96b8c6fe7fc9eb19fbc2044a94819284c18 /gdb/dtrace-probe.c
parenteb7c454d737322be2d810e1a5a2dc7b88fd636e6 (diff)
downloadgdb-8d97dc1cea4d1dafff2ce2f55e0b84cfe444e6cf.zip
gdb-8d97dc1cea4d1dafff2ce2f55e0b84cfe444e6cf.tar.gz
gdb-8d97dc1cea4d1dafff2ce2f55e0b84cfe444e6cf.tar.bz2
Constify info_probes_dtrace_command
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * dtrace-probe.c (info_probes_dtrace_command): Constify.
Diffstat (limited to 'gdb/dtrace-probe.c')
-rw-r--r--gdb/dtrace-probe.c2
1 files changed, 1 insertions, 1 deletions
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);
}