[Ltrace-devel] nested library calls and right-hand params

Petr Machata pmachata at redhat.com
Wed Nov 3 18:00:30 UTC 2010


02.11.2010 17:49, Petr Machata wrote:
> The problem
> here is that the register set is preserved in struct Process, not in
> struct callstack_element, and so is overwritten when nested call appears
> which has right-hand parameters too.

This is now fixed here:
  https://github.com/pmachata/ltrace/tree/nested

That branch forks off this branch:
  https://github.com/pmachata/ltrace/tree/float
which fixes a problem with passing doubles in arguments and return 
values on x86_64, and simplifies the whole argument-preserving scenario 
a bit.

Both add test cases for bugs that they fix.

PM



More information about the Ltrace-devel mailing list