From: Vladimir Prus <vladimir@codesourcery.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [MI] -stack-list-variables
Date: Mon, 21 Sep 2009 16:54:00 -0000 [thread overview]
Message-ID: <200909212054.20826.vladimir@codesourcery.com> (raw)
In-Reply-To: <20090921162732.GZ8910@adacore.com>
On Monday 21 September 2009 Joel Brobecker wrote:
> > > But what would happen the day a front-end starts caring? Are they
> > > going to have to send 2 MI commands to get the info?
> >
> > No. The frontend author would write an email to gdb@sources.redhat.com,
> > explaining the reasons, and a new field will be added as result. That's
> > how I'd prefer MI to evolve, as opposed to adding information ahead of
> > the time.
>
> This is just my 2 cents, of course, but Nick's suggestion to separate
> locals from arguments seems fairly reasonable. Why not add the field
> now, and make that feature available now, rather than later?
Because we can always add a desired feature, but can never remove an unneeded
one, in fear that some frontend we have no idea about ended up using that
feature.
> I can
> certainly see why a front-end would want that separation. Seems like
> Nick, who AFAIK helps maintaining emacs/gud, would use it.
I am afraid I did not hear an explanation how that will be used. And as
recent MI pretty-printing saga clearly shown, new MI features really have
to be developed in lock-step with frontend changes.
(If you did not follow, the story was that I've drafted some MI interface
for pretty-printing, and them as soon as I've tried to use it from KDevelop,
the interface turned out to be totally lacking).
- Volodya
next prev parent reply other threads:[~2009-09-21 16:54 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-19 10:12 Vladimir Prus
2009-09-19 10:13 ` Vladimir Prus
2009-09-19 10:38 ` Eli Zaretskii
2009-09-19 11:15 ` Vladimir Prus
2009-09-19 15:45 ` Joel Brobecker
2009-09-19 15:46 ` Joel Brobecker
2009-09-19 22:41 ` -stack-list-variables Nick Roberts
2009-09-20 6:18 ` [MI] -stack-list-variables Vladimir Prus
2009-09-20 22:05 ` Nick Roberts
2009-09-21 5:14 ` Vladimir Prus
2009-09-21 7:13 ` Nick Roberts
2009-09-21 7:39 ` Vladimir Prus
2009-09-21 15:29 ` Joel Brobecker
2009-09-21 16:02 ` Vladimir Prus
2009-09-21 16:27 ` Joel Brobecker
2009-09-21 16:54 ` Vladimir Prus [this message]
2009-09-21 17:04 ` Tom Tromey
2009-09-21 17:17 ` Vladimir Prus
2009-09-21 17:24 ` Tom Tromey
2009-09-21 17:03 ` Marc Khouzam
2009-09-21 22:10 ` Nick Roberts
2009-09-22 5:31 ` Vladimir Prus
2009-09-22 14:50 ` Daniel Jacobowitz
2009-09-29 6:35 ` Vladimir Prus
2009-09-29 23:27 ` Nick Roberts
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=200909212054.20826.vladimir@codesourcery.com \
--to=vladimir@codesourcery.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sources.redhat.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