aboutsummaryrefslogtreecommitdiff
path: root/sim/arm/wrapper.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-02-01 00:14:40 +0000
committerNick Clifton <nickc@redhat.com>2001-02-01 00:14:40 +0000
commit88694af3f9e50c9196913fc0246cad42a0ae4d80 (patch)
tree008b77fe52a56ac41cc9d966445a8d4764aeea64 /sim/arm/wrapper.c
parent27b82ed26e4c5d8012bc78a194a50417e324e87a (diff)
downloadgdb-88694af3f9e50c9196913fc0246cad42a0ae4d80.zip
gdb-88694af3f9e50c9196913fc0246cad42a0ae4d80.tar.gz
gdb-88694af3f9e50c9196913fc0246cad42a0ae4d80.tar.bz2
Detect installation of SWI vector by running program as well as loading program.
Diffstat (limited to 'sim/arm/wrapper.c')
-rw-r--r--sim/arm/wrapper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c
index f6c4b05..f2e5823 100644
--- a/sim/arm/wrapper.c
+++ b/sim/arm/wrapper.c
@@ -114,8 +114,6 @@ ARMul_Debug (ARMul_State * state ATTRIBUTE_UNUSED, ARMword pc ATTRIBUTE_UNUSED,
return 0;
}
-int SWI_vector_installed = FALSE;
-
int
sim_write (sd, addr, buffer, size)
SIM_DESC sd ATTRIBUTE_UNUSED;
@@ -127,9 +125,6 @@ sim_write (sd, addr, buffer, size)
init ();
- if ((addr <= 0x8) && ((addr + size) >= 0x8))
- SWI_vector_installed = TRUE;
-
for (i = 0; i < size; i++)
ARMul_WriteByte (state, addr + i, buffer[i]);