From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25920 invoked by alias); 24 Feb 2012 13:04:19 -0000 Received: (qmail 25911 invoked by uid 22791); 24 Feb 2012 13:04:18 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Feb 2012 13:04:03 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1OD40fa017380 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 24 Feb 2012 08:04:00 -0500 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q1OD3x1W011673; Fri, 24 Feb 2012 08:04:00 -0500 Message-ID: <4F478ABF.8050803@redhat.com> Date: Fri, 24 Feb 2012 13:05:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: Yao Qi CC: gdb-patches@sourceware.org Subject: Re: [PATCH 2/9] add target_ops fields use_agent and can_use_agent References: <1329447300-18841-1-git-send-email-yao@codesourcery.com> <1329447300-18841-3-git-send-email-yao@codesourcery.com> <4F46ACDB.2080604@redhat.com> <4F4789E4.9060604@codesourcery.com> In-Reply-To: <4F4789E4.9060604@codesourcery.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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/msg00551.txt.bz2 On 02/24/2012 01:00 PM, Yao Qi wrote: > 2012-02-17 Yao Qi > > * target.h (struct target_ops) : New field. > (struct target_ops) : New field. > (target_use_agent, target_can_use_agent): New macro. > * target.c (update_current_target): Update. > * remote.c: New enum `PACKET_QAgent'. > (remote_protocol_features): Add a new element. > (remote_use_agent, remote_can_use_agent): New. > (init_remote_ops): Initialize field `can_use_agent' with > remote_can_use_agent. Intiailize field `use_agent' with > remote_use_agent. > * common/agent.c (use_agent): New global. > * common/agent.h: Declare it. > * tracepoint.c (info_static_tracepoint_markers_command): Add > comment. > > gdb/gdbserver: > > 2012-02-17 Yao Qi > > * linux-low.c (linux_supports_agent): New. > (linux_target_ops): Initialize field `supports_agent' with > linux_supports_agent. > * target.h (struct target_ops) : New. > (target_supports_agent): New macro. > * server.c (handle_general_set): Handle packet 'QAgent'. > (handle_query): Send `QAgent+'. > * Makefile.in (server.o): Depends on agent.h This version is okay. -- Pedro Alves