aboutsummaryrefslogtreecommitdiff
path: root/sim/microblaze/sim-main.h
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/sim-main.h
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/sim-main.h')
-rw-r--r--sim/microblaze/sim-main.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/microblaze/sim-main.h b/sim/microblaze/sim-main.h
index 1b34f3a..e5d2b15 100644
--- a/sim/microblaze/sim-main.h
+++ b/sim/microblaze/sim-main.h
@@ -45,8 +45,6 @@ typedef struct _sim_cpu SIM_CPU;
int cycles;
int insts;
int exception;
- unsigned long msize;
- unsigned char *memory;
ubyte imm_enable;
half imm_high;
};