- add debug output related to searching for symbols

This commit is contained in:
Bryce Denney 2002-10-17 04:22:29 +00:00
parent 9a3d1b6f45
commit 9eff1359ed

View File

@ -3427,6 +3427,7 @@ lt_dlsym (handle, symbol)
strcat(sym, symbol);
/* try "modulename_LTX_symbol" */
LTDEBUG_PRINTF(("dlsym looking for '%s'\n", sym));
address = handle->loader->find_sym (data, handle->module, sym);
if (address)
{
@ -3450,6 +3451,7 @@ lt_dlsym (handle, symbol)
strcpy(sym, symbol);
}
LTDEBUG_PRINTF(("dlsym looking for '%s'\n", sym));
address = handle->loader->find_sym (data, handle->module, sym);
if (sym != lsym)
{