From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1386 invoked by alias); 28 Mar 2010 16:47:08 -0000 Received: (qmail 1376 invoked by uid 22791); 28 Mar 2010 16:47:07 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 28 Mar 2010 16:47:03 +0000 Received: (qmail 12933 invoked from network); 28 Mar 2010 16:47:02 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Mar 2010 16:47:02 -0000 From: Pedro Alves To: Daniel Jacobowitz Subject: Re: PATCH: 6/6 [2nd try]: Add AVX support (gdbserver changes) Date: Sun, 28 Mar 2010 16:47:00 -0000 User-Agent: KMail/1.12.2 (Linux/2.6.31-20-generic; KDE/4.3.2; x86_64; ; ) Cc: gdb-patches@sourceware.org, "H.J. Lu" References: <20100304180219.GA10826@intel.com> <201003280855.44473.pedro@codesourcery.com> <20100328164045.GB5815@caradoc.them.org> In-Reply-To: <20100328164045.GB5815@caradoc.them.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003281746.59570.pedro@codesourcery.com> 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/msg00948.txt.bz2 On Sunday 28 March 2010 17:40:45, Daniel Jacobowitz wrote: > You're right. I forgot about this; the design won't work. > > Would "xmlRegisters=arm,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. -- Pedro Alves