[Ltrace-devel] ltrace on ppc64

Petr Machata pmachata at gmail.com
Fri Jul 24 16:08:24 UTC 2015


Andreas Schwab <schwab at linux-m68k.org> writes:

> Petr Machata <pmachata at gmail.com> writes:
>
>> It probably should ignore section symbols.  I can't decide on the
>> account of object symbols.  I don't know off hand if anything that
>> ltrace can actually trace might be represented as STT_OBJECT and we
>> should therefore let backends see it.  But it seems that we should
>> ignore them also.
>
> Perhaps arch_translate_address for ppc64 should just ignore everything
> that's not in the range of .opd (instead of returning an error)?

Makes sense.  Such patch would be acceptable.  Unfortunately I don't
have a working PPC anymore, so won't be able to write and test this
myself.

Thanks,
Petr



More information about the Ltrace-devel mailing list