From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3782 invoked by alias); 8 Apr 2010 23:07:29 -0000 Received: (qmail 3771 invoked by uid 22791); 8 Apr 2010 23:07:28 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45 X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Apr 2010 23:07:23 +0000 Received: by vws14 with SMTP id 14so1517698vws.0 for ; Thu, 08 Apr 2010 16:07:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.44.198 with HTTP; Thu, 8 Apr 2010 16:07:21 -0700 (PDT) Date: Thu, 08 Apr 2010 23:07:00 -0000 Received: by 10.220.122.37 with SMTP id j37mr622181vcr.94.1270768041596; Thu, 08 Apr 2010 16:07:21 -0700 (PDT) Message-ID: Subject: Gcore doesn't work on i386 without SSE From: "H.J. Lu" To: Mark Kettenis Cc: gdb-patches@sourceware.org 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: 2010-04/txt/msg00207.txt.bz2 On Wed, Apr 7, 2010 at 3:13 AM, Mark Kettenis wro= te: >> Date: Fri, 2 Apr 2010 08:27:55 -0700 >> From: "H.J. Lu" >> >> On Fri, Apr 2, 2010 at 7:41 AM, Mark Kettenis = wrote: >> >> Date: Fri, 2 Apr 2010 07:31:07 -0700 >> >> From: "H.J. Lu" >> >> >> >> On Sun, Mar 28, 2010 at 06:11:24PM -0700, H.J. Lu wrote: >> >> > Hi, >> >> > >> >> > Here are i386 changes to support AVX. OK to install? >> >> > >> >> >> >> Here is the updated i386 changes to support AVX. OK to install? >> > >> > Sorry, but I'm still unhappy with the way you modify the >> > i386_linux_regset_sections[] array at run time. =A0I think the best >> > thing to do is to have gcore *always* create a NT_X86_XSTATE note of >> >> Generate NT_X86_XSTATE note without kernel/processor >> NT_X86_XSTATE note support may require changes to >> existing FXSAVE code path. =A0I will investigate it. >> >> BTW, I have a follow up patch to implement 32bit core >> registers without SSE registers to properly support older >> processors, like Pentium and Pentium Pro. =A0Should >> "gcore" generate NT_PRXFPREG note? > > Probably. =A0It'll surely make the code simpler. > Hi Mark, It doesn't work: http://www.sourceware.org/bugzilla/show_bug.cgi?id=3D11481 I think it will be simpler not to generate such note if the processor doesn't support it. The fundamental question is if coredump generated by gcore should be as close to the one generated by OS as possible. --=20 H.J.