[PATCH] Stop passing netbsd_process_target to local functions
Simon Marchi
simark@simark.ca
Wed Oct 7 15:33:36 GMT 2020
On 2020-10-07 10:43 a.m., Kamil Rytarowski wrote:
> Switch from target->read_memory to netbsd_nat::read_memory and
> cleanup the code.
>
> No functional change.
Ah, I thought you wanted to make these functions that read memory be
part of the netbsd_process_target class, so they could use
this->read_memory.
But this is fine too, as long as netbsd_process_target::read_memory is
trivial. This LGTM.
Simon
More information about the Gdb-patches
mailing list