From 5515f729737520b465d57d18581ba91a83ca63e7 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 16 Sep 2020 11:40:04 -0700 Subject: Assume that PT_LWPINFO is always defined on FreeBSD hosts. FreeBSD kernels have included support for this since 5.0 release. The most recent release without support is 4.11 which was released in January of 2005. gdb/ChangeLog: * fbsd-nat.c: Assume PT_LWPINFO is always defined. * fbsd-nat.h: Likewise. --- gdb/fbsd-nat.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/fbsd-nat.h') diff --git a/gdb/fbsd-nat.h b/gdb/fbsd-nat.h index 1b1e043..ed3c1cd 100644 --- a/gdb/fbsd-nat.h +++ b/gdb/fbsd-nat.h @@ -55,7 +55,6 @@ public: ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) override; -#ifdef PT_LWPINFO bool thread_alive (ptid_t ptid) override; std::string pid_to_str (ptid_t) override; @@ -99,7 +98,6 @@ public: int set_syscall_catchpoint (int, bool, int, gdb::array_view) override; #endif -#endif /* PT_LWPINFO */ bool supports_multi_process () override; }; -- cgit v1.1