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

Debug output should be conditioned on CONFIG_DEBUG_SCHED

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1551 42af7a65-404d-4744-a932-0658087f49c3
parent a20b9e63
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ static void ez80_sigsetup(FAR _TCB *tcb, sig_deliver_t sigdeliver, FAR chipreg_t
void up_schedule_sigaction(FAR _TCB *tcb, sig_deliver_t sigdeliver)
{
dbg("tcb=0x%p sigdeliver=0x%04x\n", tcb, (uint16)sigdeliver);
sdbg("tcb=0x%p sigdeliver=0x%04x\n", tcb, (uint16)sigdeliver);
/* Refuse to handle nested signal actions */
......
......@@ -96,8 +96,8 @@ void up_sigdeliver(void)
up_ledon(LED_SIGNAL);
dbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
sdbg("rtcb=%p sigdeliver=%p sigpendactionq.head=%p\n",
rtcb, rtcb->xcp.sigdeliver, rtcb->sigpendactionq.head);
ASSERT(rtcb->xcp.sigdeliver != NULL);
/* Save the real return state on the stack. */
......@@ -127,7 +127,7 @@ void up_sigdeliver(void)
* (it is probably EINTR).
*/
dbg("Resuming\n");
sdbg("Resuming\n");
rtcb->pterrno = saved_errno;
/* Then restore the correct state for this thread of
......
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