1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-03-28 01:22:17 +01:00

(common_init): Initialize "cfm" cache.

(Logical change 1.42)
This commit is contained in:
mostang.com!davidm 2003-01-23 18:47:51 +00:00
parent 282413e6ab
commit a89e112a32

View file

@ -68,11 +68,15 @@ common_init (struct cursor *c)
for (i = 16; i <= 31; ++i)
c->fr_loc[i - 16] = IA64_FPREG_LOC (c, UNW_IA64_FR + i);
ret = ia64_get (c, c->pr_loc, &c->pr);
ret = ia64_get (c, c->ip_loc, &c->ip);
if (ret < 0)
return ret;
ret = ia64_get (c, c->ip_loc, &c->ip);
ret = ia64_get (c, c->cfm_loc, &c->cfm);
if (ret < 0)
return ret;
ret = ia64_get (c, c->pr_loc, &c->pr);
if (ret < 0)
return ret;