Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_linker.c
Show First 20 Lines • Show All 905 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
#ifdef DDB | #ifdef DDB | ||||
static int | static int | ||||
linker_debug_lookup(const char *symstr, c_linker_sym_t *sym) | linker_debug_lookup(const char *symstr, c_linker_sym_t *sym) | ||||
{ | { | ||||
linker_file_t lf; | linker_file_t lf; | ||||
TAILQ_FOREACH(lf, &linker_files, link) { | TAILQ_FOREACH(lf, &linker_files, link) { | ||||
if (LINKER_LOOKUP_SYMBOL(lf, symstr, sym) == 0) | if (LINKER_LOOKUP_DEBUG_SYMBOL(lf, symstr, sym) == 0) | ||||
return (0); | return (0); | ||||
} | } | ||||
return (ENOENT); | return (ENOENT); | ||||
} | } | ||||
#endif | #endif | ||||
static int | static int | ||||
linker_debug_search_symbol(caddr_t value, c_linker_sym_t *sym, long *diffp) | linker_debug_search_symbol(caddr_t value, c_linker_sym_t *sym, long *diffp) | ||||
▲ Show 20 Lines • Show All 1,406 Lines • Show Last 20 Lines |