From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9828 invoked by alias); 3 Feb 2010 13:59:02 -0000 Received: (qmail 9815 invoked by uid 22791); 3 Feb 2010 13:59:01 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SARE_SUB_OBFU_Q1,SPF_PASS 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; Wed, 03 Feb 2010 13:58:57 +0000 Received: (qmail 9136 invoked from network); 3 Feb 2010 13:58:56 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 3 Feb 2010 13:58:56 -0000 Date: Wed, 03 Feb 2010 13:59:00 -0000 From: Daniel Jacobowitz To: "H.J. Lu" Cc: GDB Subject: Re: RFC: Support target specific qSupported Message-ID: <20100203135848.GA27938@caradoc.them.org> Mail-Followup-To: "H.J. Lu" , GDB References: <20100203040339.GA24984@lucon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100203040339.GA24984@lucon.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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-02/txt/msg00065.txt.bz2 On Tue, Feb 02, 2010 at 08:03:39PM -0800, H.J. Lu wrote: > Hi, > > Intel AVX has 256bit YMM registers. XMM registers from SSE are the > aliases of the lower 128bit YMM registers. gdbserver on AVX machine > may use 256bit vector registers, instead of 128bit vector registers, > in the g/G packet. When gdb talks to gdbserver, they need to negotiate > to find out the maxium common register size supported by both gdb and > gdbserver. I added `x86:xstate=BYTES:xcr0=VALUE' to qSupported: Have you seen the Target Descriptions chapter in the manual? This is exactly what it was designed to do. You'll need a new gdb to talk to the new gdbserver (older ones will give a warning on connect), but that's generally acceptable. -- Daniel Jacobowitz CodeSourcery