From 4360561f5a326d9765cf1d95e5f779c5ab51045e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 10 Jun 2018 08:24:04 -0600 Subject: 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 * 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. --- gdb/go32-nat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/go32-nat.c') diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c index 81e2ea4..f00e424 100644 --- a/gdb/go32-nat.c +++ b/gdb/go32-nat.c @@ -655,9 +655,9 @@ go32_nat_target::xfer_partial (enum target_object object, return go32_xfer_memory (readbuf, writebuf, offset, len, xfered_len); default: - return this->beneath->xfer_partial (object, annex, - readbuf, writebuf, offset, len, - xfered_len); + return this->beneath ()->xfer_partial (object, annex, + readbuf, writebuf, offset, len, + xfered_len); } } -- cgit v1.1