From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7030 invoked by alias); 22 Dec 2005 16:13:37 -0000 Received: (qmail 7023 invoked by uid 22791); 22 Dec 2005 16:13:36 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 22 Dec 2005 16:13:36 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EpT4Q-0001ZZ-3I; Thu, 22 Dec 2005 11:13:34 -0500 Date: Fri, 23 Dec 2005 19:45:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: gdb-patches@sourceware.org Subject: Re: [commit] Fix & clarify OpenBSD/i386 and OpenBSD/amd64 kernel support Message-ID: <20051222161334.GA5922@nevyn.them.org> Mail-Followup-To: Mark Kettenis , gdb-patches@sourceware.org References: <200512221557.jBMFvC9f006924@elgar.sibelius.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200512221557.jBMFvC9f006924@elgar.sibelius.xs4all.nl> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00270.txt.bz2 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 * 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)