diff options
author | Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk> | 2018-10-17 12:42:57 +0100 |
---|---|---|
committer | Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk> | 2018-10-18 16:09:32 +0100 |
commit | dc6871efeff5db90e476c963ac62e7fdc360654a (patch) | |
tree | 331b7704bd64bc80ee5e4684532ddf8102dfcf60 /riscv/sim.h | |
parent | f54ff67b56592a28ce5b5ed729ceb6ad22f7cb8d (diff) | |
download | riscv-isa-sim-dc6871efeff5db90e476c963ac62e7fdc360654a.zip riscv-isa-sim-dc6871efeff5db90e476c963ac62e7fdc360654a.tar.gz riscv-isa-sim-dc6871efeff5db90e476c963ac62e7fdc360654a.tar.bz2 |
Provide a noisy until interactive command
This is useful for example when the trace until a PC value needs
to be extracted (#246)
Diffstat (limited to 'riscv/sim.h')
-rw-r--r-- | riscv/sim.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/riscv/sim.h b/riscv/sim.h index b847bdb..e42808b 100644 --- a/riscv/sim.h +++ b/riscv/sim.h @@ -90,7 +90,9 @@ private: void interactive_pc(const std::string& cmd, const std::vector<std::string>& args); void interactive_mem(const std::string& cmd, const std::vector<std::string>& args); void interactive_str(const std::string& cmd, const std::vector<std::string>& args); - void interactive_until(const std::string& cmd, const std::vector<std::string>& args); + void interactive_until(const std::string& cmd, const std::vector<std::string>& args, bool noisy); + void interactive_until_silent(const std::string& cmd, const std::vector<std::string>& args); + void interactive_until_noisy(const std::string& cmd, const std::vector<std::string>& args); reg_t get_reg(const std::vector<std::string>& args); freg_t get_freg(const std::vector<std::string>& args); reg_t get_mem(const std::vector<std::string>& args); |