add run in gdb menu action

This commit is contained in:
2026-04-20 23:52:06 +02:00
parent 495f74ade7
commit 19048ed4bf
5 changed files with 106 additions and 23 deletions

View File

@ -25,9 +25,11 @@ extern "C" EXPORT("wasm_module") int wasm_module(void) {
fail_stop_trace();
if (X == 100) {
HOST_PRINT("result correct.\n");
fail_marker_positive();
return 0;
} else {
HOST_PRINT("result incorrect.\n");
fail_marker_negative();
return 1;
}