Warning: This file is not a C or C++ file. It does not have highlighting.
1 | /* Copyright (C) 2009-2024 Free Software Foundation, Inc. |
---|---|
2 | |
3 | This file is part of the GNU C Library. |
4 | |
5 | The GNU C Library is free software; you can redistribute it and/or |
6 | modify it under the terms of the GNU Lesser General Public License as |
7 | published by the Free Software Foundation; either version 2.1 of the |
8 | License, or (at your option) any later version. |
9 | |
10 | The GNU C Library is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Lesser General Public License for more details. |
14 | |
15 | You should have received a copy of the GNU Lesser General Public |
16 | License along with the GNU C Library; if not, see |
17 | <https://www.gnu.org/licenses/>. */ |
18 | |
19 | #ifndef _SYS_USER_H |
20 | # define _SYS_USER_H 1 |
21 | |
22 | /* The whole purpose of this file is for GDB and GDB only. Don't read |
23 | too much into it. Don't use it for anything other than GDB unless |
24 | you know what you are doing. */ |
25 | |
26 | struct user_fpregs_struct |
27 | { |
28 | long int cwd; |
29 | long int swd; |
30 | long int twd; |
31 | long int fip; |
32 | long int fcs; |
33 | long int foo; |
34 | long int fos; |
35 | long int st_space [20]; |
36 | }; |
37 | |
38 | struct user_regs_struct |
39 | { |
40 | unsigned int gpr[32]; |
41 | unsigned int pc; |
42 | unsigned int msr; |
43 | unsigned int ear; |
44 | unsigned int esr; |
45 | unsigned int fsr; |
46 | unsigned int btr; |
47 | unsigned int pvr[12]; |
48 | }; |
49 | |
50 | struct user |
51 | { |
52 | struct user_regs_struct regs; |
53 | int u_fpvalid; |
54 | struct user_fpregs_struct elf_fpregset_t; |
55 | unsigned long int u_tsize; |
56 | unsigned long int u_dsize; |
57 | unsigned long int u_ssize; |
58 | unsigned long start_code; |
59 | unsigned long start_stack; |
60 | long int signal; |
61 | int reserved; |
62 | struct user_regs_struct* u_ar0; |
63 | struct user_fpregs_struct* u_fpstate; |
64 | unsigned long int magic; |
65 | char u_comm [32]; |
66 | int u_debugreg [8]; |
67 | }; |
68 | |
69 | #endif /* _SYS_USER_H */ |
70 |
Warning: This file is not a C or C++ file. It does not have highlighting.