Skip to content
Snippets Groups Projects
Commit e0a1f6ef authored by patacongo's avatar patacongo
Browse files

Fix problems when debug enabled

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1193 42af7a65-404d-4744-a932-0658087f49c3
parent 0635285c
No related branches found
No related tags found
No related merge requests found
......@@ -148,7 +148,7 @@ void _exit(int status)
(void)irqsave();
slldbg("TCB=%p exitting\n", tcb);
slldbg("TCB=%p exitting\n", g_readytorun.head);
#if defined(CONFIG_DUMP_ON_EXIT) && defined(CONFIG_DEBUG)
slldbg("Other tasks:\n");
......@@ -164,7 +164,6 @@ void _exit(int status)
*/
tcb = (_TCB*)g_readytorun.head;
slldbg("New Active Task TCB=%p\n", tcb);
/* Then switch contexts */
......
......@@ -148,7 +148,7 @@ void _exit(int status)
(void)irqsave();
slldbg("TCB=%p exitting\n", tcb);
slldbg("TCB=%p exitting\n", g_readytorun.head);
#if defined(CONFIG_DUMP_ON_EXIT) && defined(CONFIG_DEBUG)
slldbg("Other tasks:\n");
......@@ -164,7 +164,6 @@ void _exit(int status)
*/
tcb = (_TCB*)g_readytorun.head;
slldbg("New Active Task TCB=%p\n", tcb);
/* Then switch contexts */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment