From: Mark Kettenis Date: Fri, 24 Sep 2004 22:43:37 +0000 (+0000) Subject: * inf-ptrace.c (inf_ptrace_xfer_memory): Fix gdb_indent.sh wart. X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=27acbe618f53c00c15dfe0080e609c3209d51d1d;p=deliverable%2Fbinutils-gdb.git * inf-ptrace.c (inf_ptrace_xfer_memory): Fix gdb_indent.sh wart. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d27a0cd2f0..fda28c22d6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-09-25 Mark Kettenis + + * inf-ptrace.c (inf_ptrace_xfer_memory): Fix gdb_indent.sh wart. + 2004-09-24 Robert Picco Committed by Andrew Cagney. diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c index d361d76b48..234c26bc2a 100644 --- a/gdb/inf-ptrace.c +++ b/gdb/inf-ptrace.c @@ -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