diff options
Diffstat (limited to 'gdbserver/netbsd-low.cc')
-rw-r--r-- | gdbserver/netbsd-low.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbserver/netbsd-low.cc b/gdbserver/netbsd-low.cc index 38ded94..84e34d0 100644 --- a/gdbserver/netbsd-low.cc +++ b/gdbserver/netbsd-low.cc @@ -1193,10 +1193,10 @@ netbsd_process_target::supports_qxfer_libraries_svr4 () /* Return the name of a file that can be opened to get the symbols for the child process identified by PID. */ -char * +const char * netbsd_process_target::pid_to_exec_file (pid_t pid) { - return const_cast<char *> (netbsd_nat::pid_to_exec_file (pid)); + return netbsd_nat::pid_to_exec_file (pid); } /* Implementation of the target_ops method "supports_pid_to_exec_file". */ |