diff options
author | Elmar Melcher <elmar@dsc.ufcg.edu.br> | 2021-07-02 11:03:27 -0300 |
---|---|---|
committer | emelcher <elmar@dsc.ufcg.edu.br> | 2021-08-03 10:19:27 -0300 |
commit | e30c9c90efa415a493ba2984a777bf53d1b8cbca (patch) | |
tree | 4c74267beaa9686e6d8ddadc0252c8372584184b /riscv/interactive.cc | |
parent | e767bde210940b0a92e0f4c034c872759005ba5b (diff) | |
download | spike-e30c9c90efa415a493ba2984a777bf53d1b8cbca.zip spike-e30c9c90efa415a493ba2984a777bf53d1b8cbca.tar.gz spike-e30c9c90efa415a493ba2984a777bf53d1b8cbca.tar.bz2 |
declare socket properties in sim_t
Diffstat (limited to 'riscv/interactive.cc')
-rw-r--r-- | riscv/interactive.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/interactive.cc b/riscv/interactive.cc index 5ed87d3..81809b3 100644 --- a/riscv/interactive.cc +++ b/riscv/interactive.cc @@ -1,8 +1,8 @@ // See LICENSE for license details. +#include "sim.h" #include "decode.h" #include "disasm.h" -#include "sim.h" #include "mmu.h" #include <sys/mman.h> #include <termios.h> @@ -422,7 +422,7 @@ void sim_t::interactive_until(const std::string& cmd, const std::vector<std::str // mask bits above max_xlen int max_xlen = procs[strtol(args[1].c_str(),NULL,10)]->get_max_xlen(); if (max_xlen == 32) val &= 0xFFFFFFFF; - + std::vector<std::string> args2; args2 = std::vector<std::string>(args.begin()+1,args.end()-1); |