* inf-ptrace.c (inf_ptrace_xfer_memory): Fix gdb_indent.sh wart.
This commit is contained in:
parent
cd62154cc6
commit
27acbe618f
@ -1,3 +1,7 @@
|
||||
2004-09-25 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* inf-ptrace.c (inf_ptrace_xfer_memory): Fix gdb_indent.sh wart.
|
||||
|
||||
2004-09-24 Robert Picco <Robert.Picco@hp.com>
|
||||
|
||||
Committed by Andrew Cagney.
|
||||
|
@ -142,7 +142,7 @@ inf_ptrace_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
|
||||
piod.piod_addr = myaddr;
|
||||
piod.piod_len = len;
|
||||
|
||||
if (ptrace (PT_IO, PIDGET (inferior_ptid), (caddr_t) & piod, 0) == -1)
|
||||
if (ptrace (PT_IO, PIDGET (inferior_ptid), (caddr_t) &piod, 0) == -1)
|
||||
{
|
||||
/* If the PT_IO request is somehow not supported, fallback on
|
||||
using PT_WRITE_D/PT_READ_D. Otherwise we will return zero
|
||||
|
Loading…
x
Reference in New Issue
Block a user