From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65029 invoked by alias); 11 Aug 2016 15:32:23 -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 65011 invoked by uid 89); 11 Aug 2016 15:32:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 Aug 2016 15:32:22 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3F57481112 for ; Thu, 11 Aug 2016 15:32:21 +0000 (UTC) Received: from [10.36.7.226] (vpn1-7-226.ams2.redhat.com [10.36.7.226]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7BFWJrf004368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 11 Aug 2016 11:32:20 -0400 Subject: Re: Commit: Export AArch64 sum's single step function To: gdb-patches@sourceware.org References: <87oa4z2yhu.fsf@redhat.com> <20160811142153.GU30544@vapier.lan> From: Nick Clifton Message-ID: Date: Thu, 11 Aug 2016 15:32:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160811142153.GU30544@vapier.lan> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-08/txt/msg00135.txt.bz2 Hi Mike, > this is already possible with the common sim API -- sim_resume() has a > "step" argument specifically to do single stepping. Hmm, OK, but how is this single stepping communicated to the target simulator ? As far as I can see the AArch64 simulator does not support single stepping (unless the host has inserted breakpoint instructions into the simulated instruction space). I assume that this is a bug in the aarch64 simulator code, but what exactly is wrong ? Hmm, I see that some other target simulators implement a sim_resume() function of their own. Perhaps this is the problem - the aarch64 sim should do the same ? Cheers Nick