Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org, Hui Zhu <teawater@gmail.com>,
		Tom Tromey <tromey@redhat.com>,
		Marc Khouzam <marc.khouzam@ericsson.com>,
		Eli Zaretskii <eliz@gnu.org>,
	Michael Snyder <msnyder@vmware.com>
Subject: Re: Another proposal for frontends and queries.
Date: Fri, 18 Sep 2009 14:37:00 -0000	[thread overview]
Message-ID: <20090918143717.GO8910@adacore.com> (raw)
In-Reply-To: <200909181031.53507.pedro@codesourcery.com>

> Having just "<enter>" behave differently depending on a setting, is
> bad UI/usability, IMO.  If you switch to 'query', you force the user to
> type 'y' or 'n' explicitly, which is a Good Thing.

I agree.

Hui:

You keep suggesting more of the same - basically, your suggestions
so far revolve around the same principle, which is adding an extra
setting that controls the query being made. But we have already
explained that this is something we would like to avoid, and we
explained why. In the meantime, the issue remains unresolved and
people like Marc continue being stuck with it.

There are two aspects to this issue:

  1. A specific short-term need: The default for queries in precord
     is 'n', and that causes auto-answers in Eclipse to be 'n' as
     well.  As a result, Eclipse uses cannot use precord fully.

     The answer to that problem is very simple: Do *NOT* provide
     a default answer. That's what "query" does.

  2. A longer-term issue: It should be possible for Front-Ends
     using GDB/MI to relay queries to the user, so that the user
     can enter confirmation before the operation is in fact
     executed.  That's longer term, as this needs some infrastructure
     work.

Right now, I'm only interested in (1). It's clear that you do not like
the idea of querying the user without providing a default. Can you
explain why?

-- 
Joel


  reply	other threads:[~2009-09-18 14:37 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-14  2:38 Marc Khouzam
2009-09-14  6:45 ` Vladimir Prus
2009-09-14 13:07   ` Marc Khouzam
2009-09-14 14:09 ` Joel Brobecker
2009-09-14 14:28   ` Marc Khouzam
2009-09-14 14:48     ` Pedro Alves
2009-09-14 14:57       ` Marc Khouzam
2009-09-14 15:08       ` Joel Brobecker
2009-09-14 15:36         ` Marc Khouzam
2009-09-14 16:06           ` Joel Brobecker
2009-09-15 16:26         ` Joel Brobecker
2009-09-16  6:24           ` Hui Zhu
2009-09-16 12:38             ` Marc Khouzam
2009-09-16 13:06               ` Hui Zhu
2009-09-16 13:25                 ` Pedro Alves
2009-09-16 13:46                   ` Hui Zhu
2009-09-16 13:59                     ` Marc Khouzam
2009-09-16 14:17                       ` Hui Zhu
2009-09-16 14:26                         ` Joel Brobecker
2009-09-16 14:34                           ` Hui Zhu
2009-09-16 14:45                             ` Pedro Alves
2009-09-16 14:43                           ` Marc Khouzam
2009-09-16 18:03                         ` Tom Tromey
2009-09-16 23:36                           ` Hui Zhu
2009-09-16 23:40                             ` Joel Brobecker
2009-09-16 17:12                   ` Eli Zaretskii
2009-09-14 15:23     ` Joel Brobecker
2009-09-16 20:20     ` Tom Tromey
2009-09-16 20:35       ` Marc Khouzam
2009-09-17  0:17         ` Michael Snyder
2009-09-17  0:48           ` Marc Khouzam
2009-09-17  1:03             ` Joel Brobecker
2009-09-17  2:07               ` Marc Khouzam
2009-09-17  0:16       ` Michael Snyder
2009-09-16 20:43 ` Tom Tromey
2009-09-16 21:41   ` Joel Brobecker
2009-09-17 13:51     ` Marc Khouzam
2009-09-17 19:52       ` Tom Tromey
2009-09-18  4:59         ` Hui Zhu
2009-09-18  5:16           ` Michael Snyder
2009-09-18  9:31           ` Pedro Alves
2009-09-18 14:37             ` Joel Brobecker [this message]
2009-09-18 14:57         ` Marc Khouzam
2009-09-18 16:42           ` Tom Tromey
2009-09-22  0:46             ` Marc Khouzam
2009-09-22 22:49               ` [RFA/commit] s/nquery/query/ in record.c (was "Re: Another proposal for frontends and queries.") Joel Brobecker
2009-09-23 12:45                 ` Marc Khouzam
2009-09-24  3:05                   ` Hui Zhu
2009-09-24 17:59                 ` Joel Brobecker

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=20090918143717.GO8910@adacore.com \
    --to=brobecker@adacore.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=marc.khouzam@ericsson.com \
    --cc=msnyder@vmware.com \
    --cc=pedro@codesourcery.com \
    --cc=teawater@gmail.com \
    --cc=tromey@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