fix some details in ugly stuff that doesn't belong in libc

patches by sh4rm4, presumably needed to make gdb or some similar junk
happy...
This commit is contained in:
Rich Felker 2011-10-17 12:23:04 -04:00
parent 1d3c276807
commit 03860303c2
2 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,4 @@
struct user_fpregs
struct user_fpregs_struct
{
struct fp_reg {
unsigned sign1:1;
@ -15,14 +15,14 @@ struct user_fpregs
unsigned int init_flag;
};
struct user_regs
struct user_regs_struct
{
unsigned long uregs[18];
};
struct user
{
struct user_regs regs;
struct user_regs_struct regs;
int u_fpvalid;
unsigned long u_tsize;
unsigned long u_dsize;
@ -31,10 +31,10 @@ struct user
unsigned long start_stack;
long signal;
int reserved;
struct user_regs *u_ar0;
struct user_regs_struct *u_ar0;
unsigned long int magic;
char u_comm[32];
int u_debugreg[8];
struct user_fpregs u_fp;
struct user_fpregs *u_fp0;
struct user_fpregs_struct u_fp;
struct user_fpregs_struct *u_fp0;
};

View File

@ -67,7 +67,9 @@ struct elf_prpsinfo
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;