This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim/common ChangeLog dv-core.c dv-glue.c d ...
- From: vapier at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 12 Apr 2010 16:53:33 -0000
- Subject: src/sim/common ChangeLog dv-core.c dv-glue.c d ...
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2010-04-12 16:53:33
Modified files:
sim/common : ChangeLog dv-core.c dv-glue.c dv-pal.c
dv-sockser.c hw-ports.c sim-hw.c sim-model.c
sim-options.c sim-profile.c sim-trace.c
sim-watch.c
Log message:
sim: add missing values to array initializers
The sim code has a lot of static initializer for options and devices, but
since they aren't using newer struct style, they have to specify a value
for every option otherwise gcc spits a lot of warnings about "missing
initializer". So add NULL/0 stubs for pointers/values.
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.211&r2=1.212
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/dv-core.c.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/dv-glue.c.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/dv-pal.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/dv-sockser.c.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/hw-ports.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-hw.c.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-model.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-options.c.diff?cvsroot=src&r1=1.18&r2=1.19
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-profile.c.diff?cvsroot=src&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-trace.c.diff?cvsroot=src&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-watch.c.diff?cvsroot=src&r1=1.7&r2=1.8