Add fpregs offsets to be able to handle functions with fp args

Signed-off-by: Arnaud Patard <[email protected]>
---
 sysdeps/linux-gnu/mipsel/mipsel.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/sysdeps/linux-gnu/mipsel/mipsel.h b/sysdeps/linux-gnu/mipsel/mipsel.h
index a63cafd..86aff5d 100644
--- a/sysdeps/linux-gnu/mipsel/mipsel.h
+++ b/sysdeps/linux-gnu/mipsel/mipsel.h
@@ -1,11 +1,12 @@
 #ifndef MIPSEL_h
 #define  MIPSEL_h
-// linux-2.4.30/arch/mips/kernel/ptrace.c for these offsets.
+// asm/ptrace.h for these offsets.
 #define off_v0 2
 #define off_pc 64
 #define off_a0 4
 #define off_a3 7
 #define off_lr 31
+#define off_fpr0 32 
 #define off_sp 29
 
 #endif //  MIPSEL_h
_______________________________________________
Ltrace-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/ltrace-devel

Reply via email to