Code cleanup: compile: Constify some parameters
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 6 May 2015 18:57:41 +0000 (20:57 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 6 May 2015 18:57:41 +0000 (20:57 +0200)
commit851c90917fff745b94e29c1fec4f3d00ca36f598
tree4608502e73d31219764fce2b2e2c46f2961adc15
parent80ad801e90b5bd389ec156d37e28228fcbca128c
Code cleanup: compile: Constify some parameters

gdb/ChangeLog
2015-05-06  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.
gdb/ChangeLog
gdb/compile/compile.c
gdb/compile/compile.h