binutils-gdb/sim/common
Mike Frysinger d4e3adda12 sim: watchpoints: change sizeof_pc to sizeof(sim_cia)
Existing ports already have sizeof_pc set to the same size as sim_cia,
so simply make that part of the core code.  We already assume this in
places by way of sim_pc_{get,set}, and this is how it's documented in
the sim-base.h API.

There is code to allow sims to pick different register word sizes from
address sizes, but most ports use the defaults for both (32-bits), and
the few that support multiple register sizes never change the address
size (so address defaults to register).  I can't think of any machine
where the register hardware size would be larger than the address word
size either.  We have ABIs that behave that way (e.g. x32), but the
hardware is still equivalent register sized.
2021-01-30 10:14:21 -05:00
..
acinclude.m4 sim: always call SIM_AC_OPTION_WARNINGS 2021-01-11 09:18:27 -05:00
aclocal.m4
callback.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
cgen-accfp.c
cgen-cpu.h
cgen-defs.h
cgen-engine.h
cgen-fpu.c
cgen-fpu.h
cgen-mem.h
cgen-ops.h
cgen-par.c sim: common: add missing stdlib.h for abort() 2021-01-09 02:45:14 -05:00
cgen-par.h
cgen-run.c
cgen-scache.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
cgen-scache.h
cgen-sim.h
cgen-trace.c sim: common: add missing stdlib.h for abort() 2021-01-09 02:45:14 -05:00
cgen-trace.h
cgen-types.h
cgen-utils.c
cgen.sh
ChangeLog sim: watchpoints: change sizeof_pc to sizeof(sim_cia) 2021-01-30 10:14:21 -05:00
create-version.sh sim: common: simplify version script 2021-01-18 12:25:57 -05:00
dv-cfi.c
dv-cfi.h
dv-core.c
dv-glue.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
dv-pal.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
dv-sockser.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
dv-sockser.h
gdbinit.in
genmloop.sh
gennltvals.sh sim: common: sort nltvals.def 2021-01-30 01:00:07 -05:00
gentmap.c
hw-alloc.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-alloc.h
hw-base.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-base.h
hw-device.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-device.h
hw-events.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-events.h
hw-handles.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-handles.h
hw-instances.c
hw-instances.h
hw-main.h
hw-ports.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-ports.h
hw-properties.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-properties.h
hw-tree.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
hw-tree.h
Make-common.in sim: common: simplify version script 2021-01-18 12:25:57 -05:00
nltvals.def sim: common: sort nltvals.def 2021-01-30 01:00:07 -05:00
nrun.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
run.1
sim-abort.c sim: common: add missing stdlib.h for abort() 2021-01-09 02:45:14 -05:00
sim-alu.h
sim-arange.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-arange.h
sim-assert.h
sim-base.h
sim-basics.h sim: common: clean up asprintf includes a bit 2021-01-09 09:32:34 -05:00
sim-bits.c
sim-bits.h
sim-close.c
sim-command.c
sim-config.c
sim-config.h
sim-core.c sim: common: fix printf formats 2021-01-11 08:27:40 -05:00
sim-core.h
sim-cpu.c
sim-cpu.h
sim-endian.c
sim-endian.h
sim-engine.c
sim-engine.h
sim-events.c sim: watch: fix pc watchpoints on little endian host systems 2021-01-13 05:52:51 -05:00
sim-events.h sim: watch: fix pc watchpoints on little endian host systems 2021-01-13 05:52:51 -05:00
sim-fpu.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-fpu.h
sim-hload.c
sim-hrw.c
sim-hw.c sim: hw: replace fgets with getline 2021-01-30 01:07:58 -05:00
sim-hw.h
sim-info.c
sim-inline.c
sim-inline.h
sim-io.c
sim-io.h
sim-load.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-memopt.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-memopt.h
sim-model.c
sim-model.h
sim-module.c
sim-module.h
sim-n-bits.h
sim-n-core.h
sim-n-endian.h
sim-options.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-options.h
sim-profile.c sim: profile: fix bucketing with 64-bit targets 2021-01-30 01:15:04 -05:00
sim-profile.h sim: common: use #error properly 2021-01-12 03:51:44 -05:00
sim-reason.c
sim-reg.c
sim-resume.c
sim-run.c
sim-signal.c
sim-signal.h
sim-stop.c
sim-syscall.c
sim-syscall.h
sim-trace.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-trace.h
sim-types.h
sim-utils.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
sim-utils.h
sim-watch.c sim: watchpoints: change sizeof_pc to sizeof(sim_cia) 2021-01-30 10:14:21 -05:00
sim-watch.h sim: watchpoints: change sizeof_pc to sizeof(sim_cia) 2021-01-30 10:14:21 -05:00
syscall.c sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
version.h