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:
parent
282413e6ab
commit
a89e112a32
1 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue