(gdb) p *(bestSplit->param->mu)@9
$6 = {0, 0, 0, 0, 0, 0, 0, 0, 0}
(gdb) p *(bestSplit->param->p)@(bestSplit->param->numClusters)
$8 = {0, 0, 0, 0, 0, 0, 0, 0, 0}
Just what I've been dreaming of! The syntax: "*" <array name> "@" <number of elements>. See
Debugging with GDB -- Arrays
No comments:
Post a Comment