diff options
Diffstat (limited to 'gdb/obsd-nat.h')
-rw-r--r-- | gdb/obsd-nat.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/obsd-nat.h b/gdb/obsd-nat.h index fb98c9a..365ba5e 100644 --- a/gdb/obsd-nat.h +++ b/gdb/obsd-nat.h @@ -20,6 +20,14 @@ #ifndef OBSD_NAT_H #define OBSD_NAT_H -extern void obsd_add_target (struct target_ops *); +#include "inf-ptrace.h" + +class obsd_nat_target : public inf_ptrace_target +{ + /* Override some methods to support threads. */ + const char *pid_to_str (ptid_t) override; + void update_thread_list () override; + ptid_t wait (ptid_t, struct target_waitstatus *, int) override; +}; #endif /* obsd-nat.h */ |