From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29822 invoked by alias); 24 Jan 2011 21:06:13 -0000 Received: (qmail 29813 invoked by uid 22791); 24 Jan 2011 21:06:12 -0000 X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_05,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mailgw.tensilica.com (HELO mailgw.tensilica.com) (65.119.96.134) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Jan 2011 21:06:08 +0000 Received: from localhost (unknown [127.0.0.1]) by mailgw.tensilica.com (Postfix) with ESMTP id E651011604F9 for ; Mon, 24 Jan 2011 21:06:06 +0000 (UTC) Received: from mailgw.tensilica.com ([127.0.0.1]) by localhost (mailgw.tensilica.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 04268-04 for ; Mon, 24 Jan 2011 13:06:06 -0800 (PST) Received: from mail.tensilica.com (mail.tensilica.com [192.168.15.138]) by mailgw.tensilica.com (Postfix) with ESMTP id BFE3B11604EE for ; Mon, 24 Jan 2011 13:06:06 -0800 (PST) Received: from [192.168.11.68] (192.168.11.68) by mail.tensilica.com (192.168.15.138) with Microsoft SMTP Server id 8.2.254.0; Mon, 24 Jan 2011 13:06:06 -0800 Message-ID: <4D3DE9BE.5040003@tensilica.com> Date: Mon, 24 Jan 2011 21:08:00 -0000 From: Maxim Grigoriev User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.10 MIME-Version: 1.0 To: "gdb-patches@sourceware.org" , Marc Gauthier Subject: Re: Faster stepping amidst breakpoints References: <4D3A114D.7010301@tensilica.com> <20110123001433.GA6352@caradoc.them.org> In-Reply-To: <20110123001433.GA6352@caradoc.them.org> 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: 2011-01/txt/msg00471.txt.bz2 Thanks much for your fast reply, Daniel. I will experiment with "set breakpoint always-inserted" and see, if this is exactly what we need. -- Maxim On 01/22/2011 04:14 PM, Daniel Jacobowitz wrote: > On Fri, Jan 21, 2011 at 03:05:49PM -0800, Maxim Grigoriev wrote: > >> Hello GDB community, >> >> Has anyone tried to optimize the GDB protocol by letting >> the remote agent plant and unplant breakpoints when the >> target resumes and stops, rather than having GDB do it >> over the wire with round-trip latency on every single >> breakpoint plant& unplant request? >> >> Certain GDB operations involve a lot of single-stepping, >> which can be really slow on certain targets (especially >> embedded targets) because of that latency. >> > Consider "set breakpoint always-inserted". > > I've been wondering lately if we should flip the default. > >