This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] sim: m68hc11: delete unused interrupt_names
- From: Mike Frysinger <vapier at gentoo dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 11 Jun 2015 10:21:43 -0400
- Subject: [PATCH] sim: m68hc11: delete unused interrupt_names
- Authentication-results: sourceware.org; auth=none
The interrupts.c file has a static/fuller definition that is used,
so drop this copy in interp.c.
---
sim/m68hc11/ChangeLog | 4 ++++
sim/m68hc11/interp.c | 8 --------
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
index 8621ce4..03f52e7 100644
--- a/sim/m68hc11/ChangeLog
+++ b/sim/m68hc11/ChangeLog
@@ -1,5 +1,9 @@
2015-06-11 Mike Frysinger <vapier@gentoo.org>
+ * interp.c (interrupt_names): Delete.
+
+2015-06-11 Mike Frysinger <vapier@gentoo.org>
+
* Makefile.in (SIM_OBJS): Add sim-resume.o
* interp.c (has_stepped, sim_resume): Delete.
diff --git a/sim/m68hc11/interp.c b/sim/m68hc11/interp.c
index 14a8231..a1d98a7 100644
--- a/sim/m68hc11/interp.c
+++ b/sim/m68hc11/interp.c
@@ -33,14 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
static void sim_get_info (SIM_DESC sd, char *cmd);
-
-char *interrupt_names[] = {
- "reset",
- "nmi",
- "int",
- NULL
-};
-
struct sim_info_list
{
const char *name;
--
2.4.1