From patchwork Thu Jul 4 17:02:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 33559 Received: (qmail 107038 invoked by alias); 4 Jul 2019 17:03:38 -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 105901 invoked by uid 89); 4 Jul 2019 17:03:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=Available, H*RU:esmtpa, H*r:esmtpa, HX-Spam-Relays-External:esmtpa X-HELO: gateway34.websitewelcome.com Received: from gateway34.websitewelcome.com (HELO gateway34.websitewelcome.com) (192.185.149.62) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 04 Jul 2019 17:03:25 +0000 Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway34.websitewelcome.com (Postfix) with ESMTP id 9C1BC1093A5 for ; Thu, 4 Jul 2019 12:03:24 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id j58mhuwVX2PzOj58mh7dMj; Thu, 04 Jul 2019 12:03:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=y02c+FeCHKr2RFwUrQ7FMoWc6SEUQ0zHKCH8YxyF+Xc=; b=O9f6Ti+TAjeYuuQBLhcaaogB3z cIa2RB1GohggpEh8s7E65ViUmKbRLf+hx/VcQM557QChgKyiixN11DwJv+gPtYPT9cn2EjbEhaLvn btlO9tFg9Bp4FDX0/a0Xl9IDn; Received: from 174-29-58-150.hlrn.qwest.net ([174.29.58.150]:34694 helo=bapiya.Home) by box5379.bluehost.com with esmtpa (Exim 4.92) (envelope-from ) id 1hj58m-002sFu-Aw; Thu, 04 Jul 2019 12:03:24 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 28/61] Remove unused TUI defines Date: Thu, 4 Jul 2019 11:02:38 -0600 Message-Id: <20190704170311.15982-29-tom@tromey.com> In-Reply-To: <20190704170311.15982-1-tom@tromey.com> References: <20190704170311.15982-1-tom@tromey.com> This removes some #defines that were unused in the TUI. 2019-07-04 Tom Tromey * tui/tui-data.h (MAX_CONTENT_COUNT, TUI_NULL_STR) (DEFAULT_HISTORY_COUNT, WITH_LOCATOR, NO_LOCATOR): Remove defines. --- gdb/ChangeLog | 6 ++++++ gdb/tui/tui-data.h | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index 96f44479b5e..310029d5af1 100644 --- a/gdb/tui/tui-data.h +++ b/gdb/tui/tui-data.h @@ -98,17 +98,12 @@ enum tui_box #define NO_DISASSEM_STRING "[ No Assembly Available ]" #define NO_REGS_STRING "[ Register Values Unavailable ]" #define NO_DATA_STRING "[ No Data Values Displayed ]" -#define MAX_CONTENT_COUNT 100 #define SRC_NAME "src" #define CMD_NAME "cmd" #define DATA_NAME "regs" #define DISASSEM_NAME "asm" -#define TUI_NULL_STR "" -#define DEFAULT_HISTORY_COUNT 25 #define HILITE TRUE #define NO_HILITE FALSE -#define WITH_LOCATOR TRUE -#define NO_LOCATOR FALSE #define UNDEFINED_ITEM -1 #define MIN_WIN_HEIGHT 3 #define MIN_CMD_WIN_HEIGHT 3