Re: Faster stepping amidst breakpoints

Daniel Jacobowitz
2011-01-23T00:14:59Z

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