diff options
author | Christian Biesinger <cbiesinger@google.com> | 2020-01-24 15:12:48 +0100 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2020-01-24 16:39:01 +0100 |
commit | 3050c6f4bcfd43c526b4a47fcb0ac15d3de5c1fd (patch) | |
tree | de5f33ac527f2edd3884555ed094f908eb1107f9 | |
parent | 73685c7ededdde511ae6a7f827fa29ec8502892a (diff) | |
download | gdb-3050c6f4bcfd43c526b4a47fcb0ac15d3de5c1fd.zip gdb-3050c6f4bcfd43c526b4a47fcb0ac15d3de5c1fd.tar.gz gdb-3050c6f4bcfd43c526b4a47fcb0ac15d3de5c1fd.tar.bz2 |
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
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/arm-nbsd-nat.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a708c3f..3d166f0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 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 register_t. diff --git a/gdb/arm-nbsd-nat.c b/gdb/arm-nbsd-nat.c index 33ae790..11afc28 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) { |