diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-25 22:28:18 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-25 22:28:18 -0500 |
commit | 4b75f4ed8d08b26d4bf2ac96191b395218ad888e (patch) | |
tree | e2fc90140da04f5e0436bcf069097d63b6a402ef /include | |
parent | 132cc703f82b1d5d308c2db9a353d6c92ea29fda (diff) | |
download | musl-4b75f4ed8d08b26d4bf2ac96191b395218ad888e.tar.gz musl-4b75f4ed8d08b26d4bf2ac96191b395218ad888e.tar.bz2 musl-4b75f4ed8d08b26d4bf2ac96191b395218ad888e.tar.xz musl-4b75f4ed8d08b26d4bf2ac96191b395218ad888e.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/procfs.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/sys/procfs.h b/include/sys/procfs.h index 91b6efd1..6a346053 100644 --- a/include/sys/procfs.h +++ b/include/sys/procfs.h @@ -8,17 +8,6 @@ extern "C" { #include <sys/types.h> #include <sys/user.h> -typedef unsigned long elf_greg_t; -#define ELF_NGREG (sizeof (struct user_regs_struct) / sizeof(elf_greg_t)) -typedef elf_greg_t elf_gregset_t[ELF_NGREG]; - -#if __WORDSIZE == 32 -typedef struct user_fpregs_struct elf_fpregset_t; -typedef struct user_fpxregs_struct elf_fpxregset_t; -#else -typedef struct user_fpregs_struct elf_fpregset_t; -#endif - struct elf_siginfo { int si_signo; int si_code; @@ -42,7 +31,6 @@ struct elf_prstatus { int pr_fpvalid; }; - #define ELF_PRARGSZ 80 struct elf_prpsinfo @@ -64,19 +52,13 @@ struct elf_prpsinfo char pr_psargs[ELF_PRARGSZ]; }; - typedef void *psaddr_t; typedef elf_gregset_t prgregset_t; - typedef elf_fpregset_t prfpregset_t; -typedef elf_fpregset_t fpregset_t; typedef pid_t lwpid_t; typedef struct elf_prstatus prstatus_t; typedef struct elf_prpsinfo prpsinfo_t; - - - #ifdef __cplusplus } #endif |