Explorar el Código

Don't crash if there is no codelet name

Samuel Thibault hace 5 años
padre
commit
01d75cf785
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tools/gdbinit

+ 1 - 1
tools/gdbinit

@@ -72,7 +72,7 @@ define starpu-print-task
     printf "\tname:\t\t\t\t<%s>\n", $task->name
   end
   printf "\tcodelet:\t\t\t<%p>\n", $task->cl
-  if $task->cl
+  if $task->cl && $task->cl->name
     printf "\tcodelet name:\t\t\t<%s>\n", $task->cl->name
   end
   printf "\tcallback:\t\t\t<%p>\n", $task->callback_func