From 93599dc2785792fcbac017008ef5b7c211c1e622 Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Tue, 3 May 2005 09:13:17 +0000 Subject: [PATCH] (unw_init_local): Implement it based on the DWARF unwinder. (Logical change 1.290) --- src/hppa/Ginit_local.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/hppa/Ginit_local.c b/src/hppa/Ginit_local.c index 57290ab6..243ffd49 100644 --- a/src/hppa/Ginit_local.c +++ b/src/hppa/Ginit_local.c @@ -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); }