This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 51/67] Constify info_probes_stap_command
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 21 Sep 2017 08:48:17 -0400
- Subject: Re: [RFA 51/67] Constify info_probes_stap_command
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=sergiodj at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1AB35C0546C3
- References: <20170921051023.19023-1-tom@tromey.com> <20170921051023.19023-52-tom@tromey.com>
On Thursday, September 21 2017, Tom Tromey wrote:
> ChangeLog
> 2017-09-20 Tom Tromey <tom@tromey.com>
>
> * stap-probe.c (info_probes_stap_command): Constify.
OK.
> ---
> gdb/ChangeLog | 4 ++++
> gdb/stap-probe.c | 2 +-
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> 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.9.4
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/