Add user-space ptrace data structure to dump VFP registers and status word.
This commit is contained in:
parent
70b5ddafd4
commit
ee84231886
1 changed files with 8 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue