old-cross-binutils/sim/common
Mike Frysinger cc25892bf4 sim: tweak load buffer type to avoid signed warnings
The sim_load_file func creates a buffer with arbitrary data in it (reads
it via the bfd).  It then passes it on to a sim_write_fn which expects a
unsigned char buffer.  Since sim_load_file itself doesn't care about the
contents, tweak the type to avoid signed mismatch warnings from gcc:

common/sim-load.c: In function ‘sim_load_file’:
common/sim-load.c:143: warning: pointer targets in passing argument 3 of ‘do_write’ differ in signedness
common/sim-load.c:143: note: expected ‘const unsigned char *’ but argument is of type ‘char *’

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-05 17:13:36 +00:00
..
aclocal.m4 * common/aclocal.m4: Add include of ../../config/zlib.m4. 2009-11-24 22:58:08 +00:00
callback.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-accfp.c common/ 2010-01-25 04:08:52 +00:00
cgen-cpu.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-defs.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-engine.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-fpu.c
cgen-fpu.h common/ 2010-01-25 04:08:52 +00:00
cgen-mem.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-ops.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-par.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-par.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-run.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-scache.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-scache.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-sim.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-trace.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-trace.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-types.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-utils.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen.sh * Make-common.in (CGEN_CPU_EXTR,CGEN_CPU_READ): Pass canonical 2009-07-07 08:09:19 +00:00
ChangeLog sim: tweak load buffer type to avoid signed warnings 2011-01-05 17:13:36 +00:00
common.m4 * common/aclocal.m4: Add include of ../../config/zlib.m4. 2009-11-24 22:58:08 +00:00
config.in sim: use socklen_t with accept() 2010-03-30 23:09:48 +00:00
configure sim: use socklen_t with accept() 2010-03-30 23:09:48 +00:00
configure.ac sim: use socklen_t with accept() 2010-03-30 23:09:48 +00:00
dv-core.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
dv-glue.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
dv-pal.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
dv-sockser.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
dv-sockser.h sim: dv-sockser: add a write buffer variant 2010-11-16 19:10:29 +00:00
gdbinit.in
genmloop.sh run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gennltvals.sh
gentmap.c
gentvals.sh
hw-alloc.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-alloc.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-base.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-base.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-device.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-device.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-events.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-events.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-handles.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-handles.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-instances.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-instances.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-main.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-ports.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-ports.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-properties.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-properties.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-tree.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-tree.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
Make-common.in run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
Makefile.in run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
nltvals.def
nrun.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
run-sim.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
run.1 Update the copyright year for most remaining files in GDB 2011-01-05 05:09:55 +00:00
run.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-abort.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-alu.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-arange.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-arange.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-assert.h
sim-base.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-basics.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-bits.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-bits.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-config.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-config.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-core.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-core.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-cpu.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-cpu.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-endian.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-endian.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-engine.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-engine.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-events.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-events.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-fpu.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-fpu.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-hload.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-hrw.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-hw.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-hw.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-info.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-inline.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-inline.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-io.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-io.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-load.c sim: tweak load buffer type to avoid signed warnings 2011-01-05 17:13:36 +00:00
sim-memopt.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-memopt.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-model.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-model.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-module.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-module.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-n-bits.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-n-core.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-n-endian.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-options.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-options.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-profile.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-profile.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-reason.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-reg.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-resume.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-run.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-signal.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-signal.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-stop.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-trace.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-trace.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-types.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-utils.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-utils.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-watch.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-watch.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
syscall.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
tconfig.in
version.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00