From patchwork Thu Jun 11 14:21:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 7118 X-Patchwork-Delegate: vapier@gentoo.org Received: (qmail 64882 invoked by alias); 11 Jun 2015 14:21:55 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 64868 invoked by uid 89); 11 Jun 2015 14:21:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 11 Jun 2015 14:21:48 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 45FA3340CE5 for ; Thu, 11 Jun 2015 14:21:46 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: m68hc11: delete unused interrupt_names Date: Thu, 11 Jun 2015 10:21:43 -0400 Message-Id: <1434032503-30628-1-git-send-email-vapier@gentoo.org> X-IsSubscribed: yes 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 + * interp.c (interrupt_names): Delete. + +2015-06-11 Mike Frysinger + * 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 . */ static void sim_get_info (SIM_DESC sd, char *cmd); - -char *interrupt_names[] = { - "reset", - "nmi", - "int", - NULL -}; - struct sim_info_list { const char *name;