mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-27 09:37:38 +01:00
(unw_init_local): Implement it based on the DWARF unwinder.
(Logical change 1.290)
This commit is contained in:
parent
0f27732d35
commit
93599dc278
1 changed files with 6 additions and 7 deletions
|
@ -41,14 +41,13 @@ unw_init_local (unw_cursor_t *cursor, ucontext_t *uc)
|
||||||
{
|
{
|
||||||
struct cursor *c = (struct cursor *) cursor;
|
struct cursor *c = (struct cursor *) cursor;
|
||||||
|
|
||||||
if (hppa_needs_initialization)
|
if (tdep_needs_initialization)
|
||||||
{
|
tdep_init ();
|
||||||
hppa_needs_initialization = 0;
|
|
||||||
hppa_init ();
|
|
||||||
}
|
|
||||||
|
|
||||||
c->as = unw_local_addr_space;
|
Debug (1, "(cursor=%p)\n", c);
|
||||||
c->as_arg = uc;
|
|
||||||
|
c->dwarf.as = unw_local_addr_space;
|
||||||
|
c->dwarf.as_arg = uc;
|
||||||
return common_init (c);
|
return common_init (c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue