diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/target.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7a19e60..9ca0e1e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2013-08-23 Pedro Alves <palves@redhat.com> + * target.c (target_read_live_memory): Change type of 'ret' local + to LONGEST. + +2013-08-23 Pedro Alves <palves@redhat.com> + * remote.c (remote_write_bytes_aux, remote_write_bytes) (remote_read_bytes): Change return type to LONGEST, and adjust to return a target_xfer_error on error. diff --git a/gdb/target.c b/gdb/target.c index f18661b..3659bb90 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -1364,7 +1364,7 @@ static LONGEST target_read_live_memory (enum target_object object, ULONGEST memaddr, gdb_byte *myaddr, LONGEST len) { - int ret; + LONGEST ret; struct cleanup *cleanup; /* Switch momentarily out of tfind mode so to access live memory. |