aboutsummaryrefslogtreecommitdiff
path: root/gdb/fbsd-nat.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-09-16 11:40:04 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2020-09-16 11:40:04 -0700
commit5515f729737520b465d57d18581ba91a83ca63e7 (patch)
treeb396d5abe5288bd2a1c2b6705c90f4bb390130ef /gdb/fbsd-nat.h
parent945ff6e213d206c79386f225626e887abad0e22d (diff)
downloadgdb-5515f729737520b465d57d18581ba91a83ca63e7.zip
gdb-5515f729737520b465d57d18581ba91a83ca63e7.tar.gz
gdb-5515f729737520b465d57d18581ba91a83ca63e7.tar.bz2
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.
Diffstat (limited to 'gdb/fbsd-nat.h')
-rw-r--r--gdb/fbsd-nat.h2
1 files changed, 0 insertions, 2 deletions
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<const int>)
override;
#endif
-#endif /* PT_LWPINFO */
bool supports_multi_process () override;
};