2007-07-15 Andrew Haley * unwind-sjlj.c (_Unwind_GetIPInfo): Check for context->fc != NULL before looking in the context. * configure.host: arm*-linux-gnu -> arm*-linux*. Index: gcc/unwind-sjlj.c =================================================================== --- gcc/unwind-sjlj.c.orig +++ gcc/unwind-sjlj.c @@ -218,7 +218,10 @@ _Unwind_Ptr _Unwind_GetIPInfo (struct _Unwind_Context *context, int *ip_before_insn) { *ip_before_insn = 0; - return context->fc->call_site + 1; + if (context->fc != NULL) + return context->fc->call_site + 1; + else + return 0; } /* Set the return landing pad index in CONTEXT. */ Index: libjava/configure.host =================================================================== --- libjava/configure.host.orig +++ libjava/configure.host @@ -82,7 +82,7 @@ case "${host}" in enable_getenv_properties_default=no enable_main_args_default=no ;; - arm*-linux-gnu) + arm*-linux*) libgcj_interpreter=yes sysdeps_dir=arm ;;