From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51003 invoked by alias); 8 Sep 2015 14:32:01 -0000 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 Received: (qmail 50989 invoked by uid 89); 8 Sep 2015 14:32:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f53.google.com Received: from mail-pa0-f53.google.com (HELO mail-pa0-f53.google.com) (209.85.220.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 08 Sep 2015 14:31:59 +0000 Received: by padhk3 with SMTP id hk3so40755782pad.3 for ; Tue, 08 Sep 2015 07:31:57 -0700 (PDT) X-Received: by 10.68.228.36 with SMTP id sf4mr59496814pbc.0.1441722717013; Tue, 08 Sep 2015 07:31:57 -0700 (PDT) Received: from E107787-LIN (power-aix.osuosl.org. [140.211.15.154]) by smtp.gmail.com with ESMTPSA id ou5sm3667048pdb.51.2015.09.08.07.31.54 (version=TLS1_2 cipher=AES128-SHA256 bits=128/128); Tue, 08 Sep 2015 07:31:56 -0700 (PDT) From: Yao Qi To: Antoine Tremblay Cc: Yao Qi , Subject: Re: [PATCH 1/2] [gdbserver] Rename supports_conditional_breakpoints to supports_hardware_single_step References: <1441096915-23615-1-git-send-email-yao.qi@linaro.org> <1441096915-23615-2-git-send-email-yao.qi@linaro.org> <55E74C68.8020608@ericsson.com> Date: Tue, 08 Sep 2015 14:32:00 -0000 In-Reply-To: <55E74C68.8020608@ericsson.com> (Antoine Tremblay's message of "Wed, 2 Sep 2015 15:22:16 -0400") Message-ID: <86fv2p6kyw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00092.txt.bz2 Antoine Tremblay writes: Hi Antoine, > Could we generalize this even more to supports_single_step like your > next patch ? > I am not sure. > Since I'm working on software single stepping for ARM, if this patch > goes in I'll need to implement a supports_software_single_step and > enable ConditionalBreakpoints for this case too... Nowadays, GDBserver only support conditional breakpoint for HW single step target. Whether GDBserver support conditional breakpoint for SW single step target is a separate issue, and we can decide this once we have SW single step in GDBserver. I believe GDBserver can compute the next instruction of $PC for SW single step, but GDBserver execution control (target independent part) will be more complicated if SW single step is involved in. --=20 Yao (=E9=BD=90=E5=B0=A7)