This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim common/ChangeLog common/sim-core.h cri ...
- From: vapier at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 30 Mar 2010 20:38:27 -0000
- Subject: src/sim common/ChangeLog common/sim-core.h cri ...
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2010-03-30 20:38:27
Modified files:
sim/common : ChangeLog sim-core.h
sim/cris : devices.c
sim/frv : ChangeLog devices.c
sim/m32r : ChangeLog devices.c
Added files:
sim/cris : ChangeLog
Log message:
sim: update device_error() prototype
The device_error() takes a printf style string, so update the prototype
accordingly. The message should be const and it should use an attribute.
This fixes gcc warnings like:
sim-core.c: In function 'sim_core_map_attach':
sim-core.c:200: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type
sim-core.c:237: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type
sim-core.c: In function 'sim_core_attach':
sim-core.c:304: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type
sim-core.c:314: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type
sim-core.c:335: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type
sim-core.c:348: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/ChangeLog.diff?cvsroot=src&r1=1.198&r2=1.199
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-core.h.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/cris/ChangeLog.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/cris/devices.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/frv/ChangeLog.diff?cvsroot=src&r1=1.47&r2=1.48
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/frv/devices.c.diff?cvsroot=src&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/m32r/ChangeLog.diff?cvsroot=src&r1=1.45&r2=1.46
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/m32r/devices.c.diff?cvsroot=src&r1=1.6&r2=1.7