FreeBSD/sys/ddb/db_sym.c
/*
 * Add symbol table, with given name, to list of symbol tables.
 */
Add symbol table, with given name, to list of symbol tables.
Add symbol table with given name to list of symbol tables .
void
db_add_symbol_table(char *start, char *end, char *name, char *ref)
{
	if (db_nsymtab >= MAXNOSYMTABS) {
		printf ("No slots left for %s symbol table", name);
		panic ("db_sym.c: db_add_symbol_table");
	}
	db_symtabs[db_nsymtab].start = start;
	db_symtabs[db_nsymtab].end = end;
	db_symtabs[db_nsymtab].name = name;
	db_symtabs[db_nsymtab].private = ref;
	db_nsymtab++;
}
void db_add_symbol_table ( char * start , char * end , char * name , char * ref ) { if ( db_nsymtab >= MAXNOSYMTABS ) { printf ( " " , name ) ; panic ( " " ) ; } db_symtabs [ db_nsymtab ] . start = start ; db_symtabs [ db_nsymtab ] . end = end ; db_symtabs [ db_nsymtab ] . name = name ; db_symtabs [ db_nsymtab ] . private = ref ; db_nsymtab ++ ; }
Add symbol table, with given name, to list of symbol tables.
Add symbol table with given name to list of symbol tables .