aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32c')
-rw-r--r--sim/m32c/gdb-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/m32c/gdb-if.c b/sim/m32c/gdb-if.c
index 802eae9..a74dde9 100644
--- a/sim/m32c/gdb-if.c
+++ b/sim/m32c/gdb-if.c
@@ -403,7 +403,7 @@ sim_fetch_register (SIM_DESC sd, int regno, unsigned char *buf, int length)
}
int
-sim_store_register (SIM_DESC sd, int regno, unsigned char *buf, int length)
+sim_store_register (SIM_DESC sd, int regno, const unsigned char *buf, int length)
{
size_t size;