From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26607 invoked by alias); 22 Mar 2010 18:26:32 -0000 Received: (qmail 26596 invoked by uid 22791); 22 Mar 2010 18:26:31 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Mar 2010 18:26:22 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 50220130AC for ; Mon, 22 Mar 2010 11:26:21 -0700 (PDT) Received: from [10.20.124.100] (promd-2s-dhcp100.eng.vmware.com [10.20.124.100]) by mailhost2.vmware.com (Postfix) with ESMTP id 45ED68E6BA for ; Mon, 22 Mar 2010 11:26:21 -0700 (PDT) Message-ID: <4BA7B64D.7090403@vmware.com> Date: Mon, 22 Mar 2010 18:26:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.22 (X11/20090609) MIME-Version: 1.0 To: "gdb-patches@sourceware.org" Subject: [Fwd: Re: [RFA 3/5] Prec: x86 segment register support: target] Content-Type: multipart/mixed; boundary="------------010805030208050201020803" 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: 2010-03/txt/msg00768.txt.bz2 This is a multi-part message in MIME format. --------------010805030208050201020803 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 33 Sorry, hit 'reply' by mistake... --------------010805030208050201020803 Content-Type: message/rfc822; name="Re: [RFA 3/5] Prec: x86 segment register support: target.eml" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename*0="Re: [RFA 3/5] Prec: x86 segment register support: target.eml" Content-length: 2516 From: Michael Snyder To: Doug Evans Date: Mon, 22 Mar 2010 11:23:13 -0700 Subject: Re: [RFA 3/5] Prec: x86 segment register support: target Thread-Topic: [RFA 3/5] Prec: x86 segment register support: target Message-ID: <4BA7B591.7030308@vmware.com> References: <4B9FCA21.9020904@vmware.com> <20100316200424.GA29097@caradoc.them.org> <201003221433.o2MEXt0J031478@glazunov.sibelius.xs4all.nl> <20100322145332.GA3061@caradoc.them.org> <83sk7sgrm3.fsf@gnu.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Thunderbird 2.0.0.22 (X11/20090609) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-length: 1506 Doug Evans wrote: > On Mon, Mar 22, 2010 at 11:04 AM, Eli Zaretskii wrote: >>> Date: Mon, 22 Mar 2010 10:53:35 -0400 >>> From: Daniel Jacobowitz >>> Cc: teawater@gmail.com, msnyder@vmware.com, gdb-patches@sourceware.org,= hjl.tools@gmail.com >>> >>> On Mon, Mar 22, 2010 at 03:33:55PM +0100, Mark Kettenis wrote: >>>> Sorry, but I don't think adding these xx_base registers is a good >>>> idea. They are not acrhitected registers so they don't beling in the >>>> list of registers. >>> What do you suggest instead? >> Would a separate command fit the bill? (The DJGPP build already has >> something similar, see "info dos ldt" and its description in the >> manual with an example of how to use it to display the DS segment base >> address and limit.) >=20 > I'd have the regs in a separate info command (out of "info regs"), > there's more than just base, there's the limit and flags regs too, and > having them would really reduce the S/N ratio of "info reg", but > having $gs_base, et.al. usable in expressions is really useful (and > long overdue). Either that or make "gs:" as an address work - > you'd still want to be able to fold it to a "flat" address though. I'd just like to point out that while all this sounds great, it shouldn't be a prerequisite to the original task of just getting prec to record the segments and offsets correctly. Maybe we should split these two tasks, so that Teawater can go ahead and accomplish his. Michael --------------010805030208050201020803--