提交 03860303 编写于 作者: R Rich Felker

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...
上级 1d3c2768
struct user_fpregs struct user_fpregs_struct
{ {
struct fp_reg { struct fp_reg {
unsigned sign1:1; unsigned sign1:1;
...@@ -15,14 +15,14 @@ struct user_fpregs ...@@ -15,14 +15,14 @@ struct user_fpregs
unsigned int init_flag; unsigned int init_flag;
}; };
struct user_regs struct user_regs_struct
{ {
unsigned long uregs[18]; unsigned long uregs[18];
}; };
struct user struct user
{ {
struct user_regs regs; struct user_regs_struct regs;
int u_fpvalid; int u_fpvalid;
unsigned long u_tsize; unsigned long u_tsize;
unsigned long u_dsize; unsigned long u_dsize;
...@@ -31,10 +31,10 @@ struct user ...@@ -31,10 +31,10 @@ struct user
unsigned long start_stack; unsigned long start_stack;
long signal; long signal;
int reserved; int reserved;
struct user_regs *u_ar0; struct user_regs_struct *u_ar0;
unsigned long int magic; unsigned long int magic;
char u_comm[32]; char u_comm[32];
int u_debugreg[8]; int u_debugreg[8];
struct user_fpregs u_fp; struct user_fpregs_struct u_fp;
struct user_fpregs *u_fp0; struct user_fpregs_struct *u_fp0;
}; };
...@@ -67,7 +67,9 @@ struct elf_prpsinfo ...@@ -67,7 +67,9 @@ struct elf_prpsinfo
typedef void *psaddr_t; typedef void *psaddr_t;
typedef elf_gregset_t prgregset_t; typedef elf_gregset_t prgregset_t;
typedef elf_fpregset_t prfpregset_t; typedef elf_fpregset_t prfpregset_t;
typedef elf_fpregset_t fpregset_t;
typedef pid_t lwpid_t; typedef pid_t lwpid_t;
typedef struct elf_prstatus prstatus_t; typedef struct elf_prstatus prstatus_t;
typedef struct elf_prpsinfo prpsinfo_t; typedef struct elf_prpsinfo prpsinfo_t;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册