From: Christian Biesinger Date: Fri, 24 Jan 2020 14:12:48 +0000 (+0100) Subject: Make the class name in the definition match the declaration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3050c6f4bcfd43c526b4a47fcb0ac15d3de5c1fd;p=binutils-gdb.git 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 * 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 --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a708c3f8d73..3d166f06404 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2020-01-24 Christian Biesinger + + * 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 * arm-nbsd-nat.c: Define _KERNTYPES to get the declaration of diff --git a/gdb/arm-nbsd-nat.c b/gdb/arm-nbsd-nat.c index 33ae790063f..11afc289c3e 100644 --- a/gdb/arm-nbsd-nat.c +++ b/gdb/arm-nbsd-nat.c @@ -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) {