From patchwork Sat Mar 2 19:45:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eli Zaretskii X-Patchwork-Id: 31702 Received: (qmail 14195 invoked by alias); 2 Mar 2019 19:45:31 -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 13935 invoked by uid 89); 2 Mar 2019 19:45:25 -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, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:2726, family X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 02 Mar 2019 19:45:23 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0AZV-0006ac-Rg for gdb-patches@sourceware.org; Sat, 02 Mar 2019 14:45:21 -0500 Received: from [176.228.60.248] (port=4020 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h0AZV-0007eh-A5 for gdb-patches@sourceware.org; Sat, 02 Mar 2019 14:45:21 -0500 Date: Sat, 02 Mar 2019 21:45:10 +0200 Message-Id: <83sgw5f4c9.fsf@gnu.org> From: Eli Zaretskii To: gdb-patches@sourceware.org Subject: [COMMIT] Fix documentation of styles X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes I've committed the below as obvious, master and the 8.3 branch: commit e3624a40aeb31065c968d0d3a1d55fdf8e8a4e3c Author: Eli Zaretskii AuthorDate: Sat Mar 2 21:42:54 2019 +0200 Commit: Eli Zaretskii CommitDate: Sat Mar 2 21:42:54 2019 +0200 Fix documentation of styles. gdb/doc/ChangeLog: 2019-03-02 Eli Zaretskii * gdb.texinfo (Output Styling): Fix typos. Document the default foreground colors of the available styles. diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index a5d1c21..6e95f93 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2019-03-02 Eli Zaretskii + + * gdb.texinfo (Output Styling): Fix typos. Document the default + foreground colors of the available styles. + 2019-02-27 Kevin Buettner * gdb.texinfo (Configure Options): Document minimum python diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 8b61cc1..f2028f8 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -24539,13 +24539,13 @@ @item set style filename background @var{color} Set the background to @var{color}. Valid colors are @samp{none} (meaning the terminal's default color), @samp{black}, @samp{red}, -@samp{green}, @samp{yellow}, @samp{vlue}, @samp{magenta}, @samp{cyan}, +@samp{green}, @samp{yellow}, @samp{blue}, @samp{magenta}, @samp{cyan}, and@samp{white}. @item set style filename foreground @var{color} Set the foreground to @var{color}. Valid colors are @samp{none} (meaning the terminal's default color), @samp{black}, @samp{red}, -@samp{green}, @samp{yellow}, @samp{vlue}, @samp{magenta}, @samp{cyan}, +@samp{green}, @samp{yellow}, @samp{blue}, @samp{magenta}, @samp{cyan}, and@samp{white}. @item set style filename intensity @var{value} @@ -24556,19 +24556,23 @@ The style-able objects are: @table @code @item filename -Control the styling of file names. +Control the styling of file names. By default, this style's +foreground color is green. @item function Control the styling of function names. These are managed with the -@code{set style function} family of commands. +@code{set style function} family of commands. By default, this +style's foreground color is yellow. @item variable Control the styling of variable names. These are managed with the -@code{set style variable} family of commands. +@code{set style variable} family of commands. By default, this style's +foreground color is cyan. @item address Control the styling of addresses. These are managed with the -@code{set style address} family of commands. +@code{set style address} family of commands. By default, this style's +foreground color is blue. @end table @node Numbers