diff options
Diffstat (limited to 'gdb/amd64-fbsd-nat.c')
-rw-r--r-- | gdb/amd64-fbsd-nat.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/amd64-fbsd-nat.c b/gdb/amd64-fbsd-nat.c index 6ce7c45..89bb049 100644 --- a/gdb/amd64-fbsd-nat.c +++ b/gdb/amd64-fbsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for FreeBSD/amd64. - Copyright (C) 2003-2024 Free Software Foundation, Inc. + Copyright (C) 2003-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -137,7 +137,7 @@ amd64_fbsd_nat_target::fetch_registers (struct regcache *regcache, int regnum) /* There is no amd64_fxsave_supplies or amd64_xsave_supplies. Instead, the earlier register sets return early if the request - was for a specific register that was already satisified to avoid + was for a specific register that was already satisfied to avoid fetching the FPU/XSAVE state unnecessarily. */ #ifdef PT_GETXSTATE_INFO @@ -214,7 +214,7 @@ amd64_fbsd_nat_target::store_registers (struct regcache *regcache, int regnum) /* There is no amd64_fxsave_supplies or amd64_xsave_supplies. Instead, the earlier register sets return early if the request - was for a specific register that was already satisified to avoid + was for a specific register that was already satisfied to avoid fetching the FPU/XSAVE state unnecessarily. */ #ifdef PT_GETXSTATE_INFO @@ -324,9 +324,7 @@ amd64_fbsd_nat_target::read_description () return i386_target_description (X86_XSTATE_SSE_MASK, true); } -void _initialize_amd64fbsd_nat (); -void -_initialize_amd64fbsd_nat () +INIT_GDB_FILE (amd64fbsd_nat) { add_inf_child_target (&the_amd64_fbsd_nat_target); |