diff options
Diffstat (limited to 'gdb/netbsd-nat.c')
-rw-r--r-- | gdb/netbsd-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/netbsd-nat.c b/gdb/netbsd-nat.c index f2eeb3f..2ccd0e0 100644 --- a/gdb/netbsd-nat.c +++ b/gdb/netbsd-nat.c @@ -34,10 +34,10 @@ /* Return the name of a file that can be opened to get the symbols for the child process identified by PID. */ -char * +const char * nbsd_nat_target::pid_to_exec_file (int pid) { - return const_cast<char *> (netbsd_nat::pid_to_exec_file (pid)); + return netbsd_nat::pid_to_exec_file (pid); } /* Return the current directory for the process identified by PID. */ |