Add `set print array-indexes' tests for C/C++ arrays
[binutils-gdb.git] / gdb / m68k-linux-nat.c
index 3b2971b5a4e24a7829d0df1c9052005028dfb9da..3c8392f7cedd3b7b13a7a5effd16583fd57e6030 100644 (file)
@@ -1,6 +1,6 @@
 /* Motorola m68k native support for GNU/Linux.
 
-   Copyright (C) 1996-2020 Free Software Foundation, Inc.
+   Copyright (C) 1996-2022 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -260,7 +260,7 @@ fetch_regs (struct regcache *regcache, int tid)
       if (errno == EIO)
        {
          /* The kernel we're running on doesn't support the GETREGS
-             request.  Reset `have_ptrace_getregs'.  */
+            request.  Reset `have_ptrace_getregs'.  */
          have_ptrace_getregs = 0;
          return;
        }
@@ -511,8 +511,9 @@ ps_get_thread_area (struct ps_prochandle *ph,
   return PS_OK;
 }
 
+void _initialize_m68k_linux_nat ();
 void
-_initialize_m68k_linux_nat (void)
+_initialize_m68k_linux_nat ()
 {
   /* Register the target.  */
   linux_target = &the_m68k_linux_nat_target;