This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [PATCH v3 3/9] Code cleanup: compile: Constify some parameters
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Phil Muldoon <pmuldoon at redhat dot com>
- Date: Wed, 6 May 2015 20:58:36 +0200
- Subject: [commit] [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> <5540FC4C dot 6070301 at redhat dot com>
On Wed, 29 Apr 2015 17:44:12 +0200, Pedro Alves wrote:
> 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.
Checked in out of the series:
851c90917fff745b94e29c1fec4f3d00ca36f598
Jan