This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Remove required field in agent's symbols
- From: Pierre Langlois <pierre dot langlois at arm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Pierre Langlois <pierre dot langlois at arm dot com>
- Date: Thu, 6 Aug 2015 11:48:21 +0100
- Subject: [PATCH] Remove required field in agent's symbols
- Authentication-results: sourceware.org; auth=none
Hi all,
While looking at the in-process agent I noticed shared symbols between
GDBserver and the IPA could be marked as <required>. This field was never
set nor used so this patch removes it.
Thanks,
Pierre
gdb/ChangeLog:
* common/agent.c (symbol_list) <required>: Remove.
gdb/gdbserver/ChangeLog:
* tracepoint.c (symbol_list) <required>: 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),
--
2.4.6