From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8967 invoked by alias); 28 Mar 2010 20:53:14 -0000 Received: (qmail 8958 invoked by uid 22791); 28 Mar 2010 20:53:13 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 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; Sun, 28 Mar 2010 20:53:09 +0000 Received: by vws20 with SMTP id 20so5427639vws.0 for ; Sun, 28 Mar 2010 13:53:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.90.201 with HTTP; Sun, 28 Mar 2010 13:53:07 -0700 (PDT) In-Reply-To: <201003281746.59570.pedro@codesourcery.com> References: <20100304180219.GA10826@intel.com> <201003280855.44473.pedro@codesourcery.com> <20100328164045.GB5815@caradoc.them.org> <201003281746.59570.pedro@codesourcery.com> Date: Sun, 28 Mar 2010 20:53:00 -0000 Received: by 10.220.107.21 with SMTP id z21mr1965954vco.77.1269809587876; Sun, 28 Mar 2010 13:53:07 -0700 (PDT) Message-ID: <6dc9ffc81003281353m11e317f0odc8de38d8ea6f5cf@mail.gmail.com> Subject: Re: PATCH: 6/6 [2nd try]: Add AVX support (gdbserver changes) From: "H.J. Lu" To: Pedro Alves Cc: Daniel Jacobowitz , 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-03/txt/msg00958.txt.bz2 On Sun, Mar 28, 2010 at 9:46 AM, Pedro Alves wrote: > On Sunday 28 March 2010 17:40:45, Daniel Jacobowitz wrote: >> You're right. =A0I forgot about this; the design won't work. >> >> Would "xmlRegisters=3Darm,x86" be a better solution? > > Yes, I think so. > >> If so, the way to implement that is to have a registration function. >> i386-tdep.c:_initialize_i386_tdep can call a function in remote.c >> to add "x86" to the list of xmlRegisters architectures. > > Sounds good to me. A patch is posted at http://sourceware.org/ml/gdb-patches/2010-03/msg00957.html --=20 H.J.