aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/interp.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index ad49fcc..fd7abee 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@
+2002-04-20 Andrew Cagney <ac131313@redhat.com>
+
+ * interp.c (sim_open): Revert previous change.
+
2002-04-18 Alexandre Oliva <aoliva@redhat.com>
* interp.c (sim_open): Disable chunk of code that wrote code in
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index d56c2ef..5bd61a8 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -698,14 +698,10 @@ sim_open (kind, cb, abfd, argv)
sim_write (sd, 0x80000000, (char *) halt, sizeof (halt));
sim_write (sd, 0x80000180, (char *) halt, sizeof (halt));
sim_write (sd, 0x80000200, (char *) halt, sizeof (halt));
-#if 0
- /* This is wrong. We're not supposed to write code to the
- vector tables, but rather pointers to code. */
/* XXX: Write here unconditionally? */
sim_write (sd, 0xBFC00200, (char *) halt, sizeof (halt));
sim_write (sd, 0xBFC00380, (char *) halt, sizeof (halt));
sim_write (sd, 0xBFC00400, (char *) halt, sizeof (halt));
-#endif
}
}