feat: support switching targets through monitor commands

This commit is contained in:
xinyangli 2024-08-09 13:10:47 +08:00
parent 407216b17c
commit b96a280e10
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk
3 changed files with 55 additions and 9 deletions

View file

@ -46,6 +46,8 @@ public:
bool check_all();
int sync_regs_to_ref(void);
std::string list_targets(void);
std::string switch_target(int index);
inline void halt() {
__atomic_store_n(&halt_status, true, __ATOMIC_RELAXED);