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:
patacongo 2008-11-11 19:34:07 +00:00
parent 0635285c43
commit e0a1f6ef60
2 changed files with 2 additions and 4 deletions

View File

@ -148,7 +148,7 @@ void _exit(int status)
(void)irqsave(); (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) #if defined(CONFIG_DUMP_ON_EXIT) && defined(CONFIG_DEBUG)
slldbg("Other tasks:\n"); slldbg("Other tasks:\n");
@ -164,7 +164,6 @@ void _exit(int status)
*/ */
tcb = (_TCB*)g_readytorun.head; tcb = (_TCB*)g_readytorun.head;
slldbg("New Active Task TCB=%p\n", tcb);
/* Then switch contexts */ /* Then switch contexts */

View File

@ -148,7 +148,7 @@ void _exit(int status)
(void)irqsave(); (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) #if defined(CONFIG_DUMP_ON_EXIT) && defined(CONFIG_DEBUG)
slldbg("Other tasks:\n"); slldbg("Other tasks:\n");
@ -164,7 +164,6 @@ void _exit(int status)
*/ */
tcb = (_TCB*)g_readytorun.head; tcb = (_TCB*)g_readytorun.head;
slldbg("New Active Task TCB=%p\n", tcb);
/* Then switch contexts */ /* Then switch contexts */