FreeBSD/sys/ddb/db_sym.c
/*
 * Does this symbol name appear in more than one symbol table?
 * Used by db_symbol_values to decide whether to qualify a symbol.
 */
Does this symbol name appear in more than one symbol table.
Used by db_symbol_values to decide whether to qualify a symbol.
Does this symbol name appear in more than one symbol table . Used by db_symbol_values to decide whether to qualify a symbol .
static bool
db_symbol_is_ambiguous(c_db_sym_t sym)
{
	const char	*sym_name;
	register int	i;
	register bool	found_once = false;
	if (!db_qualify_ambiguous_names)
		return (false);
	db_symbol_values(sym, &sym_name, 0);
	for (i = 0; i < db_nsymtab; i++) {
		if (X_db_lookup(&db_symtabs[i], sym_name)) {
			if (found_once)
				return (true);
			found_once = true;
		}
	}
	return (false);
}
static bool db_symbol_is_ambiguous ( c_db_sym_t sym ) { const char * sym_name ; register int i ; register bool found_once = false ; if ( ! db_qualify_ambiguous_names ) return ( false ) ; db_symbol_values ( sym , & sym_name , 0 ) ; for ( i = 0 ; i < db_nsymtab ; i ++ ) { if ( X_db_lookup ( & db_symtabs [ i ] , sym_name ) ) { if ( found_once ) return ( true ) ; found_once = true ; } } return ( false ) ; }
Does this symbol name appear in more than one symbol table?
Does this symbol name appear in more than one symbol table?