aboutsummaryrefslogtreecommitdiff
path: root/sim/arm/armvirt.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-15 19:45:36 -0800
committerMike Frysinger <vapier@gentoo.org>2015-12-25 03:09:01 -0500
commit91d6df784db745df2b0a6827de8306246083bc94 (patch)
tree534b158dbd515d00ba54da07cd4986aed5695c0c /sim/arm/armvirt.c
parentf0c1b768b4f42c631547643ec01b020108c0ef8e (diff)
downloadgdb-91d6df784db745df2b0a6827de8306246083bc94.zip
gdb-91d6df784db745df2b0a6827de8306246083bc94.tar.gz
gdb-91d6df784db745df2b0a6827de8306246083bc94.tar.bz2
sim: arm: delete unused code
These vestiges of the 20 year old emulator are just getting in the way. Punt all the dead code we either don't compile or don't use.
Diffstat (limited to 'sim/arm/armvirt.c')
-rw-r--r--sim/arm/armvirt.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sim/arm/armvirt.c b/sim/arm/armvirt.c
index c5af8d6..4f95ed8 100644
--- a/sim/arm/armvirt.c
+++ b/sim/arm/armvirt.c
@@ -22,7 +22,6 @@
freed as they might be needed again. A single area of memory may be
defined to generate aborts. */
-#include "armopts.h"
#include "armos.h"
#include "armdefs.h"
#include "ansidecl.h"
@@ -217,13 +216,6 @@ ARMword ARMul_LoadInstrS (ARMul_State * state, ARMword address, ARMword isize)
{
state->NumScycles++;
-#ifdef HOURGLASS
- if ((state->NumScycles & HOURGLASS_RATE) == 0)
- {
- HOURGLASS;
- }
-#endif
-
return ARMul_ReLoadInstr (state, address, isize);
}