From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27998 invoked by alias); 11 Jul 2013 15:14:20 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 27988 invoked by uid 89); 11 Jul 2013 15:14:19 -0000 X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=ham version=3.3.1 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 11 Jul 2013 15:14:19 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1UxIZV-0005RB-91 from Luis_Gustavo@mentor.com ; Thu, 11 Jul 2013 08:14:17 -0700 Received: from NA1-MAIL.mgc.mentorg.com ([147.34.98.181]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 11 Jul 2013 08:14:17 -0700 Received: from [172.30.15.100] ([172.30.15.100]) by NA1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 11 Jul 2013 08:14:16 -0700 Message-ID: <51DECBC4.8040504@codesourcery.com> Date: Thu, 11 Jul 2013 15:14:00 -0000 From: Luis Machado Reply-To: lgustavo@codesourcery.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Udma Catalin-Dan-B32721 CC: "gdb@sourceware.org" Subject: Re: gdb : use of PTRACE_SINGLEBLOCK References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-07/txt/msg00041.txt.bz2 On 07/11/2013 12:05 PM, Udma Catalin-Dan-B32721 wrote: > Hi, > > Do you know of any situation where gdb used PTRACE_SINGLEBLOCK? > I found no reference on the current GDB, but there were any branches or older versions using it ? > I'm asking because I saw some references to gdb using PTRACE_SINGLEBLOCK in some linux-devel mailing lists. Is this a request that has been implemented recently to single-step basic blocks (branch-to-branch)? I seem to recall ppc kernel had something like this. Luis