From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2686 invoked by alias); 23 Jan 2011 00:14:59 -0000 Received: (qmail 2675 invoked by uid 22791); 23 Jan 2011 00:14:58 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 23 Jan 2011 00:14:44 +0000 Received: (qmail 17841 invoked from network); 23 Jan 2011 00:14:42 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 23 Jan 2011 00:14:42 -0000 Date: Mon, 24 Jan 2011 08:04:00 -0000 From: Daniel Jacobowitz To: Maxim Grigoriev Cc: "gdb-patches@sourceware.org" , Marc Gauthier Subject: Re: Faster stepping amidst breakpoints Message-ID: <20110123001433.GA6352@caradoc.them.org> Mail-Followup-To: Maxim Grigoriev , "gdb-patches@sourceware.org" , Marc Gauthier References: <4D3A114D.7010301@tensilica.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D3A114D.7010301@tensilica.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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/msg00456.txt.bz2 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. -- Daniel Jacobowitz CodeSourcery