1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-27 01:27:39 +01:00

(unw_init_local): Implement it based on the DWARF unwinder.

(Logical change 1.290)
This commit is contained in:
mostang.com!davidm 2005-05-03 09:13:17 +00:00
parent 0f27732d35
commit 93599dc278

View file

@ -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);
}