From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH] sim: mips: drop unused ENGINE_ISSUE_POSTFIX_HOOK
Date: Sat, 24 Dec 2022 21:38:35 -0500 [thread overview]
Message-ID: <20221225023835.22342-1-vapier@gentoo.org> (raw)
Nothing defines this, and it isn't called in all the engine runtimes,
so drop it entirely to avoid confusion.
---
sim/mips/m16run.c | 4 ----
sim/mips/micromipsrun.c | 4 ----
2 files changed, 8 deletions(-)
diff --git a/sim/mips/m16run.c b/sim/mips/m16run.c
index c8caeb1d2da3..ffc1031c45ed 100644
--- a/sim/mips/m16run.c
+++ b/sim/mips/m16run.c
@@ -58,10 +58,6 @@ sim_engine_run (SIM_DESC sd,
nia = m32_idecode_issue (sd, instruction_0, cia);
}
-#if defined (ENGINE_ISSUE_POSTFIX_HOOK)
- ENGINE_ISSUE_POSTFIX_HOOK ();
-#endif
-
/* Update the instruction address */
cia = nia;
diff --git a/sim/mips/micromipsrun.c b/sim/mips/micromipsrun.c
index 86868fac8944..1c1475ee184a 100644
--- a/sim/mips/micromipsrun.c
+++ b/sim/mips/micromipsrun.c
@@ -121,10 +121,6 @@ sim_engine_run (SIM_DESC sd, int next_cpu_nr, int nr_cpus,
nia = NULL_CIA;
}
-#if defined (ENGINE_ISSUE_POSTFIX_HOOK)
- ENGINE_ISSUE_POSTFIX_HOOK ();
-#endif
-
/* Update the instruction address */
cia = nia;
--
2.39.0
reply other threads:[~2022-12-25 2:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221225023835.22342-1-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).