Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jan Vrany <jan.vrany@fit.cvut.cz>
To: gdb@sourceware.org
Subject: Re: MI breakpoint events not emitted when breakpoint is modified using CLI
Date: Tue, 11 Jul 2017 08:09:00 -0000	[thread overview]
Message-ID: <1499760351.3437.5.camel@fit.cvut.cz> (raw)
In-Reply-To: <1499756660.3437.3.camel@fit.cvut.cz>

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


      reply	other threads:[~2017-07-11  8:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-11  7:04 Jan Vrany
2017-07-11  8:09 ` Jan Vrany [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1499760351.3437.5.camel@fit.cvut.cz \
    --to=jan.vrany@fit.cvut.cz \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox