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: [commit] Fix & clarify OpenBSD/i386 and OpenBSD/amd64 kernel support


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)


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