From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3980 invoked by alias); 6 Sep 2011 14:42:26 -0000 Received: (qmail 3972 invoked by uid 22791); 6 Sep 2011 14:42:25 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Sep 2011 14:42:06 +0000 Received: (qmail 5402 invoked from network); 6 Sep 2011 14:42:05 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 6 Sep 2011 14:42:05 -0000 Message-ID: <4E663136.60605@codesourcery.com> Date: Tue, 06 Sep 2011 14:50:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 MIME-Version: 1.0 To: Pedro Alves CC: gdb-patches@sourceware.org Subject: Re: [patch] Use displaced stepping regardless of SW single step References: <4E63830D.9060604@codesourcery.com> <201109061443.49878.pedro@codesourcery.com> In-Reply-To: <201109061443.49878.pedro@codesourcery.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: 2011-09/txt/msg00088.txt.bz2 On 09/06/2011 09:43 PM, Pedro Alves wrote: > But it is. Displaced stepping is only necessary to step over breakpoints > (trap_expected) without removing them. If there's no breakpoint at the > current instruction, we can just do a normal step. Yeah, that is true. Looks my head has been oriented to software single step for a long time. Please ignore my patch. -- Yao (齐尧)