Add user-space ptrace data structure to dump VFP registers and status word.

This commit is contained in:
Ben Cheng 2009-12-17 12:46:45 -08:00
parent 70b5ddafd4
commit ee84231886

View file

@ -29,6 +29,8 @@
#define PTRACE_GETCRUNCHREGS 25
#define PTRACE_SETCRUNCHREGS 26
#define PTRACE_GETVFPREGS 27
#define USR26_MODE 0x00000000
#define FIQ26_MODE 0x00000001
#define IRQ26_MODE 0x00000002
@ -64,6 +66,11 @@ struct pt_regs {
long uregs[18];
};
struct user_vfp {
unsigned long long fpregs[32];
unsigned long fpscr;
};
#define ARM_cpsr uregs[16]
#define ARM_pc uregs[15]
#define ARM_lr uregs[14]