Make the class name in the definition match the declaration

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
This commit is contained in:
Christian Biesinger 2020-01-24 15:12:48 +01:00
parent 73685c7ede
commit 3050c6f4bc
2 changed files with 9 additions and 2 deletions

View 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

View 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)
{