forked from Imagelibrary/binutils-gdb
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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user