arm-fbsd-nat: Use fetch_register_set and store_register_set.
[binutils-gdb.git] / gdb / i386-nto-tdep.c
index 91f99da0c1eb8693b066aca319ff82251e9ece2f..11e05e3ea97597d4ad5fe5ec4fb6fd7f87449840 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for QNX Neutrino x86.
 
-   Copyright (C) 2003-2019 Free Software Foundation, Inc.
+   Copyright (C) 2003-2021 Free Software Foundation, Inc.
 
    Contributed by QNX Software Systems Ltd.
 
@@ -161,7 +161,7 @@ i386nto_register_area (struct gdbarch *gdbarch,
          if (first_four)
            {
              /* fpu_control_word, fpu_status_word, fpu_tag_word, fpu_operand
-                registers.  */
+                registers.  */
              regsize = 2; /* Two bytes each.  */
              off_adjust = 0;
              regno_base = I387_FCTRL_REGNUM (tdep);
@@ -351,15 +351,15 @@ i386nto_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
       /* Our loader handles solib relocations differently than svr4.  */
       nto_svr4_so_ops.relocate_section_addresses
-        = nto_relocate_section_addresses;
+       = nto_relocate_section_addresses;
 
       /* Supply a nice function to find our solibs.  */
       nto_svr4_so_ops.find_and_open_solib
-        = nto_find_and_open_solib;
+       = nto_find_and_open_solib;
 
       /* Our linker code is in libc.  */
       nto_svr4_so_ops.in_dynsym_resolve_code
-        = nto_in_dynsym_resolve_code;
+       = nto_in_dynsym_resolve_code;
     }
   set_solib_ops (gdbarch, &nto_svr4_so_ops);
 
@@ -367,8 +367,9 @@ i386nto_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_gdbarch_wchar_signed (gdbarch, 0);
 }
 
+void _initialize_i386nto_tdep ();
 void
-_initialize_i386nto_tdep (void)
+_initialize_i386nto_tdep ()
 {
   init_i386nto_ops ();
   gdbarch_register_osabi (bfd_arch_i386, 0, GDB_OSABI_QNXNTO,