Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / sparc-linux-nat.c
index 765f24c86ae9ff864fb93bf07611be45f36cd914..33a17afa21e619cce941accd08d777ebbfd97a70 100644 (file)
@@ -1,5 +1,5 @@
 /* Native-dependent code for GNU/Linux SPARC.
-   Copyright (C) 2005-2018 Free Software Foundation, Inc.
+   Copyright (C) 2005-2021 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -33,10 +33,10 @@ class sparc_linux_nat_target final : public linux_nat_target
 public:
   /* Add our register access methods.  */
   void fetch_registers (struct regcache *regcache, int regnum) override
-  { sparc_fetch_inferior_registers (regcache, regnum); }
+  { sparc_fetch_inferior_registers (this, regcache, regnum); }
 
   void store_registers (struct regcache *regcache, int regnum) override
-  { sparc_store_inferior_registers (regcache, regnum); }
+  { sparc_store_inferior_registers (this, regcache, regnum); }
 };
 
 static sparc_linux_nat_target the_sparc_linux_nat_target;
@@ -66,8 +66,9 @@ fill_fpregset (const struct regcache *regcache,
   sparc32_collect_fpregset (sparc_fpregmap, regcache, regnum, fpregs);
 }
 
+void _initialize_sparc_linux_nat ();
 void
-_initialize_sparc_linux_nat (void)
+_initialize_sparc_linux_nat ()
 {
   sparc_fpregmap = &sparc32_bsd_fpregmap;
 
This page took 0.023483 seconds and 4 git commands to generate.