aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
diff options
context:
space:
mode:
Diffstat (limited to 'sim/h8300')
-rw-r--r--sim/h8300/ChangeLog4
-rw-r--r--sim/h8300/compile.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index 38280e8..13bff7a 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-05 Mike Frysinger <vapier@gentoo.org>
+
+ * compile.c (sim_load): Add const to prog.
+
2014-02-17 Mike Frysinger <vapier@gentoo.org>
PR gdb/16450
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index 2c7316c..348cdbb 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -4974,7 +4974,7 @@ sim_close (SIM_DESC sd, int quitting)
/* Called by gdb to load a program into memory. */
SIM_RC
-sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
+sim_load (SIM_DESC sd, const char *prog, bfd *abfd, int from_tty)
{
bfd *prog_bfd;