This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Fix & clarify OpenBSD/i386 and OpenBSD/amd64 kernel support
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 22 Dec 2005 11:13:34 -0500
- Subject: Re: [commit] Fix & clarify OpenBSD/i386 and OpenBSD/amd64 kernel support
- References: <200512221557.jBMFvC9f006924@elgar.sibelius.xs4all.nl>
On Thu, Dec 22, 2005 at 04:57:12PM +0100, Mark Kettenis wrote:
> + /* Check Current Privilige Level and bail out if we're not executing
> + in kernel space. */
I'm beginning to feel like a pest today so I fixed this myself :-)
--
Daniel Jacobowitz
CodeSourcery, LLC
2005-12-22 Daniel Jacobowitz <dan@codesourcery.com>
* amd64obsd-tdep.c (amd64obsd_trapframe_sniffer): Spelling fix.
* i386obsd-tdep.c (i386obsd_trapframe_sniffer): Likewise.
Index: amd64obsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/amd64obsd-tdep.c,v
retrieving revision 1.21
diff -u -p -r1.21 amd64obsd-tdep.c
--- amd64obsd-tdep.c 22 Dec 2005 15:57:04 -0000 1.21
+++ amd64obsd-tdep.c 22 Dec 2005 16:12:21 -0000
@@ -418,7 +418,7 @@ amd64obsd_trapframe_sniffer (const struc
ULONGEST cs;
char *name;
- /* Check Current Privilige Level and bail out if we're not executing
+ /* Check Current Privilege Level and bail out if we're not executing
in kernel space. */
cs = frame_unwind_register_unsigned (next_frame, AMD64_CS_REGNUM);
if ((cs & I386_SEL_RPL) == I386_SEL_UPL)
Index: i386obsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386obsd-tdep.c,v
retrieving revision 1.28
diff -u -p -r1.28 i386obsd-tdep.c
--- i386obsd-tdep.c 22 Dec 2005 15:57:04 -0000 1.28
+++ i386obsd-tdep.c 22 Dec 2005 16:12:21 -0000
@@ -416,7 +416,7 @@ i386obsd_trapframe_sniffer (const struct
ULONGEST cs;
char *name;
- /* Check Current Privilige Level and bail out if we're not executing
+ /* Check Current Privilege Level and bail out if we're not executing
in kernel space. */
cs = frame_unwind_register_unsigned (next_frame, I386_CS_REGNUM);
if ((cs & I386_SEL_RPL) == I386_SEL_UPL)