gnu-nat.c: Don't install a deprecated_xfer_memory method.
authorThomas Schwinge <tschwinge@gnu.org>
Thu, 19 Sep 2013 13:40:38 +0000 (13:40 +0000)
committerThomas Schwinge <tschwinge@gnu.org>
Thu, 19 Sep 2013 13:40:38 +0000 (13:40 +0000)
commit9b3f3ee63d8c500eca8bc542b3edbd83ddb77b1a
treed7ed0b6f98fc2dce09d1729cfa8f991ee77cb643
parent69150c3d5af696f56fac619ceb0756319ca5074b
gnu-nat.c: Don't install a deprecated_xfer_memory method.

This removes another instance of a deprecated_xfer_memory user.

gdb/
2013-09-19  Pedro Alves  <palves@redhat.com>
    Thomas Schwinge  <thomas@codesourcery.com>
    Yue Lu  <hacklu.newborn@gmail.com>

* gnu-nat.c (gnu_read_inferior, gnu_write_inferior): Make static.
Take a gdb_byte pointer instead of a char pointer.

* gnu-nat.c (gnu_xfer_memory): Adjust interface as
gnu_xfer_partial helper.
(gnu_xfer_partial): New function.
(gnu_target): Don't install a deprecated_xfer_memory hook.
Install a to_xfer_partial hook.
gdb/ChangeLog
gdb/gnu-nat.c