diff options
author | Tim Newsome <tim@sifive.com> | 2017-02-12 10:20:37 -0800 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2017-02-12 10:20:37 -0800 |
commit | f7f110504072dc601a24a4391cbf3b0091a47a12 (patch) | |
tree | 4f1a23d0aa5d1cf2d83192a9df3336404f28f489 /riscv/debug_module.h | |
parent | b4de20a92e48e9e08872323675bdd4bbf07b37d6 (diff) | |
download | spike-f7f110504072dc601a24a4391cbf3b0091a47a12.zip spike-f7f110504072dc601a24a4391cbf3b0091a47a12.tar.gz spike-f7f110504072dc601a24a4391cbf3b0091a47a12.tar.bz2 |
Fix stack overflow and support --rbb-port=0
Diffstat (limited to 'riscv/debug_module.h')
-rw-r--r-- | riscv/debug_module.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/debug_module.h b/riscv/debug_module.h index 934463f..5fae6a5 100644 --- a/riscv/debug_module.h +++ b/riscv/debug_module.h @@ -70,6 +70,7 @@ class debug_module_t : public abstract_device_t // Track which halt notifications from debugger to module are set. std::set<uint32_t> halt_notification; uint8_t debug_rom_entry[1024 * 4]; + bool halted[1024]; void write32(uint8_t *rom, unsigned int index, uint32_t value); uint32_t read32(uint8_t *rom, unsigned int index); |