From patchwork Mon Nov 11 18:41:47 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: 35796 Received: (qmail 121698 invoked by alias); 11 Nov 2019 18:41:52 -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 121688 invoked by uid 89); 11 Nov 2019 18:41:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=speeds, hosts 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; Mon, 11 Nov 2019 18:41:50 +0000 Received: by mx1.osci.io (Postfix, from userid 994) id D3F8C2047F; Mon, 11 Nov 2019 13:41:48 -0500 (EST) Received: from gnutoolchain-gerrit.osci.io (gnutoolchain-gerrit.osci.io [IPv6:2620:52:3:1:5054:ff:fe06:16ca]) by mx1.osci.io (Postfix) with ESMTP id 8644920322; Mon, 11 Nov 2019 13:41:47 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by gnutoolchain-gerrit.osci.io (Postfix) with ESMTP id 5936020AF6; Mon, 11 Nov 2019 13:41:47 -0500 (EST) X-Gerrit-PatchSet: 1 Date: Mon, 11 Nov 2019 13:41:47 -0500 From: "Christian Biesinger (Code Review)" To: gdb-patches@sourceware.org Cc: Christian Biesinger Message-ID: Auto-Submitted: auto-generated X-Gerrit-MessageType: newchange Subject: [review] Update README X-Gerrit-Change-Id: I8ce8ca6935afbd130295e143802c585cf1e735f9 X-Gerrit-Change-Number: 612 X-Gerrit-ChangeURL: X-Gerrit-Commit: 1a8a80e53687f3a462a4a31ecb11f62f438bd787 References: Reply-To: cbiesinger@google.com, cbiesinger@google.com, gdb-patches@sourceware.org MIME-Version: 1.0 Content-Disposition: inline User-Agent: Gerrit/3.0.3-76-gf8b6da0ab5 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-11 Christian Biesinger * README (`configure' options): Update. Change-Id: I8ce8ca6935afbd130295e143802c585cf1e735f9 --- M gdb/README 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/gdb/README b/gdb/README index 8883a8a..2e50fc6 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