]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/iq2000/iq2000.c
sim: common: change sim_read & sim_write to use void* buffers
authorMike Frysinger <vapier@gentoo.org>
Wed, 26 Oct 2022 16:08:30 +0000 (21:53 +0545)
committerMike Frysinger <vapier@gentoo.org>
Mon, 31 Oct 2022 15:39:39 +0000 (21:24 +0545)
commit5b94c3808140206d3b5204a3780f294d590cc458
tree4b5bea9bdc30a6ab503bd3d1c289b5e6f20af836
parentf2462532e24ebfc137598d73ee6541948121f040
sim: common: change sim_read & sim_write to use void* buffers

When reading/writing arbitrary data to the system's memory, the unsigned
char pointer type doesn't make that much sense.  Switch it to void so we
align a bit with standard C library read/write functions, and to avoid
having to sprinkle casts everywhere.
21 files changed:
include/sim/sim.h
sim/arm/wrapper.c
sim/avr/interp.c
sim/bfin/dv-bfin_dma.c
sim/bfin/dv-bfin_mmu.c
sim/bfin/interp.c
sim/common/sim-hrw.c
sim/common/sim-utils.h
sim/cris/sim-if.c
sim/d10v/interp.c
sim/erc32/interf.c
sim/h8300/compile.c
sim/iq2000/iq2000.c
sim/m32c/gdb-if.c
sim/mips/interp.c
sim/ppc/sim_calls.c
sim/riscv/sim-main.c
sim/rl78/gdb-if.c
sim/rx/gdb-if.c
sim/sh/interp.c
sim/v850/simops.c