From: Daniel Jacobowitz <drow@false.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb@sources.redhat.com
Subject: Re: Queries in MI [was Re: MI usage inside a user-defined commands]
Date: Wed, 06 Jul 2005 23:06:00 -0000 [thread overview]
Message-ID: <20050706230611.GA12430@nevyn.them.org> (raw)
In-Reply-To: <17100.24710.842746.668947@farnswood.snap.net.nz>
On Thu, Jul 07, 2005 at 10:51:50AM +1200, Nick Roberts wrote:
> > > The user should be asked:
> > >
> > > Make breakpoint pending on future shared library load? (y or [n])
> >
> > Yes, that does seem like a bug - but how would you perform the query?
>
> On older versions of GDB (example slightly changed because -interpreter-exec
> and pending breakpoints didn't exist):
>
> (gdb)
> quit
> &"quit\n"
> ~"The program is running. Exit anyway? (y or n) "
> n
> &"Not confirmed.\n"
> ^error,msg="Not confirmed."
> (gdb)
>
> which worked as for CLI. However, presumably this operation is synchronous.
> If MI becomes properly asynchronous then I'm not sure how to do it. Perhaps
> the the frontend could prepend a token on the input, just as MI already uses
> tokens for output.
I don't know that the MI will ever become _that_ asynchronous - GDB is
single threaded, after all.
But, the above isn't particularly warmth-inducing either. Or
documented, AFAICT.
--
Daniel Jacobowitz
CodeSourcery, LLC
next prev parent reply other threads:[~2005-07-06 23:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-06 12:31 MI usage inside a user-defined commands Karganov Konstantin
2005-07-06 13:14 ` Daniel Jacobowitz
2005-07-06 13:46 ` Karganov Konstantin
2005-07-06 13:50 ` Daniel Jacobowitz
2005-07-06 13:57 ` Karganov Konstantin
2005-07-07 12:21 ` Karganov Konstantin
2005-07-07 13:03 ` Daniel Jacobowitz
2005-07-07 14:16 ` Karganov Konstantin
2005-07-07 21:47 ` Nick Roberts
2005-07-06 21:26 ` Nick Roberts
2005-07-06 21:28 ` Daniel Jacobowitz
2005-07-06 22:50 ` Queries in MI [was Re: MI usage inside a user-defined commands] Nick Roberts
2005-07-06 23:06 ` Daniel Jacobowitz [this message]
2005-07-06 23:46 ` Bob Rossi
2005-07-07 0:33 ` Queries in MI Nick Roberts
2005-07-07 1:34 ` Bob Rossi
2005-07-07 3:32 ` Nick Roberts
2005-07-06 21:41 ` MI usage inside a user-defined commands Bob Rossi
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=20050706230611.GA12430@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=nickrob@snap.net.nz \
/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