Share DLL code between gdb and gdbserver
[deliverable/binutils-gdb.git] / gdb / m68k-linux-nat.c
index 959dbf44760b2e287a4564965322b26fe4d05528..b3c766216211f33143ef78bf3d7e0e5e7cab27f0 100644 (file)
@@ -1,6 +1,6 @@
 /* Motorola m68k native support for GNU/Linux.
 
-   Copyright (C) 1996-2019 Free Software Foundation, Inc.
+   Copyright (C) 1996-2021 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;
This page took 0.028587 seconds and 4 git commands to generate.