X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=riscv%2Finteractive.cc;h=d24ec50714e9d707fbb1be793f09b6dc50500c5c;hb=906bbfae48713b9d7256eab37613e5b0ddc08133;hp=69f2461d69be40f5f497858df583b88358085910;hpb=127cf78387447aba8f6bd19783a0c66ae5f3791a;p=riscv-isa-sim.git diff --git a/riscv/interactive.cc b/riscv/interactive.cc index 69f2461..d24ec50 100644 --- a/riscv/interactive.cc +++ b/riscv/interactive.cc @@ -100,6 +100,8 @@ void sim_t::interactive() { if(funcs.count(cmd)) (this->*funcs[cmd])(cmd, args); + else + fprintf(stderr, "Unknown command %s\n", cmd.c_str()); } catch(trap_t t) {} }