On Thu, Jun 02, 2016 at 09:55:25AM +0000, He Kuang wrote:

SNIP

> @@ -31,9 +33,17 @@ int unwind__prepare_access(struct thread *thread, struct 
> map *map)
>               return 0;
>  
>       arch = normalize_arch(thread->mg->machine->env->arch);
> -     pr_debug("unwind: target platform=%s\n", arch);
>  
> -     unwind__register_ops(thread, local_unwind_libunwind_ops);
> +     if (!strcmp(arch, "x86"))
> +             if (dso_type != DSO__TYPE_64BIT)
> +                     ops = x86_32_unwind_libunwind_ops;

pleas enclose above into { }

thanks,
jirka

Reply via email to