Re-implement ia64-linux-nat.c::ia64_linux_xfer_partial
authorPedro Alves <palves@redhat.com>
Wed, 26 Feb 2014 01:45:50 +0000 (20:45 -0500)
committerJoel Brobecker <brobecker@adacore.com>
Wed, 26 Feb 2014 01:53:23 +0000 (20:53 -0500)
commitd16461aeef555da47e358b0f81c75912e4ea07e2
treedabc7899c6eebfd229f6a8f51a2c89bbfd058036
parenta8b1622022a0fb3531bfd4ce77e69f6b15312745
Re-implement ia64-linux-nat.c::ia64_linux_xfer_partial

[description of this patch and ChangeLog entry by Joel Brobecker]
The recent implementation was questionable, and if it worked, it was
only by chance because the requested length is large enough that only
one read was sufficient.  Note that the implementation before that
also made that assumption, in the form of only handling
TARGET_OBJECT_UNWIND_TABLE xfer requests when offset was zero.

gdb/ChangeLog:

        * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
        handling of object == TARGET_OBJECT_UNWIND_TABLE.
gdb/ChangeLog
gdb/ia64-linux-nat.c