Browse Source

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...
rs-1.0
Rich Felker 15 years ago
parent
commit
03860303c2
  1. 12
      arch/arm/bits/user.h
  2. 2
      include/sys/procfs.h

12
arch/arm/bits/user.h

@ -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;
};

2
include/sys/procfs.h

@ -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;

Loading…
Cancel
Save