aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
diff options
context:
space:
mode:
Diffstat (limited to 'sim/h8300')
-rw-r--r--sim/h8300/ChangeLog5
-rw-r--r--sim/h8300/compile.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index adda60e..81d9d01 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-11 Andrew Burgess <aburgess@broadcom.com>
+
+ * compile.c (sim_store_register): Update return value to
+ match new API.
+
2010-04-14 Mike Frysinger <vapier@gentoo.org>
* compile.c (sim_write): Add const to buffer arg.
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index 44d60f6..b249080 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -4715,7 +4715,7 @@ sim_store_register (SIM_DESC sd, int rn, unsigned char *value, int length)
h8_set_ticks (sd, longval);
break;
}
- return -1;
+ return length;
}
int