This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4] Some cleanups in agent expression generation functions
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>
- Date: Wed, 5 Jul 2017 11:19:09 +0200
- Subject: [PATCH 0/4] Some cleanups in agent expression generation functions
- Authentication-results: sourceware.org; auth=none
- Authentication-results: sourceware.org; dkim=none (message not signed) header.d=none;sourceware.org; dmarc=none action=none header.from=ericsson.com;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
While working with the agent expression generation code, I found that some
parameters were unused or unnecessary. This patches cleans that up.
Simon Marchi (4):
ax-gdb: Use ax->gdbarch instead of exp->gdbarch, remove unused
parameters
ax-gdb: Remove two unused agent_expr *ax parameters
ax-gdb: Remove unnecessary gdbarch parameters
ax-gdb: Remove more unused arguments
gdb/ax-gdb.c | 250 +++++++++++++++++++++++++-------------------------------
gdb/dwarf2loc.c | 31 ++++---
gdb/dwarf2loc.h | 1 -
gdb/symtab.h | 4 +-
4 files changed, 130 insertions(+), 156 deletions(-)
--
2.7.4