From patchwork Thu Jan 2 13:08:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Turney X-Patchwork-Id: 37157 Received: (qmail 57120 invoked by alias); 2 Jan 2020 13:08:54 -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 57053 invoked by uid 89); 2 Jan 2020 13:08:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.5 required=5.0 tests=AWL, BAYES_00, FORGED_SPF_HELO, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=meets, escape, terminal, HContent-Transfer-Encoding:8bit X-HELO: re-prd-fep-044.btinternet.com Received: from mailomta20-re.btinternet.com (HELO re-prd-fep-044.btinternet.com) (213.120.69.113) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 02 Jan 2020 13:08:52 +0000 Received: from re-prd-rgout-003.btmx-prd.synchronoss.net ([10.2.54.6]) by re-prd-fep-044.btinternet.com with ESMTP id <20200102130849.OQPJ18275.re-prd-fep-044.btinternet.com@re-prd-rgout-003.btmx-prd.synchronoss.net>; Thu, 2 Jan 2020 13:08:49 +0000 Authentication-Results: btinternet.com; auth=pass (LOGIN) smtp.auth=jonturney@btinternet.com X-OWM-Source-IP: 31.51.207.12 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean Received: from localhost.localdomain (31.51.207.12) by re-prd-rgout-003.btmx-prd.synchronoss.net (5.8.337) (authenticated as jonturney@btinternet.com) id 5DF6656302E48FB8; Thu, 2 Jan 2020 13:08:49 +0000 From: Jon Turney To: gdb-patches@sourceware.org Cc: Jon Turney Subject: [PATCH] Enable styling by default on Cygwin Date: Thu, 2 Jan 2020 13:08:10 +0000 Message-Id: <20200102130810.11771-1-jon.turney@dronecode.org.uk> MIME-Version: 1.0 Cygwin meets the expectations of gdb for styling (if TERM is set and not 'DUMB', the terminal supports 'ANSI' (EMCA-48) escape sequences. gdb/ChangeLog: 2020-01-02 Jon Turney * cli/cli-style.c: Set cli_styling to 'true' in the Cygwin build. --- gdb/ChangeLog | 3 +-- gdb/cli/cli-style.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gdb/cli/cli-style.c b/gdb/cli/cli-style.c index 5535d67408..bedc95aaf7 100644 --- a/gdb/cli/cli-style.c +++ b/gdb/cli/cli-style.c @@ -25,7 +25,7 @@ /* True if styling is enabled. */ -#if defined (__MSDOS__) || defined (__CYGWIN__) +#if defined (__MSDOS__) bool cli_styling = false; #else bool cli_styling = true;