Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* MI breakpoint events not emitted when breakpoint is modified using CLI
@ 2017-07-11  7:04 Jan Vrany
  2017-07-11  8:09 ` Jan Vrany
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Vrany @ 2017-07-11  7:04 UTC (permalink / raw)
  To: gdb

Hi, 

I just noticed that -breakpoint-created / -breakpoint-modified / 
-breakpoint-deleted events are not emitted if I create them using CLI
interpreter. 

Following Pedro's suggestion [1], I start GDB with CLI interpreter
and then spawn a (secondary) MI interpreter using "new-ui mi <some
pty>" cli command. Then if I create a breakpoint using "break
some_func" using CLI interpreter (running on "primary" TTY), I get
no events on MI tty. If enter CLI command on MI TTY, I do get them. 

Is it a bug or a feature? If feature, what's the rationale behind? 

Thanks! 

Jan


[1]: https://sourceware.org/ml/gdb/2017-01/msg00039.html


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

* Re: MI breakpoint events not emitted when breakpoint is modified using CLI
  2017-07-11  7:04 MI breakpoint events not emitted when breakpoint is modified using CLI Jan Vrany
@ 2017-07-11  8:09 ` Jan Vrany
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Vrany @ 2017-07-11  8:09 UTC (permalink / raw)
  To: gdb

Hi again, 

I'm sorry, I just tried in a slightly different setup
and I do see breakpoint events. So the problem is elsewhere
likely in my MI handling code. 

I'm very sorry for the noise. 

Jan


On Tue, 2017-07-11 at 09:04 +0200, Jan Vrany wrote:
> Hi, 
> 
> I just noticed that -breakpoint-created / -breakpoint-modified / 
> -breakpoint-deleted events are not emitted if I create them using CLI
> interpreter. 
> 
> Following Pedro's suggestion [1], I start GDB with CLI interpreter
> and then spawn a (secondary) MI interpreter using "new-ui mi <some
> pty>" cli command. Then if I create a breakpoint using "break
> some_func" using CLI interpreter (running on "primary" TTY), I get
> no events on MI tty. If enter CLI command on MI TTY, I do get them. 
> 
> Is it a bug or a feature? If feature, what's the rationale behind? 
> 
> Thanks! 
> 
> Jan
> 
> 
> [1]: https://sourceware.org/ml/gdb/2017-01/msg00039.html


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

end of thread, other threads:[~2017-07-11  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-11  7:04 MI breakpoint events not emitted when breakpoint is modified using CLI Jan Vrany
2017-07-11  8:09 ` Jan Vrany

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