From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9450 invoked by alias); 30 Nov 2013 02:35:24 -0000 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 Received: (qmail 9436 invoked by uid 89); 30 Nov 2013 02:35:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=AWL,BAYES_00,GARBLED_BODY,RDNS_NONE autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from Unknown (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 30 Nov 2013 02:35:22 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1VmaOg-0006LT-Nq from Yao_Qi@mentor.com ; Fri, 29 Nov 2013 18:35:06 -0800 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 29 Nov 2013 18:35:06 -0800 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Fri, 29 Nov 2013 18:35:05 -0800 Message-ID: <52994E79.4000004@codesourcery.com> Date: Sat, 30 Nov 2013 03:40:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Mark Kettenis CC: Subject: Re: [PATCH 2/3] skip_prolgoue (amd64) References: <1385735051-27558-1-git-send-email-yao@codesourcery.com> <1385735051-27558-3-git-send-email-yao@codesourcery.com> <201311291436.rATEaZ5Z030292@glazunov.sibelius.xs4all.nl> <201311291605.rATG5XVb030184@glazunov.sibelius.xs4all.nl> In-Reply-To: <201311291605.rATG5XVb030184@glazunov.sibelius.xs4all.nl> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00951.txt.bz2 On 11/30/2013 12:05 AM, Mark Kettenis wrote: > But only if the cache is properly invalidated when control when > running/stepping. Is it? Yes, cache is invalidated when the inferior is to be resumed. See target.c:target_resume. void target_resume (ptid_t ptid, int step, enum gdb_signal signal) { struct target_ops *t; target_dcache_invalidate (); .... -- Yao (齐尧)