From e1015982836dff64160d26425ef428997c1de624 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 20 Apr 2002 16:39:46 +0000 Subject: [PATCH] Revert previous change. --- sim/mips/ChangeLog | 4 ++++ sim/mips/interp.c | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index ad49fccd6fb..fd7abee66ae 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2002-04-20 Andrew Cagney + + * interp.c (sim_open): Revert previous change. + 2002-04-18 Alexandre Oliva * 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 d56c2ef56ce..5bd61a8a824 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 } } -- 2.30.2