aboutsummaryrefslogtreecommitdiff
path: root/sim/common/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-23 00:24:05 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-24 01:24:10 -0400
commit596f88276cffbca82e3858da40db7e7cc7aa476e (patch)
treeb8288a6b337b88633b72a38decadfa5028df94bb /sim/common/ChangeLog
parent1bf57e9a2ee7f468c2b2c125bda35a5bcd5923ce (diff)
downloadfsf-binutils-gdb-596f88276cffbca82e3858da40db7e7cc7aa476e.zip
fsf-binutils-gdb-596f88276cffbca82e3858da40db7e7cc7aa476e.tar.gz
fsf-binutils-gdb-596f88276cffbca82e3858da40db7e7cc7aa476e.tar.bz2
sim: profile: disconnect from watchpoint core
The profile code was using STATE_WATCHPOINTS to get access to the PC, but we already have a standard method for getting the pc, so switch to that. This assumes that sizeof_pc is the same size as sim_cia, but 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.
Diffstat (limited to 'sim/common/ChangeLog')
-rw-r--r--sim/common/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 85cf559..e41203c 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,12 @@
2015-03-24 Mike Frysinger <vapier@gentoo.org>
+ * sim-profile.c (profile_pc_event): Get pc via sim_pc_get. Delete
+ usage of STATE_WATCHPOINTS.
+ (profile_pc_init): Delete STATE_WATCHPOINTS (sd)->pc check. Change
+ STATE_WATCHPOINTS (sd)->sizeof_pc to sizeof (sim_cia).
+
+2015-03-24 Mike Frysinger <vapier@gentoo.org>
+
* tconfig.h: Note SIM_HAVE_PROFILE is deprecated.
2015-03-24 Mike Frysinger <vapier@gentoo.org>