public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@gnu.org>
To: jmolenda@apple.com
Cc: alain@qnx.com, gdb@sources.redhat.com
Subject: Re: MI level command
Date: Sun, 11 Jul 2004 22:49:00 -0000	[thread overview]
Message-ID: <16625.48298.119562.285317@nick.uklinux.net> (raw)


> > So would a patch implementing

> >  -gdb-mi-level
> >  ^done,level=1


> > be a good thing ?

> It would probably help some, but I don't see it as solving the problem. The MI
> version # changes very rarely, and individual MI commands can change quite a
> bit within a single MI version. On the good side, the changes to MI commands'
> output are mostly additional information that can be ignored if not recognized
> (and, hopefully, worked around if absent).

I agree. I don't have the resources to track different MI versions and hope
to make the transition from annotations to a stable MI.

> So anyway, Nick makes a similar change, but with the order of arguments being
> "SHOW-VALUE VAROBJ-HANDLE". Ouch. He also added the --no-values and
> --all-values command line arguments at the same time.

I think I *did* have the arguments the other way round initially and Andrew
Cagney advised me to reverse them. I may be wrong about that. In any case I
don't really care which order they are in but clearly there should be
consistency. Currently it seems to be a bit of a free for all but if Apple can
provide a more rigorous standard then I will be happy to try to follow it.

> I much prefer the -data-disassemble command where each piece of information is
> passed with a separate command argument flag (except for its "mixed mode"
> boolean integer as the optional last argument on the line, sigh).

This is one command I find awkward as it doesn't do what the CLI command
"disassemble" does. I guess it shows that we all want different things out
of the same interface.

Nick

             reply	other threads:[~2004-07-11 22:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-11 22:49 Nick Roberts [this message]
2004-07-12 21:14 ` Jason Molenda
     [not found] <20040709012815.GA4464@white>
2004-07-12 17:38 ` Alain Magloire
  -- strict thread matches above, loose matches on Subject: below --
2004-07-08 23:33 Alain Magloire
2004-07-09 20:49 ` Jason Molenda
2004-07-10 17:18   ` Arnaud Charlet
2004-07-10 22:51     ` Bob Rossi
2004-07-12 17:51   ` Alain Magloire
2004-08-24 22:04 ` Andrew Cagney
2004-08-24 23:54   ` Bob Rossi
2004-08-25 13:23   ` Alain Magloire

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=16625.48298.119562.285317@nick.uklinux.net \
    --to=nickrob@gnu.org \
    --cc=alain@qnx.com \
    --cc=gdb@sources.redhat.com \
    --cc=jmolenda@apple.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).