RE: [RFA 49/67] Constify some commands in btrace.c

Metzger, Markus T
2017-09-26T08:15:50Z

> -----Original Message-----
> From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] On Behalf Of Tom Tromey
> Sent: Saturday, September 23, 2017 6:28 AM
> To: Pedro Alves <palves@redhat.com>
> Cc: Metzger, Markus T <markus.t.metzger@intel.com>; Tom Tromey
> <tom@tromey.com>; gdb-patches@sourceware.org
> Subject: Re: [RFA 49/67] Constify some commands in btrace.c

> diff --git a/gdb/ChangeLog b/gdb/ChangeLog
> index 9889055..92370b6 100644
> --- a/gdb/ChangeLog
> +++ b/gdb/ChangeLog
> @@ -1,5 +1,12 @@
> 2017-09-20 Tom Tromey <tom@tromey.com>
>
> + * btrace.c (get_uint, get_context_size, no_chunk)
> + (maint_btrace_packet_history_cmd)
> + (maint_btrace_clear_packet_history_cmd, maint_btrace_clear_cmd)
> + (maint_info_btrace_cmd): Constify.

Looks good to me.

Thanks,
Markus.
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928