1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-05 01:09:27 +01:00

(ia64_make_proc_info): If caching is enabled, call ia64_get_cached_proc_info()

to pick up cached proc-info (if available).

(Logical change 1.59)
This commit is contained in:
mostang.com!davidm 2003-03-06 06:14:36 +00:00
parent fe0ed7dd41
commit 43cc4c9e59

View file

@ -1075,15 +1075,9 @@ ia64_free_state_record (struct ia64_state_record *sr)
HIDDEN int
ia64_make_proc_info (struct cursor *c)
{
if (c->as->caching_policy != UNW_CACHE_NONE)
{
struct ia64_script *script = ia64_script_lookup (c);
if (script)
{
c->pi = script->pi;
return 0;
}
}
return get_proc_info (c, c->ip, 0);
if (c->as->caching_policy == UNW_CACHE_NONE
|| ia64_get_cached_proc_info (c) < 0)
/* Lookup it up the slow way... */
return get_proc_info (c, c->ip, 0);
return 0;
}