From patchwork Thu Aug 6 10:48:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 8043 Received: (qmail 130236 invoked by alias); 6 Aug 2015 10:48:32 -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 130227 invoked by uid 89); 6 Aug 2015 10:48:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL, BAYES_00, SPF_PASS autolearn=ham version=3.3.2 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (207.82.80.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Aug 2015 10:48:31 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-22-j0qAPObeQpKVOpfmslOw_w-1; Thu, 06 Aug 2015 11:48:26 +0100 Received: from e105615-lin.cambridge.arm.com ([10.1.2.79]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 6 Aug 2015 11:48:26 +0100 From: Pierre Langlois To: gdb-patches@sourceware.org Cc: Pierre Langlois Subject: [PATCH] Remove required field in agent's symbols Date: Thu, 6 Aug 2015 11:48:21 +0100 Message-Id: <1438858101-35923-1-git-send-email-pierre.langlois@arm.com> X-MC-Unique: j0qAPObeQpKVOpfmslOw_w-1 X-IsSubscribed: yes Hi all, While looking at the in-process agent I noticed shared symbols between GDBserver and the IPA could be marked as . This field was never set nor used so this patch removes it. Thanks, Pierre gdb/ChangeLog: * common/agent.c (symbol_list) : Remove. gdb/gdbserver/ChangeLog: * tracepoint.c (symbol_list) : Remove. --- gdb/common/agent.c | 1 - gdb/gdbserver/tracepoint.c | 1 - 2 files changed, 2 deletions(-) diff --git a/gdb/common/agent.c b/gdb/common/agent.c index 999a3de..5bb18641 100644 --- a/gdb/common/agent.c +++ b/gdb/common/agent.c @@ -63,7 +63,6 @@ static struct { const char *name; int offset; - int required; } symbol_list[] = { IPA_SYM(helper_thread_id), IPA_SYM(cmd_buf), diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c index b5f252a..e1c4a45 100644 --- a/gdb/gdbserver/tracepoint.c +++ b/gdb/gdbserver/tracepoint.c @@ -177,7 +177,6 @@ static struct { const char *name; int offset; - int required; } symbol_list[] = { IPA_SYM(gdb_tp_heap_buffer), IPA_SYM(gdb_jump_pad_buffer),