This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] 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.
---
 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]