aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-ptrace.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-09-24 22:43:37 +0000
committerMark Kettenis <kettenis@gnu.org>2004-09-24 22:43:37 +0000
commit27acbe618f53c00c15dfe0080e609c3209d51d1d (patch)
tree1c3eeb1fc1b743513ea6890f409a51336253556b /gdb/inf-ptrace.c
parentcd62154cc623e47f8d526fd17948f78be64de321 (diff)
downloadgdb-27acbe618f53c00c15dfe0080e609c3209d51d1d.zip
gdb-27acbe618f53c00c15dfe0080e609c3209d51d1d.tar.gz
gdb-27acbe618f53c00c15dfe0080e609c3209d51d1d.tar.bz2
* inf-ptrace.c (inf_ptrace_xfer_memory): Fix gdb_indent.sh wart.
Diffstat (limited to 'gdb/inf-ptrace.c')
-rw-r--r--gdb/inf-ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c
index d361d76..234c26b 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