Constify target_pass_signals and target_program_signals
authorTom Tromey <tom@tromey.com>
Sun, 6 Jan 2019 20:24:11 +0000 (13:24 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 15 Jan 2019 00:32:24 +0000 (17:32 -0700)
commit491adecac48c5960fe29582f5046c015ff92c211
tree01cf83e897fe97a8eba013884b76c6b91f3f1159
parent183561e05eb4d504f65557756e987b584b72350b
Constify target_pass_signals and target_program_signals

This constifies the final parameter to target_pass_signals and
target_program_signals and updates the rest of gdb.

Note that I have no way to test the nto-procfs.c change.

gdb/ChangeLog
2019-01-14  Tom Tromey  <tom@tromey.com>

* target-debug.h (target_debug_print_signals): Constify.
* nto-procfs.c (nto_procfs_target::pass_signals): Update.
* procfs.c (procfs_target::pass_signals): Update.
* linux-nat.c (linux_nat_target::pass_signals): Update.
* linux-nat.h (class linux_nat_target) <pass_signals>: Update.
* target-delegates.c: Rebuild.
* remote.c (remote_target::program_signals): Update.
(remote_target::pass_signals): Update.
* target.c (target_pass_signals): Constify argument.
(target_program_signals): Likewise.
* target.h (struct target_ops) <pass_signals, program_signals>:
Constify argument.
(target_pass_signals, target_program_signals): Constify argument.
gdb/ChangeLog
gdb/linux-nat.c
gdb/linux-nat.h
gdb/nto-procfs.c
gdb/procfs.c
gdb/remote.c
gdb/target-debug.h
gdb/target-delegates.c
gdb/target.c
gdb/target.h