Change to_xfer_partial doc to use addressable memory units
authorSimon Marchi <simon.marchi@ericsson.com>
Wed, 21 Jun 2017 10:28:03 +0000 (12:28 +0200)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 21 Jun 2017 11:16:47 +0000 (13:16 +0200)
commite4da2c61669d199c75b96a1be25e13e3b8254e89
tree044448e82fc1782d205fb7fc3b085ccc532917c9
parent3de58d950c984bce176d883a8e7bcf3415be8c84
Change to_xfer_partial doc to use addressable memory units

The commit

  d309493  target: consider addressable unit size when reading/writing memory

introduced the possibility of reading memory of targets with
non-8-bit-bytes (e.g. memories that store 16 bits at each address).
The documentation of target_read and target_write was updated
accordingly, but to_xfer_partial, which is very related, wasn't updated.
This commit fixes that.

gdb/ChangeLog:

* target.h (struct target_ops) <to_xfer_partial>: Update doc to
talk about addressable units instead of bytes.
gdb/ChangeLog
gdb/target.h