target.c:target_read_live_memory: Fix type of local.
authorPedro Alves <palves@redhat.com>
Fri, 23 Aug 2013 14:03:25 +0000 (14:03 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 23 Aug 2013 14:03:25 +0000 (14:03 +0000)
commit23d577b0bc272cd5bbbd38ebedd9b9ed6c9382e0
tree9159e8d777d3ec04d02c26e573d57f4064d77140
parentce0570c764fd51d695d2c7601edd3b5fa40678c2
target.c:target_read_live_memory: Fix type of local.

'ret' is used to hold the return of target_read, and pass it on.  Both
target_read and target_read_live_memory return LONGEST.

gdb/
2013-08-23  Pedro Alves  <palves@redhat.com>

* target.c (target_read_live_memory): Change type of 'ret' local
to LONGEST.
gdb/ChangeLog
gdb/target.c