This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Fix gdb_indent.sh wart in inf-ptrace.c
- From: Mark Kettenis <kettenis at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 25 Sep 2004 10:29:21 +0200 (CEST)
- Subject: [COMMIT] Fix gdb_indent.sh wart in inf-ptrace.c
Committed as obvious.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* inf-ptrace.c (inf_ptrace_xfer_memory): Fix gdb_indent.sh wart.
Index: inf-ptrace.c
===================================================================
RCS file: /cvs/src/src/gdb/inf-ptrace.c,v
retrieving revision 1.3
diff -u -p -r1.3 inf-ptrace.c
--- inf-ptrace.c 24 Sep 2004 19:00:47 -0000 1.3
+++ inf-ptrace.c 24 Sep 2004 22:42:08 -0000
@@ -142,7 +142,7 @@ inf_ptrace_xfer_memory (CORE_ADDR memadd
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