gdbserver: constify the 'pid_to_exec_file' target op
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Mon, 12 Apr 2021 12:14:06 +0000 (14:14 +0200)
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Mon, 12 Apr 2021 14:36:25 +0000 (16:36 +0200)
commit04977957ecfc723bc4f57460e8e4eed7e6b69f32
treef81ccf59234a4a9aa2f325d6b6d31995229a359a
parent9d8f30221b70361930fb82bf81e448b82f36cd58
gdbserver: constify the 'pid_to_exec_file' target op

gdbserver/ChangeLog:
2021-04-12  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

* target.h (class process_stratum_target) <pid_to_exec_file>:
Constify the return type.  Update the definition/references below.
* target.cc (process_stratum_target::pid_to_exec_file)
* linux-low.h (class linux_process_target) <pid_to_exec_file>
* linux-low.cc (linux_process_target::pid_to_exec_file)
* netbsd-low.h (class netbsd_process_target) <pid_to_exec_file>
* netbsd-low.cc (netbsd_process_target::pid_to_exec_file)
* server.cc (handle_qxfer_exec_file)
gdbserver/ChangeLog
gdbserver/linux-low.cc
gdbserver/linux-low.h
gdbserver/netbsd-low.cc
gdbserver/netbsd-low.h
gdbserver/server.cc
gdbserver/target.cc
gdbserver/target.h