From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32214 invoked by alias); 30 Oct 2012 10:58:11 -0000 Received: (qmail 32203 invoked by uid 22791); 30 Oct 2012 10:58:10 -0000 X-SWARE-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,MISSING_HEADERS,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Oct 2012 10:58:05 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1TT9WG-0005UN-A3 from Luis_Gustavo@mentor.com for gdb-patches@sourceware.org; Tue, 30 Oct 2012 03:58:04 -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); Tue, 30 Oct 2012 03:58:03 -0700 Received: from [0.0.0.0] ([172.16.63.104]) by NA1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 30 Oct 2012 03:58:03 -0700 Message-ID: <508FB2B6.6040006@codesourcery.com> Date: Tue, 30 Oct 2012 10:58:00 -0000 From: Luis Machado Reply-To: lgustavo@codesourcery.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20 MIME-Version: 1.0 CC: gdb-patches@sourceware.org Subject: Re: [PATCH] Support targets that know how to step over breakpoints References: <506D859E.9050600@codesourcery.com> <507E99BB.8050105@codesourcery.com> In-Reply-To: <507E99BB.8050105@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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-10/txt/msg00538.txt.bz2 On 10/17/2012 08:42 AM, Luis Machado wrote: > Ping? > > On 10/04/2012 09:48 AM, Luis Machado wrote: >> Hi, >> >> Most of the targets we deal with need to be told to lift off breakpoints >> from the inferior prior to single-stepping. A few targets are able to >> just step over those breakpoints without being told so. >> >> In the latter case, GDB assumes the target knows how to manage >> breakpoints on its own. >> >> gdbserver does not know how to do this unless we force this mechanism >> into it, but, honestly, i don't see the point. Usually targets that know >> how to step over breakpoints do so via a more low level interface like >> the kernel. Let me know if you think otherwise. > > Ping? http://sourceware.org/ml/gdb-patches/2012-10/msg00067.html