aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-01-02 03:59:35 +0000
committerYao Qi <yao@codesourcery.com>2012-01-02 03:59:35 +0000
commita4d0b8315f5ca83b29e9ef1481e363eeeb6befa8 (patch)
tree8281e78cb9286810270d3ebc254e4d3d70505ace /gdb
parentb5914469f9dd6b332ed51eea9b5954bd12375cd7 (diff)
downloadgdb-a4d0b8315f5ca83b29e9ef1481e363eeeb6befa8.zip
gdb-a4d0b8315f5ca83b29e9ef1481e363eeeb6befa8.tar.gz
gdb-a4d0b8315f5ca83b29e9ef1481e363eeeb6befa8.tar.bz2
gdb/
* inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/inf-ptrace.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index db26777..00b3989 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-02 Yao Qi <yao@codesourcery.com>
+
+ * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
+
2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c
index 8f0d08b..cb3e559 100644
--- a/gdb/inf-ptrace.c
+++ b/gdb/inf-ptrace.c
@@ -590,7 +590,7 @@ inf_ptrace_xfer_partial (struct target_ops *ops, enum target_object object,
struct ptrace_io_desc piod;
if (writebuf)
- return -1;
+ return -1;
piod.piod_op = PIOD_READ_AUXV;
piod.piod_addr = readbuf;
piod.piod_offs = (void *) (long) offset;