Added custom rcmd to use with gdb 'monitor' command. Currently

implemented are 2 commands:

monitor sysc print_time

monitor sysc break 1 us
This commit is contained in:
2017-10-09 22:52:19 +02:00
parent 8c32247aa3
commit 026ad213a8
2 changed files with 58 additions and 7 deletions

View File

@ -50,6 +50,9 @@ class vm_if;
namespace arch {
template <typename BASE> struct riscv_hart_msu_vp;
}
namespace debugger {
struct target_adapter_if;
}
}
namespace sysc {
@ -120,6 +123,7 @@ protected:
std::unique_ptr<core_wrapper> cpu;
std::unique_ptr<iss::vm_if> vm;
sc_core::sc_time curr_clk;
iss::debugger::target_adapter_if* tgt_adapter;
};
} /* namespace SiFive */