Revert previous change.

This commit is contained in:
Andrew Cagney 2002-04-20 16:39:46 +00:00
parent deeb2cd7e6
commit e101598283
2 changed files with 4 additions and 4 deletions

View 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

View 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
}
}