Make s390x stopping mechanism work

This commit is contained in:
mio
2021-12-27 23:48:20 +01:00
parent a38151bf77
commit 034a1aa5f2
7 changed files with 22 additions and 6 deletions

View File

@ -65,7 +65,8 @@ static void test_s390x(void)
// finishing all the code.
err = uc_emu_start(uc, ADDRESS, ADDRESS + sizeof(S390X_CODE) - 1, 0, 0);
if (err) {
printf("Failed on uc_emu_start() with error returned: %u\n", err);
printf("Failed on uc_emu_start() with error returned: %u (%s)\n", err,
uc_strerror(err));
}
// now print out some registers