summaryrefslogtreecommitdiff
path: root/src/mips/Ginit_local.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mips/Ginit_local.c')
-rw-r--r--src/mips/Ginit_local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mips/Ginit_local.c b/src/mips/Ginit_local.c
index debf5bb5..e5e1c5a3 100644
--- a/src/mips/Ginit_local.c
+++ b/src/mips/Ginit_local.c
@@ -40,7 +40,7 @@ unw_init_local (unw_cursor_t *cursor, ucontext_t *uc)
{
struct cursor *c = (struct cursor *) cursor;
- if (tdep_needs_initialization)
+ if (!tdep_init_done)
tdep_init ();
Debug (1, "(cursor=%p)\n", c);