From: Tom Tromey Date: Wed, 13 Sep 2017 03:13:21 +0000 (-0600) Subject: Constify info_probes_stap_command X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=884beb0c41d8479e3c05f3492cb65da05ed882d1;p=binutils-gdb.git Constify info_probes_stap_command gdb/ChangeLog 2017-09-27 Tom Tromey * stap-probe.c (info_probes_stap_command): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 15f20b9b998..141e811c5d3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * stap-probe.c (info_probes_stap_command): Constify. + 2017-09-27 Tom Tromey * fork-child.c (unset_exec_wrapper_command): Constify. diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c index 61eb8e42072..6fa0d202807 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); }