This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim/common ChangeLog sim-fpu.c
- From: vapier at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 10 Apr 2010 20:29:55 -0000
- Subject: src/sim/common ChangeLog sim-fpu.c
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2010-04-10 20:29:55
Modified files:
sim/common : ChangeLog sim-fpu.c
Log message:
sim: constify sim_fpu_print_status
I've committed the following patch as obvious. The local "prefix"
variable is only assigned const strings, and only passed to printf()
functions, so add "const" to avoid gcc warnings:
common/sim-fpu.c: In function 'sim_fpu_print_status':
common/sim-fpu.c:2508: warning: initialization discards qualifiers
from pointer target type
common/sim-fpu.c:2566: warning: assignment discards qualifiers
from pointer target type
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.208&r2=1.209
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-fpu.c.diff?cvsroot=src&r1=1.17&r2=1.18