This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] sim: m68hc11: delete unused interrupt_names
- From: Michael Frysinger <vapier at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 11 Jun 2015 14:21:56 -0000
- Subject: [binutils-gdb] sim: m68hc11: delete unused interrupt_names
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=09896bd2234218a8ff3617e1043a1e72da2587f6
commit 09896bd2234218a8ff3617e1043a1e72da2587f6
Author: Mike Frysinger <vapier@gentoo.org>
Date: Tue Jun 9 23:44:25 2015 +0800
sim: m68hc11: delete unused interrupt_names
The interrupts.c file has a static/fuller definition that is used,
so drop this copy in interp.c.
Diff:
---
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;