From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39458 invoked by alias); 19 Oct 2018 17:12:35 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 39330 invoked by uid 89); 19 Oct 2018 17:12:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=gdbpatches, gdb-patches, H*Ad:D*ca, H*c:alternative X-HELO: mail-vs1-f47.google.com Received: from mail-vs1-f47.google.com (HELO mail-vs1-f47.google.com) (209.85.217.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 19 Oct 2018 17:12:33 +0000 Received: by mail-vs1-f47.google.com with SMTP id m5so25728162vsk.6 for ; Fri, 19 Oct 2018 10:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/9MsIOs6QaMWgQiLiwnGBBFxiyh3AJwzIa1Rg3fNAec=; b=ayPV4VSx9yb72R1WNjVD+q2ix2DrR6rt3ZeKiaUIzJM5cGqkan/vL/jDLy7GPD7Lsi lqNNGgQLbEoHfnKE9fFXB+esZpytqc/I3/uEh/fNx05xWhgeX5exg5PDV4zSGqVsRtgC lu7gd88utzxGkCgJD4RDmFYKJEm6CqAPyoso9WktkS+sk2feqWFC7pKPVaOHXbQSddqq w/JiwgO5UfzJvdwLsbi+8FI0Z/8u2pg6LPQDLrHX7oEyhnvuW+jSyKcsn6U3tROmnlQF tH9bCDkORPgVqsFF9TMPDNH/tB99w+zxHWb4/vQai5a1bRBGSdvWtS0q3xt3otMd3oX4 ToJg== MIME-Version: 1.0 References: <0eeb55ca-d4e1-4db4-e601-74ca7e1151e2@redhat.com> <11b018ef2ea200e314dbce95f424eb6c@polymtl.ca> <818ac329-32b3-219d-ad28-11a7961b24ad@redhat.com> In-Reply-To: <818ac329-32b3-219d-ad28-11a7961b24ad@redhat.com> From: Bill Morgan Date: Fri, 19 Oct 2018 17:12:00 -0000 Message-ID: Subject: Re: gdb ignoring vCont supported commands To: palves@redhat.com Cc: Simon Marchi , gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00041.txt.bz2 On Fri, Oct 19, 2018 at 8:35 AM Pedro Alves wrote: > On 10/18/2018 02:42 PM, Bill Morgan wrote: > > On Tue, Oct 9, 2018 at 4:12 PM Pedro Alves wrote: > > > >> On 10/09/2018 09:29 PM, Bill Morgan wrote: > >>> > >>> So it is now recognizing the vContSupported, but it is still sending > >>> vCont;s > >>> > >> > >> Argh, I forgot that this only really works on ARM GNU/Linux. > >> What is your target? > >> > >> We're missing the small infrastructure change in GDB > >> mentioned in the discussion I linked before. > >> > > > > I couldn't get the change on the other thread to work, > > What change do you mean? > > The change you posted here: https://sourceware.org/ml/gdb-patches/2018-09/msg00312.html "The only think missing then I think is moving the only call to target_can_do_single_step out of the arm-linux-tdep.c file: static std::vector arm_linux_software_single_step (struct regcache *regcache) { struct gdbarch *gdbarch = regcache->arch (); struct arm_get_next_pcs next_pcs_ctx; /* If the target does have hardware single step, GDB doesn't have to bother software single step. */ if (target_can_do_single_step () == 1) return {}; into somewhere more generic, around infrun.c:maybe_software_singlestep."