Revert previous change.
authorAndrew Cagney <cagney@redhat.com>
Sat, 20 Apr 2002 16:39:46 +0000 (16:39 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 20 Apr 2002 16:39:46 +0000 (16:39 +0000)
sim/mips/ChangeLog
sim/mips/interp.c

index ad49fcc..fd7abee 100644 (file)
@@ -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
index d56c2ef..5bd61a8 100644 (file)
@@ -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
     }
   }