Fix x86 gdbserver build.
Add the x86-only elf_fpxregset_t to <sys/procfs.h>, and rename user_fxsr_struct (the kernel's name) to user_fpxregs_struct (the userspace name). Bug: http://b/22068064 Change-Id: Id466096bf02baf6bd49b193f49d9036848d33548
This commit is contained in:
parent
d807b9a12d
commit
fef58353f4
@ -39,6 +39,10 @@ typedef elf_greg_t elf_gregset_t[NGREG];
|
||||
|
||||
typedef fpregset_t elf_fpregset_t;
|
||||
|
||||
#if defined(__i386__)
|
||||
typedef struct user_fpxregs_struct elf_fpxregset_t;
|
||||
#endif
|
||||
|
||||
typedef elf_gregset_t prgregset_t;
|
||||
typedef elf_fpregset_t prfpregset_t;
|
||||
|
||||
|
@ -47,7 +47,7 @@ struct user_fpregs_struct {
|
||||
long fos;
|
||||
long st_space[20];
|
||||
};
|
||||
struct user_fxsr_struct {
|
||||
struct user_fpxregs_struct {
|
||||
unsigned short cwd;
|
||||
unsigned short swd;
|
||||
unsigned short twd;
|
||||
|
Loading…
x
Reference in New Issue
Block a user