From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20579 invoked by alias); 10 Feb 2012 12:25:52 -0000 Received: (qmail 20561 invoked by uid 22791); 10 Feb 2012 12:25:49 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Feb 2012 12:25:37 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1RvpXk-0007ZE-BK from Yao_Qi@mentor.com ; Fri, 10 Feb 2012 04:25:36 -0800 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 10 Feb 2012 04:25:36 -0800 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.1.289.1; Fri, 10 Feb 2012 04:25:34 -0800 Message-ID: <4F350CB6.80404@codesourcery.com> Date: Fri, 10 Feb 2012 12:25:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111220 Thunderbird/9.0 MIME-Version: 1.0 To: Pedro Alves CC: Subject: Re: [patch 6/8] Agent's capability References: <4F1D55D7.7030506@codesourcery.com> <4F1D68A2.2080503@codesourcery.com> <4F3427EF.10906@redhat.com> In-Reply-To: <4F3427EF.10906@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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: 2012-02/txt/msg00171.txt.bz2 On 02/10/2012 04:09 AM, Pedro Alves wrote: > That page is obsolete. We've been addressing those kinds of things with > qSupported features. I won't stand in the way of this change, but I do > wonder whether we shouldn't instead ask the agent about its features with > a similar (or exactly the same) mechanism. qSupported is used for GDB to get the list of features remote stub supports. However, agent can talk with GDB or GDBserver directly, so I hope GDB and GDBserver can use the same interface to get agent's capability. qSupported doesn't help here. -- Yao (齐尧)