From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31168 invoked by alias); 4 Mar 2019 17:37:30 -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 31150 invoked by uid 89); 4 Mar 2019 17:37:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Nothing, Hx-languages-length:1122, personal 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; Mon, 04 Mar 2019 17:37:29 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0rWo-0007r5-MK; Mon, 04 Mar 2019 12:37:27 -0500 Received: from [176.228.60.248] (port=2505 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h0rWj-00087F-Iz; Mon, 04 Mar 2019 12:37:24 -0500 Date: Mon, 04 Mar 2019 17:37:00 -0000 Message-Id: <83imwyee29.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey CC: gdb-patches@sourceware.org In-reply-to: <87d0n6adk2.fsf@tromey.com> (message from Tom Tromey on Mon, 04 Mar 2019 08:01:49 -0700) Subject: Re: [PATCH 00/16] Add styling to the gdb CLI and TUI References: <20181128001435.12703-1-tom@tromey.com> <83k1kxfzwo.fsf@gnu.org> <8736rja4i8.fsf@tromey.com> <83r2brhw8k.fsf@gnu.org> <87h8cmh1wg.fsf@tromey.com> <83va12gz8j.fsf@gnu.org> <87mumeb935.fsf@tromey.com> <83d0n8eyzw.fsf@gnu.org> <87d0n6adk2.fsf@tromey.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00038.txt.bz2 > From: Tom Tromey > Cc: Tom Tromey , gdb-patches@sourceware.org > Date: Mon, 04 Mar 2019 08:01:49 -0700 > > Eli> . The default foreground color used for addresses, blue, is too dark > Eli> when the terminal's background is black. Maybe we should change to > Eli> magenta, which should look OK on both dark and light backgrounds. > > For me magenta is even darker. Setting the intensity to bold might be > more acceptable? Still too dark. I guess we will need to leave this to personal customizations. > Eli> And one more issue, only tangentially related: if I put on my > Eli> ~/.gdbinit settings that customize style, older versions of GDB > Eli> complain when they start up, because they don't know about styles. Is > Eli> there any way of conditioning scripting commands on the GDB version, > Eli> or some other way of avoiding such problems? > > Nothing built in, this is a longstanding issue when adding new settings > to gdb. What do you think about the idea to add a convenience variable that would provide the GDB version?