From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53490 invoked by alias); 14 Sep 2018 00:38:00 -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 53479 invoked by uid 89); 14 Sep 2018 00:37:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Almost, H*f:sk:15fd4c1, H*f:sk:808bd91, sysgo X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Sep 2018 00:37:57 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 7122B1162A0; Thu, 13 Sep 2018 20:37:55 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zITxUUXwQpZw; Thu, 13 Sep 2018 20:37:55 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 39D7C116280; Thu, 13 Sep 2018 20:37:55 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 665BC87957; Thu, 13 Sep 2018 17:37:53 -0700 (PDT) Date: Fri, 14 Sep 2018 00:38:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: gdb-patches@sourceware.org, Jerome Guitton Subject: Re: [RFA] arm-pikeos: software single step Message-ID: <20180914003753.GA16818@adacore.com> References: <1536592407-13448-1-git-send-email-brobecker@adacore.com> <808bd91f-3ad3-9a42-bc04-ac42835fceb9@redhat.com> <20180911110417.GB3379@adacore.com> <15fd4c1d-d265-073d-a4d8-14de3d607a44@redhat.com> <20180911205742.GB12573@adacore.com> <9ff1cf95-0ec4-dd58-6445-4fd51730a7d8@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9ff1cf95-0ec4-dd58-6445-4fd51730a7d8@redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-SW-Source: 2018-09/txt/msg00446.txt.bz2 > Almost. GDB can't trust "vCont;c;C" alone, because for a long > while GDBserver would send "vCont;c;s;C;S" even if the target > did not support hardware stepping. So what a stub needs to do > is: > > Return "vCont;c;C" to "vCont?" _AND_ include "vContSupported" > in the reported "qSupported" features. The latter tells GDB > to trust that the actions included in "vCont?" are really the > supported ones. (I wish we had implemented this a little bit > differently, but that ship has sailed, and although a bit > cumbersome, it works.) Excellent. I've passed that information in what is hopefully a concise and clear message that JeromeG can pass to Sysgo. Hopefully something will come out of it. Thanks Pedro! -- Joel