public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* Faster stepping amidst breakpoints
@ 2011-01-22 15:06 Maxim Grigoriev
  2011-01-24  8:04 ` Daniel Jacobowitz
  0 siblings, 1 reply; 18+ messages in thread
From: Maxim Grigoriev @ 2011-01-22 15:06 UTC (permalink / raw)
  To: gdb-patches, Marc Gauthier

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.

In principle, GDB can query the remote agent to decide
whether to apply this optimization.  And the remote agent
must be careful not to plant any breakpoint at the current
PC when single-stepping.  There are likely other
considerations, but at a glance, it seems doable.
So am curious whether there's any particular reason
it wasn't done (that we could see).

Thanks,
-- Maxim


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-02-14 10:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-22 15:06 Faster stepping amidst breakpoints Maxim Grigoriev
2011-01-24  8:04 ` Daniel Jacobowitz
2011-01-24 21:08   ` Maxim Grigoriev
2011-01-31  7:47   ` Joel Brobecker
2011-01-31 15:39     ` Daniel Jacobowitz
2011-02-01  3:23       ` Joel Brobecker
2011-02-01 18:44         ` Michael Snyder
2011-02-03  4:55           ` Joel Brobecker
2011-02-02 17:10         ` Daniel Jacobowitz
2011-02-03  4:46           ` Joel Brobecker
2011-02-13 15:17         ` Mark Kettenis
2011-02-14  3:27           ` Joel Brobecker
2011-02-14 10:50             ` Joel Brobecker
2011-02-01 15:12       ` Pedro Alves
2011-02-03 22:54     ` Maxim Grigoriev
2011-02-04 16:06       ` Tom Tromey
2011-02-04 19:32         ` Maxim Grigoriev
2011-02-04 16:33       ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).