]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/avr/ChangeLog
sim: watchpoints: change sizeof_pc to sizeof(sim_cia)
authorMike Frysinger <vapier@gentoo.org>
Mon, 23 Mar 2015 04:30:52 +0000 (00:30 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 30 Jan 2021 15:14:21 +0000 (10:14 -0500)
commitd4e3adda1225d29b99f7bc81cc711806ecaacb70
tree9e28132b4b36b74d943160bfb5aa7dd03e19b494
parent18d4b488f4538f11cfdc618ddfb26eaf2c955fb7
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.
23 files changed:
sim/ChangeLog
sim/README-HACKING
sim/avr/ChangeLog
sim/avr/interp.c
sim/bfin/ChangeLog
sim/bfin/interp.c
sim/common/ChangeLog
sim/common/sim-watch.c
sim/common/sim-watch.h
sim/frv/ChangeLog
sim/frv/sim-if.c
sim/iq2000/ChangeLog
sim/iq2000/sim-if.c
sim/m32r/ChangeLog
sim/m32r/sim-if.c
sim/mips/ChangeLog
sim/mips/interp.c
sim/mn10300/ChangeLog
sim/mn10300/interp.c
sim/moxie/ChangeLog
sim/moxie/interp.c
sim/v850/ChangeLog
sim/v850/interp.c