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.
This commit is contained in:
parent
d14b92bf8a
commit
4360561f5a
|
@ -1,3 +1,16 @@
|
|||
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.
|
||||
|
||||
2018-06-10 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* tracefile.c (struct trace_file_writer_deleter): New.
|
||||
|
|
|
@ -141,7 +141,7 @@ arm_fbsd_nat_target::read_description ()
|
|||
|
||||
desc = arm_fbsd_read_description_auxv (this);
|
||||
if (desc == NULL)
|
||||
desc = this->beneath->read_description ();
|
||||
desc = this->beneath ()->read_description ();
|
||||
return desc;
|
||||
}
|
||||
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -995,9 +995,9 @@ nto_procfs_target::xfer_partial (enum target_object object,
|
|||
}
|
||||
/* Fallthru */
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2574,9 +2574,9 @@ procfs_target::xfer_partial (enum target_object object,
|
|||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue