mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-04-06 13:52:17 +02:00
(common_init): bspstore needs to be initialized from c->bspstore_loc.
Adjust for renaming in "struct cursor". (Logical change 1.41)
This commit is contained in:
parent
ad8830e9ce
commit
570c6e399a
1 changed files with 3 additions and 3 deletions
|
@ -86,15 +86,15 @@ common_init (struct cursor *c)
|
|||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
ret = ia64_get (c, c->bsp_loc, &bspstore);
|
||||
ret = ia64_get (c, c->bspstore_loc, &bspstore);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
c->rbs_curr = c->rbs_wridx = c->rbs_nvalid = 0;
|
||||
c->rbs_curr = c->rbs_left_edge = c->rbs_right_edge = 0;
|
||||
c->rbs_area[0].end = bspstore;
|
||||
c->rbs_area[0].size = ~(unw_word_t) 0; /* initial guess... */
|
||||
c->rbs_area[0].rnat_loc = IA64_REG_LOC (c, UNW_IA64_AR_RNAT);
|
||||
debug (10, "%s: initial rbs-area: [?-0x%lx), rnat @ 0x%lx\n", __FUNCTION__,
|
||||
debug (10, "%s: initial rbs-area: [?-0x%lx), rnat@0x%lx\n", __FUNCTION__,
|
||||
(long) c->rbs_area[0].end, (long) c->rbs_area[0].rnat_loc);
|
||||
|
||||
c->pi.flags = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue