This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 3/9] Code cleanup: compile: Constify some parameters
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org
- Cc: Phil Muldoon <pmuldoon at redhat dot com>
- Date: Wed, 29 Apr 2015 16:44:12 +0100
- Subject: Re: [PATCH v3 3/9] Code cleanup: compile: Constify some parameters
- Authentication-results: sourceware.org; auth=none
- References: <20150411194322 dot 29128 dot 52477 dot stgit at host1 dot jankratochvil dot net> <20150411194348 dot 29128 dot 90475 dot stgit at host1 dot jankratochvil dot net>
On 04/11/2015 08:43 PM, Jan Kratochvil wrote:
> gdb/ChangeLog
> 2015-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * compile/compile.c (compile_to_object): Make the cmd_string parameter
> const. Use new variables for the const compatibility.
> (eval_compile_command): Make the cmd_string parameter const.
> * compile/compile.h (eval_compile_command): Make the cmd_string
> parameter const.
OK.
Thanks,
Pedro Alves