aboutsummaryrefslogtreecommitdiff
path: root/gdb/netbsd-nat.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/netbsd-nat.h')
-rw-r--r--gdb/netbsd-nat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/netbsd-nat.h b/gdb/netbsd-nat.h
index ef190c4..ff46845 100644
--- a/gdb/netbsd-nat.h
+++ b/gdb/netbsd-nat.h
@@ -28,7 +28,7 @@ struct thread_info;
struct nbsd_nat_target : public inf_ptrace_target
{
- char *pid_to_exec_file (int pid) override;
+ const char *pid_to_exec_file (int pid) override;
bool thread_alive (ptid_t ptid) override;
const char *thread_name (struct thread_info *thr) override;