From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14043 invoked by alias); 25 Aug 2009 18:42:43 -0000 Received: (qmail 14033 invoked by uid 22791); 25 Aug 2009 18:42:42 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout6.012.net.il (HELO mtaout6.012.net.il) (84.95.2.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 25 Aug 2009 18:42:32 +0000 Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KOY00L003VD1100@i-mtaout6.012.net.il> for gdb-patches@sourceware.org; Tue, 25 Aug 2009 21:42:28 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.144.38]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KOY00ISD3YR7TJ0@i-mtaout6.012.net.il>; Tue, 25 Aug 2009 21:42:28 +0300 (IDT) Date: Tue, 25 Aug 2009 18:45:00 -0000 From: Eli Zaretskii Subject: Re: Bug in i386_process_record? In-reply-to: To: Hui Zhu Cc: msnyder@vmware.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <8363cbenvt.fsf@gnu.org> References: <4A7BA1DE.6010103@vmware.com> <4A90B261.2030602@vmware.com> <4A90C08A.8000107@vmware.com> <837hwufkxr.fsf@gnu.org> <83eir1dnqw.fsf@gnu.org> 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/msg00426.txt.bz2 > From: Hui Zhu > Date: Tue, 25 Aug 2009 13:02:44 +0800 > Cc: msnyder@vmware.com, gdb-patches@sourceware.org > > It seems that the segment (It is not the section) registers in x86 > protect mode is just help MMU to get the physical address. It's > transparent for the user level program. It's transparent if $es and $ds have the same value (which they usually do, AFAIK). > What do you think about remove this warning from this patch? I would indeed do that, if we find that $es and $ds have the same values. Assuming that someone who knows Linux better than I do confirms that these two registers hold the same selector when a normal application is running in user mode.