diff options
Diffstat (limited to 'include/gdb')
-rw-r--r-- | include/gdb/ChangeLog | 4 | ||||
-rw-r--r-- | include/gdb/remote-sim.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog index 3b84cad..119264e 100644 --- a/include/gdb/ChangeLog +++ b/include/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-04-13 Mike Frysinger <vapier@gentoo.org> + + * remote-sim.h (sim_write): Add const to buf arg. + 2009-11-24 DJ Delorie <dj@redhat.com> * sim-rx.h: New. diff --git a/include/gdb/remote-sim.h b/include/gdb/remote-sim.h index cfb1c11..37f029a 100644 --- a/include/gdb/remote-sim.h +++ b/include/gdb/remote-sim.h @@ -175,7 +175,7 @@ int sim_read PARAMS ((SIM_DESC sd, SIM_ADDR mem, unsigned char *buf, int length) memory. Store bytes starting at virtual address MEM. Result is number of bytes write, or zero if error. */ -int sim_write PARAMS ((SIM_DESC sd, SIM_ADDR mem, unsigned char *buf, int length)); +int sim_write PARAMS ((SIM_DESC sd, SIM_ADDR mem, const unsigned char *buf, int length)); /* Fetch register REGNO storing its raw (target endian) value in the |