From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18274 invoked by alias); 4 Jul 2012 19:45:21 -0000 Received: (qmail 18251 invoked by uid 22791); 4 Jul 2012 19:45:20 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Jul 2012 19:45:03 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id q64JiwnL008074; Wed, 4 Jul 2012 21:44:58 +0200 (CEST) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id q64JithQ004011; Wed, 4 Jul 2012 21:44:55 +0200 (CEST) Date: Wed, 04 Jul 2012 19:45:00 -0000 Message-Id: <201207041944.q64JithQ004011@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: palves@redhat.com CC: gdb-patches@sourceware.org In-reply-to: <4FF46296.9000706@redhat.com> (message from Pedro Alves on Wed, 04 Jul 2012 16:34:46 +0100) 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> <4FF46296.9000706@redhat.com> 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/msg00060.txt.bz2 > Date: Wed, 04 Jul 2012 16:34:46 +0100 > From: Pedro Alves > > 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). I must admit I'd be reluctant to maintain i386/amd64 software single step in GDB.