diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-04-14 07:38:06 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-04-14 07:38:06 +0000 |
commit | 5558e7e691534636afa28f6bf68bfd83530d8054 (patch) | |
tree | 4f830ca8baba1d6598b383d6f82566ef12493cfe /sim/avr/interp.c | |
parent | e1caee70eebe9b2aad731f87a94237568d6fa9ac (diff) | |
download | gdb-5558e7e691534636afa28f6bf68bfd83530d8054.zip gdb-5558e7e691534636afa28f6bf68bfd83530d8054.tar.gz gdb-5558e7e691534636afa28f6bf68bfd83530d8054.tar.bz2 |
sim: constify sim_write source buffer (part 2)
As pointed out by Sandra Loosemore, a bunch of targets define sim_write
themselves instead of using the common/ code. So constify them too.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/avr/interp.c')
-rw-r--r-- | sim/avr/interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/avr/interp.c b/sim/avr/interp.c index de94f2c..e297c77 100644 --- a/sim/avr/interp.c +++ b/sim/avr/interp.c @@ -1622,7 +1622,7 @@ sim_trace (SIM_DESC sd) } int -sim_write (SIM_DESC sd, SIM_ADDR addr, unsigned char *buffer, int size) +sim_write (SIM_DESC sd, SIM_ADDR addr, const unsigned char *buffer, int size) { int osize = size; |