diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-04-12 05:49:31 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-17 03:15:43 -0400 |
commit | c85fc61074e9fab1bafbae97ea4628c7bffaaf76 (patch) | |
tree | 26ee2dd43eb6779e09657ada35d32e650af29b7c /sim/microblaze/sim-main.h | |
parent | 034685f9ce92cf6dfb6656745365b6a5904a8e84 (diff) | |
download | gdb-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.h | 2 |
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; }; |