]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/avr/ChangeLog
sim: watchpoints: use common sim_pc_get
authorMike Frysinger <vapier@gentoo.org>
Mon, 23 Mar 2015 04:44:54 +0000 (00:44 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 6 Feb 2021 17:12:51 +0000 (12:12 -0500)
commit4c0d76b9c420bb29cb3365c5edc9c78c50d2b231
tree1cbf362654cf185294337a5f27e6d3c94fdb9d65
parentcd89c53f6d475cd05a1858b9195770e347fb2e9e
sim: watchpoints: use common sim_pc_get

Few arches implement STATE_WATCHPOINTS()->pc while all of them implement
sim_pc_get.  Lets switch the sim-watch core for monitoring pc events to
the sim_pc_get API so this module works for all ports, and then we can
delete this old back channel of snooping in the port's cpu state -- the
code needs the pointer to the pc storage so that it can read out bytes
and compare them to the watchrange.

This also fixes the logic on multi-cpu sims by removing the limitation
of only being able to watch CPU0's state.
25 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-events.c
sim/common/sim-events.h
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