aboutsummaryrefslogtreecommitdiff
path: root/gdb/obsd-nat.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/obsd-nat.h')
-rw-r--r--gdb/obsd-nat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/obsd-nat.h b/gdb/obsd-nat.h
index 7c35307..c8016ed 100644
--- a/gdb/obsd-nat.h
+++ b/gdb/obsd-nat.h
@@ -25,7 +25,7 @@
class obsd_nat_target : public inf_ptrace_target
{
/* Override some methods to support threads. */
- const char *pid_to_str (ptid_t) override;
+ std::string pid_to_str (ptid_t) override;
void update_thread_list () override;
ptid_t wait (ptid_t, struct target_waitstatus *, int) override;
};