Fix length arg in call to breakpoint_xfer_memory.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 21 Feb 2014 14:55:37 +0000 (15:55 +0100)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 21 Feb 2014 14:55:37 +0000 (15:55 +0100)
commitc63528fc47c79721b55f32fe1649762ff9125ae0
treea436ebfe5cb706632dc7477ba7a0b17fc2bb7a0b
parentea4758f2dd33c0081abc89b011c4755453af9efc
Fix length arg in call to breakpoint_xfer_memory.

The patch "return target_xfer_status in to_xfer_partial" caused a
regression in various s390(x) test cases, because memory_xfer_partial
filled only the first byte of the read buffer from a breakpoint shadow:

    https://sourceware.org/ml/gdb-patches/2014-01/msg01071.html

This patch fixes the regression.
gdb/ChangeLog
gdb/target.c