diff options
Diffstat (limited to 'gdb/i386-sol2-nat.c')
-rw-r--r-- | gdb/i386-sol2-nat.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/i386-sol2-nat.c b/gdb/i386-sol2-nat.c index 20ca9d6..1e87007 100644 --- a/gdb/i386-sol2-nat.c +++ b/gdb/i386-sol2-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for Solaris x86. - Copyright (C) 1988-2024 Free Software Foundation, Inc. + Copyright (C) 1988-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -25,7 +25,7 @@ #include "target.h" #include "procfs.h" -/* This file provids the (temporary) glue between the Solaris x86 +/* This file provides the (temporary) glue between the Solaris x86 target dependent code and the machine independent SVR4 /proc support. */ @@ -252,9 +252,7 @@ fill_fpregset (const struct regcache *regcache, #endif -void _initialize_amd64_sol2_nat (); -void -_initialize_amd64_sol2_nat () +INIT_GDB_FILE (amd64_sol2_nat) { #if PR_MODEL_NATIVE == PR_MODEL_LP64 amd64_native_gregset32_reg_offset = amd64_sol2_gregset32_reg_offset; |