From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8613 invoked by alias); 24 Mar 2013 14:10:41 -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 8579 invoked by uid 89); 24 Mar 2013 14:10:34 -0000 X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 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; Sun, 24 Mar 2013 14:10:32 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1UJlcz-0004yj-R5 from Yao_Qi@mentor.com ; Sun, 24 Mar 2013 07:10:29 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 24 Mar 2013 07:10:29 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Sun, 24 Mar 2013 07:10:28 -0700 Message-ID: <514F0902.4050404@codesourcery.com> Date: Mon, 25 Mar 2013 02:39: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: Hui Zhu CC: gdb-patches ml , Stan Shebs , Joel Brobecker Subject: Re: [PATCH] Reset tracepoint step_count to 0 before set it action References: <514EE46A.4070808@mentor.com> In-Reply-To: <514EE46A.4070808@mentor.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2013-03/txt/msg00900.txt.bz2 On 03/24/2013 07:32 PM, Hui Zhu wrote: > 2013-03-24 Hui Zhu > > * breakpoint.c (do_map_commands_command): Reset step_count to 0 > if this is a tracepoint. > * tracepoint.c (trace_actions_command): Ditto. Looks both do_map_commands_command and trace_actions_command call check_tracepoint_command, so why don't set step_count in check_tracepoint_command? -- Yao (齐尧)