From: Daniel Jacobowitz <drow@false.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Marc Khouzam <marc.khouzam@ericsson.com>,
Paul Koning <Paul_Koning@dell.com>,
gdb@sourceware.org
Subject: Re: RecordReplay: Default answer for changing memory
Date: Wed, 01 Apr 2009 17:01:00 -0000 [thread overview]
Message-ID: <20090401170141.GA9657@caradoc.them.org> (raw)
In-Reply-To: <20090401024323.GA8930@adacore.com>
On Tue, Mar 31, 2009 at 07:43:23PM -0700, Joel Brobecker wrote:
> > In defaulted_query() GDB bases itself on input_from_terminal_p() and
> > figures out that there is no terminal and answers the prompt
> > automatically. I'm not exactly sure how to prevent that from
> > happening...
>
> The IDE should probably create a pseudo-terminal. That's what GPS
> does, as well as what we do when we test GDB (using expect).
I don't think it's a good idea to treat the MI interface as a
terminal, in any circumstance. The MI protocol does not allow for
unformatted queries at any random point, which is where you'll get
them if you don't disable all queries. If there's a query that is
useful to the front end it should become explicit.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2009-04-01 17:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 17:45 Marc Khouzam
2009-03-31 17:51 ` Paul Koning
2009-03-31 18:58 ` Marc Khouzam
2009-04-01 2:43 ` Joel Brobecker
2009-04-01 3:33 ` Hui Zhu
2009-04-01 17:01 ` Daniel Jacobowitz [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=20090401170141.GA9657@caradoc.them.org \
--to=drow@false.org \
--cc=Paul_Koning@dell.com \
--cc=brobecker@adacore.com \
--cc=gdb@sourceware.org \
--cc=marc.khouzam@ericsson.com \
/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