From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14832 invoked by alias); 4 Mar 2010 19:09:43 -0000 Received: (qmail 14809 invoked by uid 22791); 4 Mar 2010 19:09:42 -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; Thu, 04 Mar 2010 19:09:38 +0000 Received: (qmail 16670 invoked from network); 4 Mar 2010 19:09:36 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Mar 2010 19:09:36 -0000 Date: Thu, 04 Mar 2010 19:09:00 -0000 From: Daniel Jacobowitz To: "H.J. Lu" Cc: GDB Subject: Re: PATCH: 1/6: Add AVX support Message-ID: <20100304190934.GB15979@caradoc.them.org> Mail-Followup-To: "H.J. Lu" , GDB References: <20100304180219.GA10826@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100304180219.GA10826@intel.com> 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-03/txt/msg00207.txt.bz2 On Thu, Mar 04, 2010 at 10:02:19AM -0800, H.J. Lu wrote: > 4. Remote gdb protocol extension. GDB will send > > x86:xstate=BYTES:xcr0=VALUE > > in qSupported request packet to indicate that GDB supports x86 XSAVE > extended state. BYTES specifies the maximum size in bytes of x86 XSAVE > extended state GDB supports. VALUE specifies the maximum value of XCR0 > GDB supports. Gdbserver will select the best target description > supported by GDB, based on BYTES and VALUE. The older gdbserver will > always return SSE target. The whole point of target descriptions, and the thing we've been going to so much trouble to implement for the past month, is that this negotiation is not supposed to be needed. Why does it matter what GDB supports? If there are new registers that GDB does not know about, in the target description supplied by gdbserver, then GDB will not use them specially for debug info or function calls. But it will otherwise handle them fine. -- Daniel Jacobowitz CodeSourcery