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.
This commit is contained in:
parent
ce0570c764
commit
23d577b0bc
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue