This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] PIE support for OpenBSD
- From: Yao Qi <yao at codesourcery dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: <stanshebs at earthlink dot net>, <gdb-patches at sourceware dot org>
- Date: Mon, 2 Jan 2012 11:58:34 +0800
- Subject: Re: [PATCH] PIE support for OpenBSD
- References: <201112172108.pBHL8Th2032226@glazunov.sibelius.xs4all.nl> <20111221171315.GA18194@host2.jankratochvil.net> <201112212126.pBLLQ2Fl013069@glazunov.sibelius.xs4all.nl> <4EF26E18.3030401@earthlink.net> <201112221020.pBMAKaL0007007@glazunov.sibelius.xs4all.nl> <4EF3841C.2050603@earthlink.net> <201112272138.pBRLcpI1006890@glazunov.sibelius.xs4all.nl>
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;