From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31159 invoked by alias); 23 Aug 2009 23:56:59 -0000 Received: (qmail 31150 invoked by uid 22791); 23 Aug 2009 23:56:59 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f193.google.com (HELO mail-px0-f193.google.com) (209.85.216.193) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 23 Aug 2009 23:56:53 +0000 Received: by pxi31 with SMTP id 31so2346738pxi.24 for ; Sun, 23 Aug 2009 16:56:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.21.42 with SMTP id y42mr276273wfi.207.1251071812092; Sun, 23 Aug 2009 16:56:52 -0700 (PDT) In-Reply-To: <20090823235320.GA14997@caradoc.them.org> References: <4A90B261.2030602@vmware.com> <4A90C08A.8000107@vmware.com> <837hwufkxr.fsf@gnu.org> <20090823235320.GA14997@caradoc.them.org> From: Hui Zhu Date: Mon, 24 Aug 2009 00:01:00 -0000 Message-ID: Subject: Re: Bug in i386_process_record? To: Eli Zaretskii , msnyder@vmware.com, gdb-patches@sourceware.org, Daniel Jacobowitz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00377.txt.bz2 On Mon, Aug 24, 2009 at 07:53, Daniel Jacobowitz wrote: > On Mon, Aug 24, 2009 at 07:42:41AM +0800, Hui Zhu wrote: >> On Mon, Aug 24, 2009 at 02:24, Eli Zaretskii wrote: >> > >> > > From: Hui Zhu >> > > Date: Sun, 23 Aug 2009 12:29:33 +0800 >> > > Cc: gdb-patches ml >> > > >> > > read_register (I386_ES_REGNUM) >> > > This value is not the value of ES. =A0This is number of TLB. >> > >> > On what OS? > > If I remember correctly, the %es that GDB sees is the selector rather > than the base address. =A0I think any halfway recent Linux kernel > exposes both values, but GDB doesn't display the bases - this probably > bears fixing! > If this value can be added, it will be very great for me. :) Thanks, Hui