Message ID | 20200618021523.10681-12-tom@tromey.com |
---|---|
State | New |
Headers | show
Delivered-To: patches-gcc@linaro.org Received: by 2002:a4a:2a05:0:0:0:0:0 with SMTP id k5csp928389oof; Wed, 17 Jun 2020 19:15:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRn9bzdwpi6ia/OV3Hg/eblDMKXIivS5R5SQ7Kjrt+iFcY/tJMNhbALaSy/bm/UNIXoNGd X-Received: by 2002:a05:6402:144c:: with SMTP id d12mr1998743edx.386.1592446546116; Wed, 17 Jun 2020 19:15:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592446546; cv=none; d=google.com; s=arc-20160816; b=r2S2gIk4Mt4lNyhsKPfzpOzXCkCIUhQUVFcktikarx+2BjFQy+zeNe2EQJm0/g11bA 0+r3JjbmZksHWukD3YafkA9FaIr+PhSTGitlqkCMmT15sXAb7N/eW5uz6H9ohs8RcOUM NxEY5kfRbz/dCjQIvMQwRbhEOaU9R+xQ+2ADjMuj82+PP2I8Sd1SFUR4LzW+ZzYuyCCN 3WMt2FtuRhH/LuQtUvBYobTa7XWsT+C3AFyqA3zZuzkEvr/ufFRp65j2GsK0GdY8tycm baB/YhGqpMdhwNcOYdxgKIzrV8gutzHybIY1Aac2d3TcKi0NaTn/LrAP92CowPqO4ymo 5Svg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:in-reply-to :message-id:date:subject:to:from:dkim-signature:dmarc-filter :delivered-to; bh=LGosapDpHRRzihZW4MGlwkP1+hwJddG2VAEAjmH7+xU=; b=XdpSQsWcdPGm7fzFzAfs4hgT/htINVc0gqHO9MI4ZaMTCfizGq3wiR5MEwD0ern0m6 qUvbh58cwSi/NvU7pgWYmZAc191wNX/d3XKc+aqcfKijJcWVVEVpOTAnbI17QLQIXQUE 6/zmsxZCQFspbr9UxVxYXnS4Iv6Ta05I74QRTXCZVHO38J91C+hqhGHHrooAF0EGIigD FkXxB4cjdQE4eL02U78gV23sfn9MpIRm5yAkn2UnzYuYv37lnEWgBBjwP4RUUCA3zXmw 4+FSeJibc8VREqLXGmmT/8fMuMqthdGjw53EX4liBD+8Bo1vvy3QHIVI8TnMT6/ppFmt 3yiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@tromey.com header.s=default header.b=FcDD5UHm; spf=pass (google.com: domain of gdb-patches-bounces@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom=gdb-patches-bounces@sourceware.org Return-Path: <gdb-patches-bounces@sourceware.org> Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id du17si1205988ejc.248.2020.06.17.19.15.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 19:15:46 -0700 (PDT) Received-SPF: pass (google.com: domain of gdb-patches-bounces@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=fail header.i=@tromey.com header.s=default header.b=FcDD5UHm; spf=pass (google.com: domain of gdb-patches-bounces@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom=gdb-patches-bounces@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A3EA43945C22; Thu, 18 Jun 2020 02:15:33 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from gateway24.websitewelcome.com (gateway24.websitewelcome.com [192.185.51.209]) by sourceware.org (Postfix) with ESMTPS id 3752E3898538 for <gdb-patches@sourceware.org>; Thu, 18 Jun 2020 02:15:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3752E3898538 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=tom@tromey.com Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway24.websitewelcome.com (Postfix) with ESMTP id DDA83240DE for <gdb-patches@sourceware.org>; Wed, 17 Jun 2020 21:15:29 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id lk5RjmXKcSxZVlk5RjxkCZ; Wed, 17 Jun 2020 21:15:29 -0500 X-Authority-Reason: nr=8 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=LGosapDpHRRzihZW4MGlwkP1+hwJddG2VAEAjmH7+xU=; b=FcDD5UHmaM4Q5VCKCmTuNBumbp WugBMh9UDUl9K3CAMTewDEySfJ3pMfyfGBrwvPIuAl4Rpzi8aFZRsa3Nrhs+Ah153OEVmM9mJAKJH q4UtX2NplsxGDnsLfxg8jXwgd; Received: from 174-16-104-48.hlrn.qwest.net ([174.16.104.48]:54316 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from <tom@tromey.com>) id 1jlk5R-003VvK-Iq; Wed, 17 Jun 2020 20:15:29 -0600 From: Tom Tromey <tom@tromey.com> To: gdb-patches@sourceware.org Subject: [PATCH 11/11] Make tui_win_info::name pure virtual Date: Wed, 17 Jun 2020 20:15:23 -0600 Message-Id: <20200618021523.10681-12-tom@tromey.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20200618021523.10681-1-tom@tromey.com> References: <20200618021523.10681-1-tom@tromey.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 174.16.104.48 X-Source-L: No X-Exim-ID: 1jlk5R-003VvK-Iq X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 174-16-104-48.hlrn.qwest.net (bapiya.Home) [174.16.104.48]:54316 X-Source-Auth: tom+tromey.com X-Email-Count: 13 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Spam-Status: No, score=-3038.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, JMQ_SPF_NEUTRAL, RCVD_IN_ABUSEAT, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <http://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <http://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Cc: Tom Tromey <tom@tromey.com> Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces@sourceware.org> |
Series |
|
Related |
show
|
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index 3c14b2654ee..5e7a12293c9 100644 --- a/gdb/tui/tui-data.h +++ b/gdb/tui/tui-data.h @@ -62,10 +62,7 @@ struct tui_win_info virtual void make_visible (bool visible); /* Return the name of this type of window. */ - virtual const char *name () const - { - return ""; - } + virtual const char *name () const = 0; /* Compute the maximum height of this window. */ virtual int max_height () const; diff --git a/gdb/tui/tui-stack.h b/gdb/tui/tui-stack.h index 564ac22495c..9ff57b1ba73 100644 --- a/gdb/tui/tui-stack.h +++ b/gdb/tui/tui-stack.h @@ -32,6 +32,11 @@ struct tui_locator_window : public tui_win_info { tui_locator_window () = default; + const char *name () const override + { + return STATUS_NAME; + } + int max_height () const override { return 1;