This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Faster stepping amidst breakpoints
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Maxim Grigoriev <maxim at tensilica dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Marc Gauthier <marc at tensilica dot com>
- Date: Sat, 22 Jan 2011 19:14:38 -0500
- Subject: Re: Faster stepping amidst breakpoints
- References: <4D3A114D.7010301@tensilica.com>
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