This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PIE support for OpenBSD


On 12/28/2011 05:38 AM, Mark Kettenis wrote:
> +	if (writebuf)
> +		return -1;

The indentation looks wrong.  Fixed it as obvious.

-- 
Yao (éå)

2012-01-02  Yao Qi  <yao@codesourcery.com>

	* inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.

Index: inf-ptrace.c
===================================================================
RCS file: /cvs/src/src/gdb/inf-ptrace.c,v
retrieving revision 1.76
diff -u -r1.76 inf-ptrace.c
--- inf-ptrace.c	27 Dec 2011 21:36:40 -0000	1.76
+++ inf-ptrace.c	2 Jan 2012 03:55:43 -0000
@@ -590,7 +590,7 @@
 	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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]