mirror of
git://git.musl-libc.org/musl
synced 2024-12-27 01:02:12 +00:00
4b75f4ed8d
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.
14 lines
366 B
C
14 lines
366 B
C
struct user {
|
|
unsigned long regs[45+64];
|
|
unsigned long u_tsize, u_dsize, u_ssize;
|
|
unsigned long start_code, start_data, start_stack;
|
|
long signal;
|
|
void *u_ar0;
|
|
unsigned long magic;
|
|
char u_comm[32];
|
|
};
|
|
#define ELF_NGREG 45
|
|
#define ELF_NFPREG 33
|
|
typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
|
|
typedef double elf_fpreg_t, elf_fpregset_t[ELF_NFPREG];
|