[Ltrace-devel] [ltrace 21/21] x86_64/{trace.c, ptrace.h}: fix arguments handling
Arnaud Patard
apatard at mandriva.com
Fri Jan 8 13:40:20 UTC 2010
- handle floats
- fix arguments in function return. regs may have changed and stack
handling may (imho) become a nightmare so backup integer and fp regs
at function/syscall entry with save_register_args
- As we're now getting regs in get_arch_dep, remove other ptrace()
calls used to get registers
Signed-off-by: Arnaud Patard <apatard at mandriva.com>
---
sysdeps/linux-gnu/x86_64/ptrace.h | 12 ++++
sysdeps/linux-gnu/x86_64/trace.c | 103 +++++++++++++++++++++++++++----------
2 files changed, 88 insertions(+), 27 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 921a0b4760c43fe38ab752468e6baa44fc690eea.diff
Type: text/x-patch
Size: 6004 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20100108/7f5cd871/attachment.bin>
More information about the Ltrace-devel
mailing list