Re: Faster stepping amidst breakpoints

Maxim Grigoriev
2011-01-24T21:06:13Z

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.
>
>