Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* MI *stopped versus silent breakpoint
@ 2009-01-21 15:41 Marc Khouzam
  2009-02-03  5:36 ` teawater
  0 siblings, 1 reply; 15+ messages in thread
From: Marc Khouzam @ 2009-01-21 15:41 UTC (permalink / raw)
  To: gdb

Hi,

I just found out that a breakpoint can be made silent, in which case
there
is no breakpoint output when it is hit.  When doing a reverse-finish 
operation, a silent breakpoint is used, and when hit the inferior is
resumed
automatically, and then a single-step is done.

In CLI, it makes it look like the inferior stopped only once, instead of
twice.

In MI though, with the *stopped events, we do get an empty
*stopped for the silent breakpoint.  So I see two *stopped events
consecutively.

I wondered if a silent breakpoint should in fact generate a *stopped
event
or not?  For a frontend, it can be confusing to see two stopped events.
FYI, what I did for DSF-GDB and reverse debugging, is to ignore empty
*stopped.
I stilled wondered about GDB though.

Marc


 

 


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

end of thread, other threads:[~2009-02-06 10:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-21 15:41 MI *stopped versus silent breakpoint Marc Khouzam
2009-02-03  5:36 ` teawater
2009-02-03 11:49   ` Marc Khouzam
2009-02-05  8:10     ` teawater
2009-02-05  9:25       ` Vladimir Prus
2009-02-05  9:30         ` teawater
2009-02-05  9:35           ` Vladimir Prus
2009-02-05 15:43             ` teawater
2009-02-05 22:30             ` Marc Khouzam
2009-02-05 22:42               ` Daniel Jacobowitz
2009-02-05 23:25                 ` Marc Khouzam
2009-02-06  2:30                   ` Daniel Jacobowitz
2009-02-06  3:30                   ` teawater
2009-02-06  7:48                     ` Marc Khouzam
2009-02-06 10:42                       ` Vladimir Prus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox