Fix problems when debug enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1193 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
0635285c43
commit
e0a1f6ef60
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue