From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89539 invoked by alias); 23 Dec 2018 10:49:07 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 89478 invoked by uid 89); 23 Dec 2018 10:49:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=escape, ANSI, ansi, terminal X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 23 Dec 2018 10:49:02 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 85DD91163E6; Sun, 23 Dec 2018 05:49:00 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xUawa7536kTh; Sun, 23 Dec 2018 05:49:00 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id F2EC31163C4; Sun, 23 Dec 2018 05:48:59 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 42D5886763; Sun, 23 Dec 2018 14:48:52 +0400 (+04) Date: Sun, 23 Dec 2018 10:49:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: [PATCH 00/16] Add styling to the gdb CLI and TUI Message-ID: <20181223104852.GC8096@adacore.com> References: <20181128001435.12703-1-tom@tromey.com> <83k1kxfzwo.fsf@gnu.org> <8736rja4i8.fsf@tromey.com> <83r2f3caje.fsf@gnu.org> <87o9a61qvz.fsf@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87o9a61qvz.fsf@tromey.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-SW-Source: 2018-12/txt/msg00281.txt.bz2 [/me starting to look into this patch series...] To answer one specific question: > Is it possible to ssh in to a Windows machine and then use gdb? That's > one scenario where you may want to keep the ANSI terminal escape > sequences in the output. It also may affect how calls to the Windows > API are handled. Yes, it is possible to ssh into a Windows machine. The SSH server we used is cygwin's one, and it's a bit of a special situation as stdin is actually not viewed as a TTY, IIRC. This has various consequences because we actually want GDB to think it's a TTY. This is why we have the "set interactive mode" command. I am no longer sure whether this is related to TTY-ness or not, but buffering was also an issue, that caused stdout/stderr to be output in random order. That caused a lot of grief trying to run the testsuite, so we "fixed" that internally at AdaCore by turning buffering off entirely. -- Joel