Index: kernel/generic/include/udebug/udebug.h
===================================================================
--- kernel/generic/include/udebug/udebug.h	(revision 80487bc530704837cb7bf8a502bf18db19969479)
+++ kernel/generic/include/udebug/udebug.h	(revision 9c9c6a9b643e174ec115da13d7e7545e5323bedc)
@@ -107,4 +107,17 @@
  */
 UDEBUG_M_THREAD_READ,
+
+/** Read the name of the debugged task.
+ *
+ * - ARG2 - destination address in the caller's address space
+ * - ARG3 - size of receiving buffer in bytes
+ *
+ * The kernel fills the buffer with a non-terminated string.
+ *
+ * - ARG2 - number of bytes that were actually copied
+ * - ARG3 - number of bytes of the complete data
+ *
+ */
+UDEBUG_M_NAME_READ,
 
 /** Read the list of the debugged task's address space areas.
