This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Faster stepping amidst breakpoints


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]