]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ada-lang.c
Constify variables in ada-lang.c
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 10 Sep 2015 15:12:51 +0000 (11:12 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 10 Sep 2015 15:12:51 +0000 (11:12 -0400)
commit108d56a48b0970a53e237af76440df4a75ff7329
tree8090f90abe987ffcfd11784bddbf52dacae3cf5a
parentbe62444771a4a711300e2439fb1232415d9c835c
Constify variables in ada-lang.c

I found this const/not const mixup found by building in C++ mode.

gdb/ChangeLog:

* ada-lang.c (ada_search_struct_field): Constify parameters
and/or variables..
(xget_renaming_scope): Likewise.
(ada_is_redundant_range_encoding): Likewise.
(scan_discrim_bound): Likewise.
(to_fixed_range_type): Likewise.
gdb/ChangeLog
gdb/ada-lang.c