From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19240 invoked by alias); 11 Sep 2018 11:04:22 -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 19221 invoked by uid 89); 11 Sep 2018 11:04:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HTo:U*palves 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; Tue, 11 Sep 2018 11:04:20 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 76FA41179D9; Tue, 11 Sep 2018 07:04:19 -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 dTBaAApcCMES; Tue, 11 Sep 2018 07:04:19 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 49C481161A2; Tue, 11 Sep 2018 07:04:19 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 730A583B28; Tue, 11 Sep 2018 13:04:17 +0200 (CEST) Date: Tue, 11 Sep 2018 11:04: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: <20180911110417.GB3379@adacore.com> References: <1536592407-13448-1-git-send-email-brobecker@adacore.com> <808bd91f-3ad3-9a42-bc04-ac42835fceb9@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <808bd91f-3ad3-9a42-bc04-ac42835fceb9@redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-SW-Source: 2018-09/txt/msg00322.txt.bz2 Hi Pedro, > It seems to me we can take a better approach here, that eliminates > this particular problem not just for PikeOS, but for all other cases > of random RTOS's. > > That is, you should be able to make your stub tell GDB that it > can or can't hardware single step, and then GDB adjusts itself. Unfortunately, the problem is that we do not control the stub (muxa), it is a tool that the vendor provides. -- Joel