diff options
Diffstat (limited to 'gdb/fbsd-nat.c')
-rw-r--r-- | gdb/fbsd-nat.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c index 8e0523d..935b947 100644 --- a/gdb/fbsd-nat.c +++ b/gdb/fbsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for FreeBSD. - Copyright (C) 2002-2024 Free Software Foundation, Inc. + Copyright (C) 2002-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -2465,14 +2465,12 @@ fbsd_nat_get_siginfo (ptid_t ptid, siginfo_t *siginfo) if (ptrace (PT_LWPINFO, pid, (caddr_t) &pl, sizeof pl) == -1) return false; if (!(pl.pl_flags & PL_FLAG_SI)) - return false;; + return false; *siginfo = pl.pl_siginfo; return (true); } -void _initialize_fbsd_nat (); -void -_initialize_fbsd_nat () +INIT_GDB_FILE (fbsd_nat) { add_setshow_boolean_cmd ("fbsd-lwp", class_maintenance, &debug_fbsd_lwp, _("\ |