You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/03/27 20:32:33 UTC

[GitHub] [incubator-nuttx] v01d commented on a change in pull request #3205: sim: do not exit simulator on up_assert (just let the task exit)

v01d commented on a change in pull request #3205:
URL: https://github.com/apache/incubator-nuttx/pull/3205#discussion_r602788978



##########
File path: arch/sim/src/sim/up_head.c
##########
@@ -125,11 +125,6 @@ void up_assert(const char *filename, int line)
 #ifdef CONFIG_BOARD_CRASHDUMP
   board_crashdump(sim_getsp(), this_task(), filename, line);
 #endif
-
-  /* Exit the simulation */
-
-  g_exitcode = EXIT_FAILURE;
-  longjmp(g_simabort, 1);
 }

Review comment:
       So what would be the proper approach? 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org