Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Phil Muldoon <pmuldoon@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [python][patch] Add GDB Parameters functionality
Date: Mon, 26 Apr 2010 17:56:00 -0000	[thread overview]
Message-ID: <838w8ayu7a.fsf@gnu.org> (raw)
In-Reply-To: <4BD592D9.1070801@redhat.com>

> Date: Mon, 26 Apr 2010 14:19:21 +0100
> From: Phil Muldoon <pmuldoon@redhat.com>
> 
> This patch brings over GDB Parameter functionality from the Archer
> project/repository.  This functionality remains largely the same; I've
> reintroduced some functionality back into py-cmd that was stripped
> from the last FSF import, and fixed several bugs related to enum
> parameters.  It also introduces a new testsuite.

Thanks.

> 2010-04-26  Phil Muldoon  <pmuldoon@redhat.com>
> 	    Tom Tromey  <tromey@redhat.com>
> 	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
> 
> 	* gdb.texinfo (Parameters In Python): New Node.

A few minor comments about this part.

> +You can implement new @value{GDBN} parameters using Python.

This should have a cross-reference to where GDB parameters are
described in the manual (in the "Help" node).  Alternatively, add here
a short explanation what are they.  (The name is unfortunate; I'd
prefer "options" or "settings", but since we already use "parameters",
so be it.)

> +@var{name} is the name of the new parameter.  If @var{name} consists
> +of multiple words, then the initial words are looked for as prefix
> +commands.

An example here would help greatly.  I would also suggest to drop the
"commands" part, because we are not talking about commands here.

> +@item PARAM_STRING
> +The value is a string.  When the user modifies the string, escapes are
> +translated.

It's not clear what escapes are meant here, and what translation does
to them.  I suggest an example or a few words of clarification.

> +@findex PARAM_FILENAME
> +@findex gdb.PARAM_FILENAME
> +@item PARAM_FILENAME
> +The value is a filename (a string).

Is that just a string, or is it somehow different from a string?  If
the latter, let's tell what is the difference.

Okay with these changes.

Maybe we should consider mentioning this in NEWS.

Thanks.


  reply	other threads:[~2010-04-26 17:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26 13:19 Phil Muldoon
2010-04-26 17:56 ` Eli Zaretskii [this message]
2010-04-27 12:26   ` Phil Muldoon
2010-04-27 17:45     ` Eli Zaretskii
2010-04-27 19:25       ` Phil Muldoon
2010-04-27 19:36         ` Eli Zaretskii
2010-04-27 20:05           ` Phil Muldoon
2010-04-28  2:59             ` Eli Zaretskii
2010-04-28  6:28               ` Phil Muldoon
2010-04-28  9:18                 ` Phil Muldoon
2010-04-28 17:15                   ` Eli Zaretskii
2010-04-28 20:31                     ` Phil Muldoon
2010-04-29  3:06                       ` Eli Zaretskii
2010-04-29 16:13                         ` Phil Muldoon
2010-04-26 21:45 ` Tom Tromey
2010-04-26 21:52   ` Phil Muldoon
2010-04-27  3:09     ` Tom Tromey

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=838w8ayu7a.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=pmuldoon@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