[Ltrace-devel] pmachata/revamp merged
Petr Machata
pmachata at redhat.com
Thu Aug 30 12:21:12 UTC 2012
Hello,
the branch pmachata/revamp was now merged to master. This following
list of changes still mostly holds:
http://lists.alioth.debian.org/pipermail/ltrace-devel/2012-January/000540.html
In addition to the above, PPC and s390 were rewritten to use fetch
interface. They pass structures in registers, and therefore need it.
i386 and x86_64 back ends were merged into an over-arching x86 back end.
The differences in those are relatively minor and can be worked around
by a handful of ifdefs. The x86 back end uses fetch interface as well.
I also renamed target_address_t to arch_addr_t, to follow the logic in
naming architecture-specific artifacts. This is still a void * typedef.
Eventually it should become an integral type. First, because really it
is not a pointer (dereferencing it is not valid); second, it's not wide
enough to allow "inverse tracing" (x32 tracing x86_64 process, PPC32
tracing PPC64 process; but note that x32 is currently not supported
anyway).
I verified that on GNU/Linux, the test suite passes on straight x86's,
PPC's and s390's, as well as "cross" scenarios x86_64/i386, PPC64/PPC32,
s390x/s390. On PPC32, BSS PLT's as well as the new "secure" ones are
supported.
Thank you,
PM
More information about the Ltrace-devel
mailing list