更新 chef_debug_target()

This commit is contained in:
Aoran Zeng 2025-08-22 15:01:12 +08:00
parent 64924a7ffc
commit 475e8f3060
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -322,17 +322,23 @@ chef_debug_target (Target_t *target)
} }
say ("DEBUG Target Information:"); say ("DEBUG Target Information:");
printf (" Aliases: %s\n", target->aliases);
printf (" Get Function: %p\n", target->getfn); printf (" Get Function: %p\n", target->getfn);
printf (" Set Function: %p\n", target->setfn); printf (" Set Function: %p\n", target->setfn);
printf (" Reset Function: %p\n", target->resetfn); printf (" Reset Function: %p\n", target->resetfn);
printf (" Prelude Function: %p\n", target->preludefn);
printf (" Inited?: %d\n", target->inited);
printf (" Sources: %p\n", target->sources); printf (" Sources: %p\n", target->sources);
printf (" Sources Count: %lld\n", target->sources_n); printf (" Sources Count: %lld\n", target->sources_n);
printf (" Chef: %p\n", target->chef); printf (" Chef: %p\n", target->chef);
printf (" Cooks: %p\n", target->cooks); printf (" Cooks: %p\n", target->cooks);
printf (" Cooks Count: %lld\n", target->cooks_n); printf (" Cooks Count: %lld\n", target->cooks_n);
printf (" Contributors: %p\n", target->contributors); printf (" Sauciers: %p\n", target->sauciers);
printf (" Contributors Count: %lld\n", target->contributors_n); printf (" Sauciers Count: %lld\n", target->sauciers_n);
#endif #endif
} }