This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
MI breakpoint events not emitted when breakpoint is modified using CLI
- From: Jan Vrany <jan dot vrany at fit dot cvut dot cz>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Tue, 11 Jul 2017 09:04:20 +0200
- Subject: MI breakpoint events not emitted when breakpoint is modified using CLI
- Authentication-results: sourceware.org; auth=none
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