]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ax-gdb.c
Use "const" more in ax-gdb.c
authorTom Tromey <tom@tromey.com>
Tue, 10 Nov 2020 22:46:17 +0000 (15:46 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 10 Nov 2020 22:46:18 +0000 (15:46 -0700)
commitcaaece0e2f523049d77ca1bafc1fea911f9c25c7
treef9a3b69c7ad5b7ef69a046f621bc6317aa24d99c
parent8e20b4be65843c220260e4f0f5dd943f5570656b
Use "const" more in ax-gdb.c

This changes a few spots in ax-gdb.c to use a "const char *" rather
than a non-const one.

gdb/ChangeLog
2020-11-10  Tom Tromey  <tom@tromey.com>

* ax-gdb.c (gen_struct_elt_for_reference, gen_namespace_elt)
(gen_maybe_namespace_elt, gen_aggregate_elt_ref, gen_expr): Use
const.
gdb/ChangeLog
gdb/ax-gdb.c