summaryrefslogtreecommitdiff
path: root/src/x86/Ginit_local.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x86/Ginit_local.c')
-rw-r--r--src/x86/Ginit_local.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/x86/Ginit_local.c b/src/x86/Ginit_local.c
index 7b86d6e5..55ab7490 100644
--- a/src/x86/Ginit_local.c
+++ b/src/x86/Ginit_local.c
@@ -47,7 +47,9 @@ unw_init_local (unw_cursor_t *cursor, ucontext_t *uc)
Debug (1, "(cursor=%p)\n", c);
c->dwarf.as = unw_local_addr_space;
- c->dwarf.as_arg = uc;
+ c->dwarf.as_arg = c;
+ c->uc = uc;
+ c->validate = 0;
return common_init (c);
}