diff options
Diffstat (limited to 'gdb/or1k-linux-nat.c')
-rw-r--r-- | gdb/or1k-linux-nat.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/or1k-linux-nat.c b/gdb/or1k-linux-nat.c index 2139224..cc682ea 100644 --- a/gdb/or1k-linux-nat.c +++ b/gdb/or1k-linux-nat.c @@ -1,5 +1,5 @@ /* Native-dependent code for GNU/Linux OpenRISC. - Copyright (C) 2021-2024 Free Software Foundation, Inc. + Copyright (C) 2021-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -106,7 +106,7 @@ fill_gregset (const struct regcache *regcache, prgregset_t *gregs, int regnum) regcache->raw_collect (OR1K_NPC_REGNUM, regp + 32); } -/* Transfering floating-point registers between GDB, inferiors and cores. +/* Transferring floating-point registers between GDB, inferiors and cores. Since OpenRISC floating-point registers are the same as GPRs these do nothing. */ @@ -199,9 +199,7 @@ or1k_linux_nat_target::store_registers (struct regcache *regcache, int regnum) /* Initialize OpenRISC Linux native support. */ -void _initialize_or1k_linux_nat (); -void -_initialize_or1k_linux_nat () +INIT_GDB_FILE (or1k_linux_nat) { /* Register the target. */ linux_target = &the_or1k_linux_nat_target; |