From 4c0d76b9c420bb29cb3365c5edc9c78c50d2b231 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 23 Mar 2015 00:44:54 -0400 Subject: 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. --- sim/mn10300/ChangeLog | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sim/mn10300/ChangeLog') diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 44f8cbe..7eefac9 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,5 +1,9 @@ 2021-02-06 Mike Frysinger + * interp.c (sim_open): Delete call to STATE_WATCHPOINTS. + +2021-02-06 Mike Frysinger + * configure: Regenerate. 2021-01-30 Mike Frysinger @@ -1573,4 +1577,3 @@ Mon Nov 25 12:46:38 1996 Jeffrey A Law (law@cygnus.com) * Makefile.in, config.in, configure, configure.in: New files. * gencode.c, interp.c, mn10300_sim.h, simops.c: New files. - -- cgit v1.1