mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-23 07:57: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;
|
||||
|
||||
if (hppa_needs_initialization)
|
||||
{
|
||||
hppa_needs_initialization = 0;
|
||||
hppa_init ();
|
||||
}
|
||||
if (tdep_needs_initialization)
|
||||
tdep_init ();
|
||||
|
||||
c->as = unw_local_addr_space;
|
||||
c->as_arg = uc;
|
||||
Debug (1, "(cursor=%p)\n", c);
|
||||
|
||||
c->dwarf.as = unw_local_addr_space;
|
||||
c->dwarf.as_arg = uc;
|
||||
return common_init (c);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue