From patchwork Fri Nov 15 00:48:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Simon Marchi (Code Review)" X-Patchwork-Id: 35930 Received: (qmail 15025 invoked by alias); 15 Nov 2019 00:48:37 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 14899 invoked by uid 89); 15 Nov 2019 00:48:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=Guile, guile X-HELO: mx1.osci.io Received: from polly.osci.io (HELO mx1.osci.io) (8.43.85.229) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 15 Nov 2019 00:48:25 +0000 Received: by mx1.osci.io (Postfix, from userid 994) id 3E7AC20393; Thu, 14 Nov 2019 19:48:08 -0500 (EST) Received: from gnutoolchain-gerrit.osci.io (gnutoolchain-gerrit.osci.io [8.43.85.239]) by mx1.osci.io (Postfix) with ESMTP id 5FD7620339; Thu, 14 Nov 2019 19:48:07 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by gnutoolchain-gerrit.osci.io (Postfix) with ESMTP id 1E23220AF6; Thu, 14 Nov 2019 19:48:07 -0500 (EST) X-Gerrit-PatchSet: 2 Date: Thu, 14 Nov 2019 19:48:06 -0500 From: "Sourceware to Gerrit sync (Code Review)" To: Christian Biesinger , gdb-patches@sourceware.org Auto-Submitted: auto-generated X-Gerrit-MessageType: newpatchset Subject: [pushed] Update README X-Gerrit-Change-Id: I8ce8ca6935afbd130295e143802c585cf1e735f9 X-Gerrit-Change-Number: 612 X-Gerrit-ChangeURL: X-Gerrit-Commit: 9a3516679ba2e0abdbc4467dbb46f526343efd13 In-Reply-To: References: Reply-To: noreply@gnutoolchain-gerrit.osci.io, cbiesinger@google.com, gdb-patches@sourceware.org MIME-Version: 1.0 Content-Disposition: inline User-Agent: Gerrit/3.0.3-76-gf8b6da0ab5 Message-Id: <20191115004807.1E23220AF6@gnutoolchain-gerrit.osci.io> The original change was created by Christian Biesinger. Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/612 ...................................................................... Update README Adds descriptions for some recent-ish configure options to README. Also updates the minimum Python version per commit 6c28e44a359e9f6cf455ddff0009ca99406f7224. 2019-11-14 Christian Biesinger * README (`configure' options): Update. Change-Id: I8ce8ca6935afbd130295e143802c585cf1e735f9 --- M gdb/ChangeLog M gdb/README 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1a84242..134c883 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-11-14 Christian Biesinger + + * README (`configure' options): Update. + 2019-11-14 Tom Tromey * eval.c (evaluate_subexp_standard) : Do not pass an diff --git a/gdb/README b/gdb/README index 8883a8a..be7fdcb 100644 --- a/gdb/README +++ b/gdb/README @@ -492,7 +492,7 @@ GDB scripting much more powerful than the restricted CLI scripting language. If your host does not have Python installed, you can find it on `http://www.python.org/download/'. The oldest - version of Python supported by GDB is 2.4. The optional argument + version of Python supported by GDB is 2.6. The optional argument PYTHON is used to find the Python headers and libraries. It can be either the name of a Python executable, or the name of the directory in which Python is installed. @@ -507,6 +507,16 @@ `pkg-config' executable, which will be queried to find the information needed to compile and link against Guile. +`--enable-source-highlight' + When printing source code, use source highlighting. This requires + libsource-highlight to be installed and is enabled by default + if the library is found. + +`--with-xxhash' + Use libxxhash for hashing. This has no user-visible effect but + speeds up various GDB operations such as symbol loading. Enabled + by default if libxxhash is found. + `--without-included-regex' Don't use the regex library included with GDB (as part of the libiberty library). This is the default on hosts with version 2 @@ -528,6 +538,15 @@ after being built, the location of the system-wide init file will be adjusted accordingly. +`--with-system-gdbinit-dir=DIR' + Configure GDB to automatically load system-wide init files from + a directory. Files with extensions `.gdb', `.py' (if Python + support is enabled) and `.scm' (if Guile support is enabled) are + supported. DIR should be an absolute directory name. If DIR is + in a directory under the configured prefix, and GDB is moved to + another location after being built, the location of the system- + wide init directory will be adjusted accordingly. + `--enable-build-warnings' When building the GDB sources, ask the compiler to warn about any code which looks even vaguely suspicious. It passes many