aboutsummaryrefslogtreecommitdiff
path: root/sim/microblaze/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-12 05:49:31 -0400
committerMike Frysinger <vapier@gentoo.org>2015-04-17 03:15:43 -0400
commitc85fc61074e9fab1bafbae97ea4628c7bffaaf76 (patch)
tree26ee2dd43eb6779e09657ada35d32e650af29b7c /sim/microblaze/ChangeLog
parent034685f9ce92cf6dfb6656745365b6a5904a8e84 (diff)
downloadgdb-c85fc61074e9fab1bafbae97ea4628c7bffaaf76.zip
gdb-c85fc61074e9fab1bafbae97ea4628c7bffaaf76.tar.gz
gdb-c85fc61074e9fab1bafbae97ea4628c7bffaaf76.tar.bz2
sim: microblaze: switch to common memory functions
Re-use the existing memory core that handles reads/writes. This drops support for the dumpmem command, but gdb itself has support for dumping memory regions. The verbose command is converted to the common --verbose flag since only two call sites use it now. Support for the clearstats command is dropped entirely, but no other sim really does this, and the same thing can be done by reloading. If it's important (clearing cycle stats) to someone, we can add a common function for it.
Diffstat (limited to 'sim/microblaze/ChangeLog')
-rw-r--r--sim/microblaze/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
index 8ac3a26..7bfb657 100644
--- a/sim/microblaze/ChangeLog
+++ b/sim/microblaze/ChangeLog
@@ -1,5 +1,25 @@
2015-04-17 Mike Frysinger <vapier@gentoo.org>
+ * interp.c (issue_messages, wbat, wlat, what, rbat, rlat, rhat,
+ sim_memory_size, MEM_SIZE_FLOOR, sim_size, init_pointers, sim_write,
+ sim_read, sim_do_command): Delete.
+ (set_initial_gprs): Delete memsize and call to init_pointers.
+ (sim_resume): Change rlat to MEM_RD_WORD. Change issue_messages to
+ STATE_VERBOSE_P.
+ (sim_store_register, sim_fetch_register): Drop call to init_pointers.
+ (sim_open): Drop issue_messages setup. Delete osize and call to
+ sim_size. Call sim_do_commandf to set the memory size.
+ * microblaze.h (MEM): Delete.
+ (MEM_RD_BYTE): Change rbat to sim_core_read_1.
+ (MEM_RD_HALF): Change rhat to sim_core_read_2.
+ (MEM_RD_WORD): Change rlat to sim_core_read_4.
+ (MEM_WR_BYTE): Change wbat to sim_core_write_1.
+ (MEM_WR_HALF): Change what to sim_core_write_2.
+ (MEM_WR_WORD): Change wlat to sim_core_write_4.
+ * sim-main.h (microblaze_regset): Delete msize and memory.
+
+2015-04-17 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (CIA_GET, CIA_SET): Delete.
2015-04-17 Mike Frysinger <vapier@gentoo.org>