From 3bbce450315dece506aacf0662cbefa6f6948d4a Mon Sep 17 00:00:00 2001 From: Weiwei Li Date: Sun, 31 Jul 2022 20:38:50 +0800 Subject: Fix description for mem related interactive commands Add missed description for untiln interactive commands --- riscv/interactive.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/riscv/interactive.cc b/riscv/interactive.cc index 4b29069..0b71507 100644 --- a/riscv/interactive.cc +++ b/riscv/interactive.cc @@ -211,15 +211,17 @@ void sim_t::interactive_help(const std::string& cmd, const std::vector # Display double precision in \n" "vreg [reg] # Display vector [reg] (all if omitted) in \n" "pc # Show current PC in \n" - "mem # Show contents of physical memory\n" - "str # Show NUL-terminated C string at in core \n" + "mem [core] # Show contents of virtual memory in [core] (physical memory if omitted)\n" + "str [core] # Show NUL-terminated C string at virtual address in [core] (physical address if omitted)\n" "until reg # Stop when in hits \n" + "untiln reg # Run noisy and stop when in hits \n" "until pc # Stop when PC in hits \n" "untiln pc # Run noisy and stop when PC in hits \n" - "until mem # Stop when memory becomes \n" + "until mem [core] # Stop when virtual memory in [core] (physical address if omitted) becomes \n" + "untiln mem [core] # Run noisy and stop when virtual memory in [core] (physical address if omitted) becomes \n" "while reg # Run while in is \n" "while pc # Run while PC in is \n" - "while mem # Run while memory is \n" + "while mem [core] # Run while virtual memory in [core] (physical memory if omitted) is \n" "run [count] # Resume noisy execution (until CTRL+C, or [count] insns)\n" "r [count] Alias for run\n" "rs [count] # Resume silent execution (until CTRL+C, or [count] insns)\n" -- cgit v1.1