* target.c (target_xfer_memory_partial): Return -1 on failure due
to invalid access mode attribute.
This commit is contained in:
parent
0613c4019c
commit
873406a684
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-01-25 J.T. Conklin <jtc@redback.com>
|
||||
|
||||
* target.c (target_xfer_memory_partial): Return -1 on failure due
|
||||
to invalid access mode attribute.
|
||||
|
||||
2001-01-25 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* win32-nat.c (_initialize_core_win32): Prototype correctly.
|
||||
|
|
|
@ -991,7 +991,7 @@ target_xfer_memory_partial (CORE_ADDR memaddr, char *myaddr, int len,
|
|||
if (write_p)
|
||||
{
|
||||
*err = EIO;
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -999,7 +999,7 @@ target_xfer_memory_partial (CORE_ADDR memaddr, char *myaddr, int len,
|
|||
if (write_p)
|
||||
{
|
||||
*err = EIO;
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue