Skip to content

Commit

Permalink
Merge branch 'fflush' into 'master'
Browse files Browse the repository at this point in the history
Added fflush after semi-hosting write to see if this fixes some issues in CI

See merge request gwt_sdk_developer/gvsoc!24
  • Loading branch information
GERMAIN HAUGOU committed May 19, 2022
2 parents 0bfcf03 + 4dd69ef commit c93da93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/cpu/iss/vp/src/iss_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,8 @@ void iss_wrapper::handle_riscv_ebreak()
if (write(args[0], (void *)(long)buffer, iter_size) != iter_size)
break;

fflush(NULL);

size -= iter_size;
addr += iter_size;
}
Expand Down

0 comments on commit c93da93

Please sign in to comment.