From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19887 invoked by alias); 4 Jul 2012 15:35:12 -0000 Received: (qmail 19625 invoked by uid 22791); 4 Jul 2012 15:35:11 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,MISSING_HEADERS,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Jul 2012 15:34:48 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q64FYmV3006740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 4 Jul 2012 11:34:48 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q64FYkwx021333 for ; Wed, 4 Jul 2012 11:34:47 -0400 Message-ID: <4FF46296.9000706@redhat.com> Date: Wed, 04 Jul 2012 15:35:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 CC: gdb-patches@sourceware.org Subject: Re: x86 incomplete/WIP software single-step implementation (Re: [PATCH] Do not respawn signals, take 2.) References: <20120622145525.27114.25720.stgit@brno.lan> <20120622150456.GA5018@host2.jankratochvil.net> <4FE48B30.8070109@redhat.com> <4FEC9998.2040001@redhat.com> In-Reply-To: <4FEC9998.2040001@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2012-07/txt/msg00059.txt.bz2 On 06/28/2012 06:51 PM, Pedro Alves wrote: > While I was waiting to get access to some Red Hat ARM machines, > I started cooking up a software single-step implementation > for x86, for easier-testing purposes. I though perhaps who knows > it might also prove useful in the future for something else, e.g., > block-step fallback support. > > I got ARM access before I finished it, so it's largely incomplete (see > commit log), though it passes many tests. It's here in case it interests > someone: > > https://github.com/palves/gdb/tree/x86_software_single_step FYI, this is mostly complete and useable now. A few displaced-stepping regressions remain, and reverse debugging breaks (but ISTR that was a generic software single-step issue? If so, this should help debug it). I've also tested this with a hack that forces single-step for everything (including "continue") (there's a branch for that, see my github's wiki). This should make developing/testing all-stop-on-top-of-non-stop on software single-step archs a bit easier (for me). -- Pedro Alves