public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: m68hc11: delete unused interrupt_names
@ 2015-06-11 14:21 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2015-06-11 14:21 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-11 14:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-11 14:21 [PATCH] sim: m68hc11: delete unused interrupt_names Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).