This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim/common ChangeLog sim-hrw.c sim-utils.h
- From: vapier at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 13 Apr 2010 20:28:20 -0000
- Subject: src/sim/common ChangeLog sim-hrw.c sim-utils.h
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2010-04-13 20:28:20
Modified files:
sim/common : ChangeLog sim-hrw.c sim-utils.h
Log message:
sim: constify sim_write source buffer
Most the sim write functions declare their source buffer const because
they only ever read from it. The global sim_write() function does not
follow this convention though which causes some warnings when trying to
pass it const strings or buffers.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/ChangeLog.diff?cvsroot=src&r1=1.213&r2=1.214
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-hrw.c.diff?cvsroot=src&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-utils.h.diff?cvsroot=src&r1=1.7&r2=1.8