fix: exit execution when first difftest failed
All checks were successful
Build nix packages / build-matrix (default) (push) Successful in 2m5s
All checks were successful
Build nix packages / build-matrix (default) (push) Successful in 2m5s
This commit is contained in:
parent
9ba8c3d97b
commit
507d20390c
4 changed files with 37 additions and 22 deletions
|
@ -23,12 +23,6 @@ private:
|
|||
return __atomic_load_n(&halt_status, __ATOMIC_RELAXED);
|
||||
};
|
||||
|
||||
struct ExecRet {
|
||||
bool at_breakpoint;
|
||||
bool do_difftest;
|
||||
};
|
||||
ExecRet exec(size_t n, gdb_action_t *ret);
|
||||
|
||||
public:
|
||||
Difftest(Target &&dut, std::vector<Target> &&refs);
|
||||
|
||||
|
@ -44,6 +38,13 @@ public:
|
|||
bool set_bp(size_t addr, bp_type_t type);
|
||||
bool del_bp(size_t addr, bp_type_t type);
|
||||
|
||||
struct ExecRet {
|
||||
bool at_breakpoint;
|
||||
bool do_difftest;
|
||||
bool check_failed;
|
||||
};
|
||||
ExecRet exec(size_t n, gdb_action_t *ret);
|
||||
|
||||
bool check_all();
|
||||
int sync_regs_to_ref(void);
|
||||
std::string list_targets(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue