summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-11 19:34:07 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-11 19:34:07 +0000
commitbc88488fa208fd61daec66f5a7258d18e0b71386 (patch)
tree614abcd9922fd22936580eed7550f18a22abb91c /nuttx/arch/sh
parent527e29e0301f1dfd8c1bd5ff9ac7bae267cfdb62 (diff)
downloadpx4-nuttx-bc88488fa208fd61daec66f5a7258d18e0b71386.tar.gz
px4-nuttx-bc88488fa208fd61daec66f5a7258d18e0b71386.tar.bz2
px4-nuttx-bc88488fa208fd61daec66f5a7258d18e0b71386.zip
Fix problems when debug enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1193 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sh')
-rw-r--r--nuttx/arch/sh/src/common/up_exit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nuttx/arch/sh/src/common/up_exit.c b/nuttx/arch/sh/src/common/up_exit.c
index 30506c3e5..b362880ec 100644
--- a/nuttx/arch/sh/src/common/up_exit.c
+++ b/nuttx/arch/sh/src/common/up_exit.c
@@ -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 */