Stop passing netbsd_process_target to local functions
authorKamil Rytarowski <n54@gmx.com>
Wed, 7 Oct 2020 14:32:11 +0000 (16:32 +0200)
committerKamil Rytarowski <n54@gmx.com>
Wed, 7 Oct 2020 15:38:37 +0000 (17:38 +0200)
commit4849105512548d9f362b7111e50ff22c3184326a
tree562d3c4f15ad7de4d1757757c3a4c95eedd798bc
parentb68bef998c81f01d73c02e7a8fb41ad8db685db1
Stop passing netbsd_process_target to local functions

Switch from target->read_memory to netbsd_nat::read_memory and
cleanup the code.

No functional change.

gdbserver/ChangeLog:

        * netbsd-low.cc (get_dynamic, get_r_debug, read_one_ptr)
        (netbsd_qxfer_libraries_svr4): Remove "target" argument and update.
        (netbsd_process_target::qxfer_libraries_svr4): Update.
gdbserver/ChangeLog
gdbserver/netbsd-low.cc