struct block parameter constification in ada-lang.c
authorJoel Brobecker <brobecker@adacore.com>
Mon, 10 Feb 2014 04:53:18 +0000 (08:53 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 10 Feb 2014 07:45:55 +0000 (11:45 +0400)
commitf0c5f9b2b8438e44abc30d18574a4d2ea44d2f67
treedbe28f2dec3587fca4cf2189764cf42912089d77
parented3ef33944c39d9a3cea72b9a7cef3c20f0e3461
struct block parameter constification in ada-lang.c

This patch series constifies a number of struct block * parameters.

gdb/ChangeLog:

        * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
        (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
        struct block * parameter.
        (ada_lookup_symbol_list_worker): Constify local variable "block".
        Remove cast which is no longer necessary.
gdb/ChangeLog
gdb/ada-lang.c