Index: sim/mn10300/interp.c |
diff --git a/sim/mn10300/interp.c b/sim/mn10300/interp.c |
index e06ae59079352669f7e537ffb0c1fe87ff28b448..577cc7a0d00b8359f29bfaf4942fde2ff905e669 100644 |
--- a/sim/mn10300/interp.c |
+++ b/sim/mn10300/interp.c |
@@ -1,10 +1,10 @@ |
+#include "config.h" |
#include <signal.h> |
#include "sim-main.h" |
#include "sim-options.h" |
#include "sim-hw.h" |
-#include "sysdep.h" |
#include "bfd.h" |
#include "sim-assert.h" |
@@ -383,7 +383,7 @@ sim_fetch_register (SIM_DESC sd, |
int length) |
{ |
put_word (memory, State.regs[rn]); |
- return -1; |
+ return length; |
} |
int |