From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64894 invoked by alias); 12 Aug 2016 10:40: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 64656 invoked by uid 89); 12 Aug 2016 10:39:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=deficiency 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; Fri, 12 Aug 2016 10:39:58 +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 96A053F722 for ; Fri, 12 Aug 2016 10:39:56 +0000 (UTC) Received: from [10.36.7.184] (vpn1-7-184.ams2.redhat.com [10.36.7.184]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7CAdtZM012851 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 12 Aug 2016 06:39:56 -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> <20160811162015.GW30544@vapier.lan> From: Nick Clifton Message-ID: <04eb3f97-8c98-a8a3-14c4-5a489cb7c0f1@redhat.com> Date: Fri, 12 Aug 2016 10:40: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: <20160811162015.GW30544@vapier.lan> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-08/txt/msg00144.txt.bz2 Hi Mike, > no, you don't want to implement sim_resume. any sim that does you should > ignore. i think the prob is that the aarch64 sim_engine_run is missing a > call to sim_events_process. look at ft32/interp.c for a bare bones example. Ah - thanks - that was the pointer I needed. (I kept on looking at the wrong targets for examples of what to do). I have now checked in a patch to revert my previous delta - no more exporting aarch64_step() - and to make aarch64_run process events correctly. > honestly, i'm a little surprised things are working w/out this event process > callback ... It probably wasn't in GDB. I do not use GDB with AArch64 at the moment, so I had never come across the deficiency. With this patch in it might even work now... Cheers Nick