aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-linux-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-06-10 08:24:04 -0600
committerTom Tromey <tom@tromey.com>2018-06-10 09:58:34 -0600
commit4360561f5a326d9765cf1d95e5f779c5ab51045e (patch)
treea5631922d865744c18b45091a67ec6546a6c0273 /gdb/arm-linux-nat.c
parentd14b92bf8a7f4c57eb6c5fca559c7bbb8a747358 (diff)
downloadgdb-4360561f5a326d9765cf1d95e5f779c5ab51045e.zip
gdb-4360561f5a326d9765cf1d95e5f779c5ab51045e.tar.gz
gdb-4360561f5a326d9765cf1d95e5f779c5ab51045e.tar.bz2
Fix some missed "beneath" conversions
The buildbot pointed out that arm-linux-nat.c was not properly using "beneath" as a method. A search showed a few more places with this issue. Tested by the buildbot, though of course this only checked arm-linux-nat.c. Nevertheless I'm checking this in under the obvious rule. gdb/ChangeLog 2018-06-10 Tom Tromey <tom@tromey.com> * procfs.c (procfs_target::xfer_partial): Use "beneath" as a method. * nto-procfs.c (nto_procfs_target::xfer_partial): Use "beneath" as a method. * go32-nat.c (go32_nat_target::xfer_partial): Use "beneath" as a method. * arm-linux-nat.c (arm_linux_nat_target::read_description): Use "beneath" as a method. * arm-fbsd-nat.c (arm_fbsd_nat_target::read_description): Use "beneath" as a method.
Diffstat (limited to 'gdb/arm-linux-nat.c')
-rw-r--r--gdb/arm-linux-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c
index 984bbe2..d0b4313 100644
--- a/gdb/arm-linux-nat.c
+++ b/gdb/arm-linux-nat.c
@@ -553,7 +553,7 @@ arm_linux_nat_target::read_description ()
if (target_auxv_search (this, AT_HWCAP, &arm_hwcap) != 1)
{
- return this->beneath->read_description ();
+ return this->beneath ()->read_description ();
}
if (arm_hwcap & HWCAP_IWMMXT)
@@ -586,7 +586,7 @@ arm_linux_nat_target::read_description ()
return result;
}
- return this->beneath->read_description ();
+ return this->beneath ()->read_description ();
}
/* Information describing the hardware breakpoint capabilities. */