[PATCH] PIE support for OpenBSD

Yao Qi yao@codesourcery.com
Mon Jan 2 03:58:00 GMT 2012


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;



More information about the Gdb-patches mailing list