From patchwork Thu Dec 11 18:50:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cleber Rosa X-Patchwork-Id: 4193 Received: (qmail 24032 invoked by alias); 11 Dec 2014 18:51:24 -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 24015 invoked by uid 89); 11 Dec 2014 18:51:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 11 Dec 2014 18:51:22 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sBBIpHnf001654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 11 Dec 2014 13:51:17 -0500 Received: from x220.homelab.tallawa.org.com (ovpn-112-54.phx2.redhat.com [10.3.112.54]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sBBIpDna008784; Thu, 11 Dec 2014 13:51:14 -0500 From: Cleber Rosa To: gdb-patches@sourceware.org Cc: crosa@redhat.com, sergiodj@redhat.com, lmr@redhat.com, brobecker@adacore.com Subject: [v2,1/2] remote-utils.c: remove unused gdb_stdlog Date: Thu, 11 Dec 2014 15:50:39 -0300 Message-Id: <1418323840-2496-1-git-send-email-crosa@redhat.com> In-Reply-To: <20141203103111.GB7899@adacore.com> References: <20141203103111.GB7899@adacore.com> It looks like this came from an attempt to mimmic gdb/main.c, which has gdb_stdlog, gdb_stderr, gdb_stdout, etc. But in reality, it's not being used on gdbserver. gdb/gdbserver/ChangeLog: * remote-utils.c: Remove unused variable gdb_stdlog --- gdb/gdbserver/remote-utils.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index 373fc15..442e94e 100644 --- a/gdb/gdbserver/remote-utils.c +++ b/gdb/gdbserver/remote-utils.c @@ -100,7 +100,6 @@ struct sym_cache }; int remote_debug = 0; -struct ui_file *gdb_stdlog; static int remote_is_stdio = 0;