[Ltrace-devel] [PATCH v3] Fix libunwind support for MIPS

Petr Machata pmachata at gmail.com
Fri Jul 24 06:38:06 UTC 2015


Vicente Olivert Riera <Vincent.Riera at imgtec.com> writes:

>  
>  			rc = unw_get_proc_name(&cursor, fn_name,
>  					       sizeof(fn_name),
> -					       (unw_word_t *) &function_offset);
> +					       &uw_function_offset);
> +			function_offset = (arch_addr_t) uw_function_offset;
> +			assert(uw_function_offset == (unw_word_t) function_offset);
> +
>  			if (rc == 0 || rc == -UNW_ENOMEM)
>  				fprintf(options.output, " > %s(%s+%p) [%p]\n",
>  					lib_name, fn_name, function_offset, ip);

This has the same problem.

Thanks,
Petr



More information about the Ltrace-devel mailing list