diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-09-16 11:40:04 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2020-09-16 11:40:04 -0700 |
commit | 5515f729737520b465d57d18581ba91a83ca63e7 (patch) | |
tree | b396d5abe5288bd2a1c2b6705c90f4bb390130ef /gdb/fbsd-nat.c | |
parent | 945ff6e213d206c79386f225626e887abad0e22d (diff) | |
download | gdb-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.c')
-rw-r--r-- | gdb/fbsd-nat.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c index a355ebe..fc7136a 100644 --- a/gdb/fbsd-nat.c +++ b/gdb/fbsd-nat.c @@ -831,7 +831,6 @@ fbsd_nat_target::xfer_partial (enum target_object object, } } -#ifdef PT_LWPINFO static bool debug_fbsd_lwp; static bool debug_fbsd_nat; @@ -1667,7 +1666,6 @@ fbsd_nat_target::set_syscall_catchpoint (int pid, bool needed, return 0; } #endif -#endif bool fbsd_nat_target::supports_multi_process () @@ -1679,7 +1677,6 @@ void _initialize_fbsd_nat (); void _initialize_fbsd_nat () { -#ifdef PT_LWPINFO add_setshow_boolean_cmd ("fbsd-lwp", class_maintenance, &debug_fbsd_lwp, _("\ Set debugging of FreeBSD lwp module."), _("\ @@ -1696,5 +1693,4 @@ Enables printf debugging output."), NULL, &show_fbsd_nat_debug, &setdebuglist, &showdebuglist); -#endif } |