Make the class name in the definition match the declaration
authorChristian Biesinger <cbiesinger@google.com>
Fri, 24 Jan 2020 14:12:48 +0000 (15:12 +0100)
committerChristian Biesinger <cbiesinger@google.com>
Fri, 24 Jan 2020 15:39:01 +0000 (16:39 +0100)
Fixes a compile error because the class is actually called
arm_netbsd_nat_target.

gdb/ChangeLog:

2020-01-24  Christian Biesinger  <cbiesinger@google.com>

* arm-nbsd-nat.c (arm_nbsd_nat_target::fetch_registers): Rename to...
(arm_netbsd_nat_target::fetch_registers): ...this.
(arm_nbsd_nat_target::store_registers): Rename to...
(arm_netbsd_nat_target::store_registers): ...this.

Change-Id: Ibebfab9edeff48f54c32d0745afda1d74d31de92

gdb/ChangeLog
gdb/arm-nbsd-nat.c

index a708c3f8d733cf9e32767d22d373cbcbc4a14617..3d166f06404467c62fc84a9c9a01cc13bdccf439 100644 (file)
@@ -1,3 +1,10 @@
+2020-01-24  Christian Biesinger  <cbiesinger@google.com>
+
+       * arm-nbsd-nat.c (arm_nbsd_nat_target::fetch_registers): Rename to...
+       (arm_netbsd_nat_target::fetch_registers): ...this.
+       (arm_nbsd_nat_target::store_registers): Rename to...
+       (arm_netbsd_nat_target::store_registers): ...this.
+
 2020-01-24  Christian Biesinger  <cbiesinger@google.com>
 
        * arm-nbsd-nat.c: Define _KERNTYPES to get the declaration of
index 33ae790063f71cefcb77c41268cf30cb5bbf3687..11afc289c3ee5f17b69853d7c410447e5a2df221 100644 (file)
@@ -192,7 +192,7 @@ fetch_fp_regs (struct regcache *regcache)
 }
 
 void
-arm_nbsd_nat_target::fetch_registers (struct regcache *regcache, int regno)
+arm_netbsd_nat_target::fetch_registers (struct regcache *regcache, int regno)
 {
   if (regno >= 0)
     {
@@ -381,7 +381,7 @@ store_fp_regs (const struct regcache *regcache)
 }
 
 void
-arm_nbsd_nat_target::store_registers (struct regcache *regcache, int regno)
+arm_netbsd_nat_target::store_registers (struct regcache *regcache, int regno)
 {
   if (regno >= 0)
     {