Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: steverod@netapp.com, gdb-patches@sources.redhat.com
Subject: Re: [patch] Indirect access to GDB history variables
Date: Sat, 16 Dec 2006 18:45:00 -0000	[thread overview]
Message-ID: <20061216184508.GA17120@nevyn.them.org> (raw)
In-Reply-To: <u3b7fvg59.fsf@gnu.org>

On Sat, Dec 16, 2006 at 08:40:02PM +0200, Eli Zaretskii wrote:
> > Changing the CLI is touchy because of how weakly specified it is.
> 
> Do we have a substantial body of test cases for CLI in the test suite?
> If we do, and if this change doesn't break anything there, I think we
> can reasonably expect it to be safe.

I'm worried primarily about interactions with the expression parser,
which changes for every language we support.  I don't know if the test
coverage is adequate or not.

> > I think that we should take the long-postponed jump to embedding
> > scripting languages, rather than adding more complexity to the existing
> > CLI.
> 
> If we leave the current CLI available in non-interactive sessions, and

Definitely.  I don't suggest removing anything here.

> if the embedded language will satisfy Steve's needs, I'm for it.  But
> I fear that agreeing on the language will take time, in which case
> postponing this change will be just that.

It may be so.  My tentative plan was to offer a selection, probably
Perl and Python and Guile; once the common infrastructure is in place,
it's really not hard to add languages and enable them at configure
time.  The alternative would be to add only Guile, since that's the
language the FSF officially recommends for such things - I don't want
to take that alternative, though, since I'm practically useless in
Guile.  I have implemented Guile embedding, by the way, though never
finished it up.

Just musing, for the moment.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-12-16 18:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-15  2:41 Steve Rodrigues
2006-12-15  8:43 ` Eli Zaretskii
2006-12-16 17:10 ` Daniel Jacobowitz
2006-12-16 18:40   ` Eli Zaretskii
2006-12-16 18:45     ` Daniel Jacobowitz [this message]
2006-12-16 19:43       ` Eli Zaretskii
2006-12-18  5:46       ` Steve Rodrigues
2006-12-18 13:40         ` Daniel Jacobowitz
     [not found] <20061215182551.GA10789@siml11.eng.netapp.com>
2006-12-16  9:34 ` Eli Zaretskii

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=20061216184508.GA17120@nevyn.them.org \
    --to=drow@false.org \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=steverod@netapp.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