From e44412d0c1d2705a93d38623f4f61aa9ea031af5 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Sun, 3 Nov 2013 06:46:13 -0800 Subject: [PATCH] added debug information to msg_send (similar to msg_send_int) --- core/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/msg.c b/core/msg.c index 8201153896..40846fe0f4 100644 --- a/core/msg.c +++ b/core/msg.c @@ -104,7 +104,7 @@ int msg_send(msg_t *m, unsigned int target_pid, bool block) DEBUG("msg_send: %s: Back from send block.\n", active_thread->name); } else { - DEBUG("msg_send: %s: Direct msg copy.\n", active_thread->name); + DEBUG("msg_send: %s: Direct msg copy from %i to %i.\n", active_thread->name, thread_getpid(), target_pid); /* copy msg to target */ msg_t *target_message = (msg_t*) target->wait_data; *target_message = *m;