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.
This commit is contained in:
John Baldwin
2020-09-16 11:40:04 -07:00
parent 945ff6e213
commit 5515f72973
3 changed files with 5 additions and 6 deletions

View File

@@ -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;
};