From 884beb0c41d8479e3c05f3492cb65da05ed882d1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 12 Sep 2017 21:13:21 -0600 Subject: [PATCH] Constify info_probes_stap_command gdb/ChangeLog 2017-09-27 Tom Tromey * stap-probe.c (info_probes_stap_command): Constify. --- gdb/ChangeLog | 4 ++++ gdb/stap-probe.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + * stap-probe.c (info_probes_stap_command): Constify. + +2017-09-27 Tom Tromey + * fork-child.c (unset_exec_wrapper_command): Constify. 2017-09-27 Tom Tromey 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); } -- 2.7.4