From: Eli Zaretskii <eliz@gnu.org>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] Update gdb's configure instructions
Date: Fri, 14 Sep 2018 08:28:00 -0000 [thread overview]
Message-ID: <83pnxgjxe7.fsf@gnu.org> (raw)
In-Reply-To: <20180914042946.29248-1-tom@tromey.com> (message from Tom Tromey on Thu, 13 Sep 2018 22:29:46 -0600)
> From: Tom Tromey <tom@tromey.com>
> Cc: Tom Tromey <tom@tromey.com>
> Date: Thu, 13 Sep 2018 22:29:46 -0600
>
> This also removes the PROBLEMS file, as it seems unused. It hasn't
> been updated since before the 7.3 release.
How about replacing PROBLEMS with a file that just points people to
the GDB Bugzilla, and perhaps tells how to search Bugzilla for GDB
problems that are still not solved in version X.Y.Z of GDB?
> The README file seems to have been generated from the Texinfo at some
> point in the past. I did not continue this, but instead edited it
> separately.
Ideally, README should include some details about optional build
features that allow the user to decide which options to request. The
help text provided by gdb/configure is too terse, and I'm not even
sure many people realize that they need to run "./gdb/configure --help"
rather than the top-level configure script. Perhaps README should at
least tell that. Bonus points for describing other optional build
features with enough information for users to understand whether each
option will be useful for them. For example, some features are only
relevant for ELF systems, others only for GNU/Linux, etc., but there's
no info on that in README or "configure --help".
> When submitting a bug, please include the GDB version number, and
> how you configured it (e.g., "sun4" or "mach386 host,
> -i586-intel-synopsys target"). Since GDB now supports so many
> +i586-intel-synopsys target"). Since GDB supports so many
> different configurations, it is important that you be precise about
> this. If at all possible, you should include the actual banner
> that GDB prints when it starts up, or failing that, the actual
Should this text mention the gdb --config option and the corresponding
"show configuration" command?
> +@item Guile
> +@value{GDBN} can be scripted using GNU Guile. @xref{Guile}. By
> +default, @value{GDBN} will be compiled if the Guile libraries are
> +available.
Something is missing in the last sentence. Also, I'm not sure "if the
Guile libraries are available" is explicit enough. How about
if the Guile libraries are installed and are found by the configure
script
> +On systems without @code{iconv}, you can install GNU Libiconv. If you
> +have previously installed Libiconv, you can use the
> +@option{--with-libiconv-prefix} option to configure.
I would suggest here to say explicitly that if libiconv is installed
in a standard place, then the configure script will find it and
compile GDB with it.
> +@value{GDBN}'s top-level @file{configure} and @file{Makefile} will
> +arrange to build Libiconv if a directory named @file{libiconv} appears
> +in the top-most source directory. If Libiconv is built this way, and
> +if the operating system does not provide a suitable @code{iconv}
> +implementation, then the just-built library will automatically be used
> +by @value{GDBN}. One easy way to set this up is to download GNU
> +Libiconv, unpack it, and then rename the directory holding the
> +Libiconv source code to @samp{libiconv}.
I think it is better to say explicitly "unpack it inside the top-level
directory of the GDB source tree", instead of just "unpack it".
> +@item lzma
> +@value{GDBN} can support debugging sections that are compressed with
> +the LZMA library. @xref{MiniDebugInfo}. If this library is not
> +included with your operating system, you can find it in the xz package
> +at @url{http://tukaani.org/xz/}. If it is installed in an unusual
> +path, you can use the @option{--with-lzma-prefix} option to specify
> +its location.
Again, before talking about lzma being installed in an unusual place,
I'd suggest to say something about its being installed in the usual
place, i.e. that the configure script will find it automatically.
> +@item Python
> +@value{GDBN} can be scripted using Python language. @xref{Python}.
> +By default, @value{GDBN} will be compiled if the Python libraries are
> +available.
Same problem in the last sentence here as in the Guile section above.
> +You can install @code{@value{GDBP}} anywhere. The best way to do this
I think this should be "GDBN", not "GDBP".
Thanks.
next prev parent reply other threads:[~2018-09-14 8:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-14 4:30 Tom Tromey
2018-09-14 8:28 ` Eli Zaretskii [this message]
2018-09-27 22:20 ` Tom Tromey
2018-09-28 7:41 ` Eli Zaretskii
2018-09-28 20:01 ` Tom Tromey
2018-09-28 21:18 ` Eli Zaretskii
2018-09-14 16:17 ` John Baldwin
2018-09-27 22:21 ` Tom Tromey
2018-09-28 16:24 ` John Baldwin
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=83pnxgjxe7.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=tom@tromey.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