From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21422 invoked by alias); 12 Mar 2013 10:05:03 -0000 Received: (qmail 21411 invoked by uid 22791); 12 Mar 2013 10:05:02 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,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, 12 Mar 2013 10:04:46 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1UFM4c-0004pl-7N from Hui_Zhu@mentor.com ; Tue, 12 Mar 2013 03:04:46 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 12 Mar 2013 03:04:46 -0700 Received: from [127.0.0.1] (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; Tue, 12 Mar 2013 03:04:44 -0700 Message-ID: <513EFDB8.8010001@mentor.com> Date: Tue, 12 Mar 2013 10:05:00 -0000 From: Hui Zhu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20130126 Thunderbird/19.0 MIME-Version: 1.0 To: CC: , Pedro Alves Subject: Re: [PATCH] Support targets that know how to continue over breakpoints[3/4] -- gdbserver References: <51322425.6090007@mentor.com> <513224AF.6030603@mentor.com> <51322515.60309@mentor.com> In-Reply-To: <51322515.60309@mentor.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: 2013-03/txt/msg00506.txt.bz2 Ping http://sourceware.org/ml/gdb-patches/2013-03/msg00056.html Thanks, Hui On 03/03/13 00:13, Hui Zhu wrote: > Hello, > > This patch add a new option "--cob" to gdbserver. When gdbserver called with this option, it will open support of continue over breakpoints. > Then we can use testsuite test the function of continue over breakpoints. > > To support this function, I add new function step_over_breakpoints to let the thread that is stop by breakpoints before continue all theads. It is not very fast. But I think for test is OK. Please give me more comments about it. > > Thanks, > Hui > > 2013-03-03 Hui Zhu > > * server.c (use_cob): New. > (handle_query): Check use_cob. > (step_over_breakpoints): New. > (handle_v_cont): Check use_cob. If need, handle continue over > breakpoints. > (gdbserver_usage): Add "--cob". > (main): Ditto.