From: Tom Tromey <tromey@redhat.com>
To: nickrob@snap.net.nz (Nick Roberts)
Cc: Vladimir Prus <vladimir@codesourcery.com>,
gdb-patches@sources.redhat.com
Subject: Re: [mi] -stack-list-arguments --simple-values
Date: Fri, 24 Jul 2009 22:07:00 -0000 [thread overview]
Message-ID: <m3ws5xokop.fsf@fleche.redhat.com> (raw)
In-Reply-To: <19021.49761.460467.374394@totara.tehura.co.nz> (Nick Roberts's message of "Fri\, 3 Jul 2009 20\:33\:37 +1200")
>>>>> "Nick" == Nick Roberts <nickrob@snap.net.nz> writes:
Replying to an old-ish note.
Nick> People often lament the poor syntax of MI but it really needs a
Nick> plan to replace it with something better. However, such a plan
Nick> would really need a maintainer to lead it and doesn't really work
Nick> on a Write After Approval basis.
I think we can differentiate here between a plan and the patches
implementing the plan.
In my view we could discuss the plan on the gdb list and reach some kind
of agreement. This can be initiated by anybody. If you want to start
it, I will try to help ensure that the discussion reaches some
conclusion.
I think if there is general agreement about the direction then patch
review need not be a big problem. I suppose my view is based on the
idea that the plan is probably where most of the contention lies, and
usually the implementation bits are straightforward.
Volodya> FWIW, both the above issue is universally believed to be not
Volodya> good, so patches to introduce MI3 version and switch select
Volodya> commands to "right" syntax appear to be fairly simple.
Nick> I quite like the idea of incrementally changing the output with
Nick> new commands because as soon as MI3 is released, you can be sure
Nick> people will find shortcomings with that. You could say it is a
Nick> more agile approach.
What do you suggest?
I ask because this does seem to come up over and over. Not only are
there MI formatting bugs, there are things like the recently discussed
"info shared" output problem -- a command that has no MI equivalent, no
use of ui_out, and which, presumably, existing MI consumers handle by
parsing the CLI output.
I have been thinking about this case for a few days and I really don't
have any good solution. I also think that MI versioning seems to work
at too coarse a granularity. For pretty-printing we're adding an
explicit "enable" command to work around this problem -- but it seems
odd to have an MI session start off with 100 -enable-foo commands. And,
this case doesn't account for the mess that it would leave behind if we,
e.g., applied it to the "info shared" case.
Tom
next prev parent reply other threads:[~2009-07-24 21:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-30 9:39 Vladimir Prus
2009-06-30 13:59 ` Daniel Jacobowitz
2009-07-01 13:13 ` Nick Roberts
2009-07-01 17:34 ` Vladimir Prus
2009-07-01 17:45 ` Niko Sams
2009-07-02 8:05 ` André Pönitz
2009-07-02 8:13 ` Niko Sams
2009-07-02 9:37 ` Nick Roberts
2009-07-02 10:30 ` Vladimir Prus
2009-07-03 8:33 ` Nick Roberts
2009-07-24 22:07 ` Tom Tromey [this message]
2009-07-25 7:21 ` Vladimir Prus
2009-07-26 11:42 ` 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=m3ws5xokop.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=nickrob@snap.net.nz \
--cc=vladimir@codesourcery.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