Constify target_so_ops::bfd_open
authorTom Tromey <tom@tromey.com>
Tue, 13 Feb 2018 20:34:45 +0000 (13:34 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 14 Feb 2018 15:09:53 +0000 (08:09 -0700)
commit692d6f9760bc67b68a5c96baac47067fd7dfa711
tree32c976a3a03a840fd0457431758cbd9fb405dcf3
parente0cc99a62f9ceb9a0db0b5bc28711fd8c82a6151
Constify target_so_ops::bfd_open

This constifies the bfd_open method of struct target_so_ops.

gdb/ChangeLog
2018-02-14  Tom Tromey  <tom@tromey.com>

* solist.h (struct target_so_ops) <bfd_open>: Make pathname
const.
(solib_bfd_open): Make pathname const.
* solib.c (solib_bfd_open): Make pathname const.
* solib-spu.c (spu_bfd_fopen): Make name const.
(spu_bfd_open): Make pathname const.
* solib-darwin.c (darwin_bfd_open): Make pathname const.
* solib-aix.c (solib_aix_bfd_open): Make pathname const.
gdb/ChangeLog
gdb/solib-aix.c
gdb/solib-darwin.c
gdb/solib-spu.c
gdb/solib.c
gdb/solist.h