Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Vladimir Prus <ghost@cs.msu.su>, gdb@sources.redhat.com
Subject: Re: MI error messages
Date: Fri, 10 Feb 2006 15:45:00 -0000	[thread overview]
Message-ID: <ufymr2p62.fsf@gnu.org> (raw)
In-Reply-To: <20060210152602.GA24109@nevyn.them.org> (message from Daniel 	Jacobowitz on Fri, 10 Feb 2006 10:26:02 -0500)

> Date: Fri, 10 Feb 2006 10:26:02 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Vladimir Prus <ghost@cs.msu.su>, gdb@sources.redhat.com
> 
> On Fri, Feb 10, 2006 at 05:22:31PM +0200, Eli Zaretskii wrote:
> > > I don't think the function name adds much value in user-level error
> > > messages.
> > 
> > MI is not a user-level protocol, it's a machine-level protocol.  What
> > is displayed to the user as a result is another matter.
> 
> These are just the result of calls to error ().  Admittedly, many of
> them are for mistakes that a GUI shouldn't be making - but some can
> easily come from user input, so when you get one, I don't think you've
> got much choice but to display it to the user.

We are miscommunicating: what I meant was that the front end can
display whatever it wants in response to such a message.  In
particular, it can remove the function name.  But that is a separate
matter; what is being discussed is what the front end should expect,
not what it should display to the users.

> > We should either have all or none of the MI messages state the
> > function.  A machine-oriented interface must be consistent, IMO.
> 
> Then they'll have to go

Fine with me.


  reply	other threads:[~2006-02-10 15:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-10 11:36 Vladimir Prus
2006-02-10 11:54 ` Eli Zaretskii
2006-02-10 13:47   ` Daniel Jacobowitz
2006-02-10 14:03     ` Vladimir Prus
2006-02-10 15:00       ` Daniel Jacobowitz
2006-02-10 20:31         ` Mark Kettenis
2006-02-10 15:22     ` Eli Zaretskii
2006-02-10 15:26       ` Daniel Jacobowitz
2006-02-10 15:45         ` Eli Zaretskii [this message]
2006-02-10 20:35       ` Mark Kettenis
2006-02-12  7:49         ` Jim Blandy
2006-02-12  9:22           ` Nick Roberts
2006-02-10 20:17 ` Nick Roberts
2006-02-13  7:05   ` Vladimir Prus
2006-02-13  7:43     ` 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=ufymr2p62.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb@sources.redhat.com \
    --cc=ghost@cs.msu.su \
    /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