From: Eli Zaretskii <eliz@gnu.org>
To: Jerome Guitton <guitton@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Add support for --with-system-gdbinit
Date: Wed, 21 Jan 2009 19:03:00 -0000 [thread overview]
Message-ID: <uocy0v5vs.fsf@gnu.org> (raw)
In-Reply-To: <20090121105348.GD148@adacore.com>
> Date: Wed, 21 Jan 2009 11:53:48 +0100
> From: Jerome Guitton <guitton@adacore.com>
> Cc: gdb-patches@sourceware.org
>
> Index: doc/gdb.texinfo
> ===================================================================
> RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
> retrieving revision 1.545
> diff -u -p -r1.545 gdb.texinfo
> --- doc/gdb.texinfo 14 Jan 2009 11:47:07 -0000 1.545
> +++ doc/gdb.texinfo 21 Jan 2009 10:52:02 -0000
This part is approved, with a few minor comments:
> +Reads the system-wide @dfn{init file} (if @option{--with-system-gdbinit} was
There's no need to use @dfn for the same term more than once. Once
the term is introduced, you should use it without the @dfn markup.
> +@value{GDBN} can be configured to have a system-wide @dfn{init file};
Likewise.
> +If the default location of this init file contains the prefix,
^^^^^^^^^^
It took me a while to understand what is meant by "the prefix". I
think we should explain this explicitly, as referring to $prefix.
> +it will be subject to relocation. Suppose that @value{GDBN} has been
^^
Two spaces after a period that ends a sentence, please.
> +configured with @kbd{--prefix=$prefix} and
> +@kbd{--with-system-gdbinit=$prefix/etc/gdbinit}; if @value{GDBN} is
It is better to use @option here, not @kbd, since you are not
describing keyboard input.
> +installed somewhere else (say: in @file{$install/bin}), the system
> +init file will be looked for relatively to this new location: in our
> +case, it will be @file{$install/bin/../etc/gdbinit}.
This is a bit confusing, because you say
if @value{GDBN} is installed somewhere else (say: in @file{$install/bin})
This subtly introduces the bin/ subdirectory and requires the reader
to know that "@value{GDBN} is installed" refers to the GDB _binary_,
not to GDB as a package. The latter is, of course, installed in
$prefix and moved to $install.
Can you rewrite this bit to explain that GDB is moved from $prefix to
$install, and then the system-wide init file is looked for as
$install/etc/gdbinit instead of $prefix/etc/gdbinit?
> +At the contrary, if the default location does not contain the prefix,
^^^^^^^^^^^^^^^
"By contrast" is better here.
> +it will not be relocated. E.g.@: if @value{GDBN} has been configured with
^^
Two spaces.
Thanks.
next prev parent reply other threads:[~2009-01-21 19:03 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 13:56 Daniel Jacobowitz
2009-01-14 19:39 ` Eli Zaretskii
2009-01-14 19:50 ` Daniel Jacobowitz
2009-01-14 20:22 ` Eli Zaretskii
2009-01-14 20:38 ` Daniel Jacobowitz
2009-01-14 21:55 ` Eli Zaretskii
2009-01-14 23:07 ` Daniel Jacobowitz
2009-01-15 4:10 ` Eli Zaretskii
2009-01-19 14:11 ` Jerome Guitton
2009-01-19 14:20 ` Daniel Jacobowitz
2009-01-19 18:40 ` Eli Zaretskii
2009-01-21 10:54 ` Jerome Guitton
2009-01-21 19:03 ` Eli Zaretskii [this message]
2009-01-23 17:24 ` Jerome Guitton
2009-01-23 22:55 ` Eli Zaretskii
2009-01-28 18:00 ` Jerome Guitton
2009-01-23 17:42 ` Daniel Jacobowitz
2009-01-26 9:12 ` Jerome Guitton
2009-01-26 14:59 ` Daniel Jacobowitz
2009-01-28 15:06 ` Jerome Guitton
2009-01-16 11:54 ` Jerome Guitton
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=uocy0v5vs.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=guitton@adacore.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