1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-18 22:07:38 +01:00

(ia64_find_save_locs): Call ia64_fetch_proc_info() early on and

bug out if it fails (before creating a new script).

(Logical change 1.95)
This commit is contained in:
mostang.com!davidm 2003-09-18 06:09:22 +00:00
parent d6946f580b
commit 46f5783f5d

View file

@ -481,6 +481,10 @@ ia64_find_save_locs (struct cursor *c)
sigset_t saved_sigmask; sigset_t saved_sigmask;
int ret = 0; int ret = 0;
ret = ia64_fetch_proc_info (c, c->ip, 1);
if (ret < 0)
return ret;
cache = get_script_cache (c->as); cache = get_script_cache (c->as);
if (likely (global_cache)) if (likely (global_cache))