From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7474 invoked by alias); 7 May 2013 02:35:42 -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 7453 invoked by uid 89); 7 May 2013 02:35:38 -0000 X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 Received: from mail-ob0-f171.google.com (HELO mail-ob0-f171.google.com) (209.85.214.171) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 07 May 2013 02:35:37 +0000 Received: by mail-ob0-f171.google.com with SMTP id v19so63412obq.16 for ; Mon, 06 May 2013 19:35:35 -0700 (PDT) X-Received: by 10.60.84.33 with SMTP id v1mr26991oey.36.1367894135740; Mon, 06 May 2013 19:35:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.13.133 with HTTP; Mon, 6 May 2013 19:34:55 -0700 (PDT) In-Reply-To: References: <51322425.6090007@mentor.com> From: Hui Zhu Date: Tue, 07 May 2013 02:35:00 -0000 Message-ID: Subject: Re: [PATCH] Support targets that know how to continue over breakpoints[1/4] -- GDB To: Hui Zhu Cc: gdb-patches@sourceware.org, lgustavo@codesourcery.com, Pedro Alves Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-05/txt/msg00162.txt.bz2 Ping http://sourceware.org/ml/gdb-patches/2013-03/msg00054.html Thanks, Hui On Sun, Mar 24, 2013 at 1:35 PM, Hui Zhu wrote: > Ping http://sourceware.org/ml/gdb-patches/2013-03/msg00054.html > > Thanks, > Hui > > On Sun, Mar 3, 2013 at 12:09 AM, Hui Zhu wrote: >> Hello, >> >> According to the mail thread in >> http://sourceware-org.1504.n7.nabble.com/PATCH-Support-targets-that-know-how-to-step-over-breakpoints-td61666.html >> I update patches to change step to continue. When thread hop needed, GDB >> can use continue over breakpoints let the inferior keep going. >> >> The interface that add to target is: >> to_can_continue_over_breakpoints, it will return true if target can continue >> over breakpoints. >> to_next_continue_over_breakpoints, call this function before call to_resume >> will make to_resume do continue_over_breakpoints instead of continue. >> >> This patch is the GDB part that support continue over breakpoints. And >> there also have patches for doc, server and test. I will introduce them >> clear inside the mails of that paches. >> >> Please help me review it. >> >> Thanks, >> Hui >> >> 2013-03-03 Luis Machado >> Pedro Alves >> Hui Zhu >> >> * infrun.c (handle_inferior_event): Check if target can continue >> over breakpoints. >> >> * remote.c (struct remote_state): New member >> can_continue_over_breakpoints. >> (remote_continue_over_breakpoints_feature): New. >> (remote_protocol_features): Add ContinueOverBreakpoints feature. >> (remote_open_1): Clear can_continue_over_breakpoints. >> (remote_is_cob): New. >> (append_resumption, remote_resume): Check remote_is_cob. >> (remote_can_continue_over_breakpoints, >> remote_next_continue_over_breakpoints): New. >> (init_remote_ops): Set remote_ops.to_can_continue_over_breakpoints >> to remote_can_continue_over_breakpoints. >> Set to_next_continue_over_breakpoints to >> remote_next_continue_over_breakpoints. >> >> * target.c (update_current_target): Inherit >> to_can_continue_over_breakpoints, and default it to return 0. >> Inherit to_next_continue_over_breakpoints. >> >> * target.h (struct target_ops): Add new >> to_can_step_over_breakpoints member. >> (target_can_step_over_breakpoints): New. >>