aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-04-20 16:39:46 +0000
committerAndrew Cagney <cagney@redhat.com>2002-04-20 16:39:46 +0000
commite1015982836dff64160d26425ef428997c1de624 (patch)
tree21482ef2d1c149484c039582035d1f7ec17b5856 /sim/mips
parentdeeb2cd7e64e391a428078ab554f4f8451f7ce71 (diff)
downloadgdb-e1015982836dff64160d26425ef428997c1de624.zip
gdb-e1015982836dff64160d26425ef428997c1de624.tar.gz
gdb-e1015982836dff64160d26425ef428997c1de624.tar.bz2
Revert previous change.
Diffstat (limited to 'sim/mips')
-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
}
}