From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22570 invoked by alias); 28 Jun 2012 17:51:37 -0000 Received: (qmail 22562 invoked by uid 22791); 28 Jun 2012 17:51:35 -0000 X-SWARE-Spam-Status: No, hits=-7.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,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; Thu, 28 Jun 2012 17:51:22 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5SHpMf2016741 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 28 Jun 2012 13:51:22 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q5SHpK2Q007005; Thu, 28 Jun 2012 13:51:21 -0400 Message-ID: <4FEC9998.2040001@redhat.com> Date: Thu, 28 Jun 2012 17:51:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Pedro Alves CC: Jan Kratochvil , gdb-patches@sourceware.org Subject: 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> In-Reply-To: <4FE48B30.8070109@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-06/txt/msg00858.txt.bz2 On 06/22/2012 04:11 PM, Pedro Alves wrote: > On 06/22/2012 04:04 PM, Jan Kratochvil wrote: > >> On Fri, 22 Jun 2012 16:55:25 +0200, Pedro Alves wrote: >>> No regressions on x86_64 Fedora 16, native and gdbserver. New tests >>> pass. Fixes my unsubmitted test as well. >> >> Please test it on ARM. This is what you asked me for, the testcase(s) fail >> there and I did not yet done this part. > > > The test would fail on ARM because of the whole software single-step issue, > which this version doesn't have. > > Anyone with easy access to GNU/Linux ARM that could test this? Otherwise > I'll try to find a machine. > 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 -- Pedro Alves