make sys/procfs.h mostly work on most archs
these structures are purely for use by trace/debug tools and tools working with core files. the definition of fpregset_t, which was previously here, has been removed because it was wrong; fpregset_t should be the type used in mcontext_t, not the type used in ptrace/core stuff.
This commit is contained in:
parent
132cc703f8
commit
4b75f4ed8d
6 changed files with 30 additions and 26 deletions
|
|
@ -1,4 +1,4 @@
|
|||
struct user_fpregs {
|
||||
typedef struct user_fpregs {
|
||||
struct fp_reg {
|
||||
unsigned sign1:1;
|
||||
unsigned unused:15;
|
||||
|
|
@ -12,11 +12,13 @@ struct user_fpregs {
|
|||
unsigned fpcr:32;
|
||||
unsigned char ftype[8];
|
||||
unsigned int init_flag;
|
||||
};
|
||||
} elf_fpregset_t;
|
||||
|
||||
struct user_regs {
|
||||
unsigned long uregs[18];
|
||||
};
|
||||
#define ELF_NGREG 18
|
||||
typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
|
||||
|
||||
struct user {
|
||||
struct user_regs regs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue