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
|
|
@ -7,3 +7,7 @@ struct user {
|
|||
unsigned long magic;
|
||||
char u_comm[32];
|
||||
};
|
||||
#define ELF_NGREG 45
|
||||
#define ELF_NFPREG 33
|
||||
typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
|
||||
typedef double elf_fpreg_t, elf_fpregset_t[ELF_NFPREG];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue