public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: mips: drop unused ENGINE_ISSUE_POSTFIX_HOOK
@ 2022-12-25 2:38 Michael Frysinger
0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-12-25 2:38 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d093438bdcf22b2d4e1738d2d55300745f88dd8d
commit d093438bdcf22b2d4e1738d2d55300745f88dd8d
Author: Mike Frysinger <vapier@gentoo.org>
Date: Sat Dec 24 21:04:09 2022 -0500
sim: mips: drop unused ENGINE_ISSUE_POSTFIX_HOOK
Nothing defines this, and it isn't called in all the engine runtimes,
so drop it entirely to avoid confusion.
Diff:
---
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 c8caeb1d2da..ffc1031c45e 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 86868fac894..1c1475ee184 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-25 2:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-25 2:38 [binutils-gdb] sim: mips: drop unused ENGINE_ISSUE_POSTFIX_HOOK Michael 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).