Skip to content

Commit 475e8f3

Browse files
committed
更新 chef_debug_target()
1 parent 64924a7 commit 475e8f3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/framework/chef.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,17 +322,23 @@ chef_debug_target (Target_t *target)
322322
}
323323

324324
say ("DEBUG Target Information:");
325+
printf (" Aliases: %s\n", target->aliases);
326+
325327
printf (" Get Function: %p\n", target->getfn);
326328
printf (" Set Function: %p\n", target->setfn);
327329
printf (" Reset Function: %p\n", target->resetfn);
330+
printf (" Prelude Function: %p\n", target->preludefn);
331+
332+
printf (" Inited?: %d\n", target->inited);
333+
328334
printf (" Sources: %p\n", target->sources);
329335
printf (" Sources Count: %lld\n", target->sources_n);
330336

331337
printf (" Chef: %p\n", target->chef);
332338
printf (" Cooks: %p\n", target->cooks);
333339
printf (" Cooks Count: %lld\n", target->cooks_n);
334-
printf (" Contributors: %p\n", target->contributors);
335-
printf (" Contributors Count: %lld\n", target->contributors_n);
340+
printf (" Sauciers: %p\n", target->sauciers);
341+
printf (" Sauciers Count: %lld\n", target->sauciers_n);
336342
#endif
337343
}
338344

0 commit comments

Comments
 (0)