* inf-ptrace.c (inf_ptrace_xfer_memory): Fix gdb_indent.sh wart.
authorMark Kettenis <kettenis@gnu.org>
Fri, 24 Sep 2004 22:43:37 +0000 (22:43 +0000)
committerMark Kettenis <kettenis@gnu.org>
Fri, 24 Sep 2004 22:43:37 +0000 (22:43 +0000)
gdb/ChangeLog
gdb/inf-ptrace.c

index d27a0cd2f0f0e8008ab0f723ce7609e71305f463..fda28c22d6d762be6df52b39eff3edacba4cfc2c 100644 (file)
@@ -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.
index d361d76b4850b9cb3985f4b90f53924fba47dfce..234c26bc2aaf64159677457879b0c5c6ffe544f7 100644 (file)
@@ -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
This page took 0.030884 seconds and 4 git commands to generate.