Beispiel #1
0
void si2bin_symbol_table_dump(FILE *f)
{
	struct si2bin_symbol_t *symbol;
	char *name;

	fprintf(f, "Symbol Table:\n");
	HASH_TABLE_FOR_EACH(si2bin_symbol_table, name, symbol)
	{
		fprintf(f, "\t");
		si2bin_symbol_dump(symbol, f);
		fprintf(f, "\n");
	}
Beispiel #2
0
void si2bin_task_dump(struct si2bin_task_t *task, FILE *f)
{
	fprintf(f, "offset=%d, symbol={", task->offset);
	si2bin_symbol_dump(task->symbol, f);
	fprintf(f, "}");
}