OLD | NEW |
1 /* Target-dependent code for GNU/Linux x86. | 1 /* Target-dependent code for GNU/Linux x86. |
2 | 2 |
3 Copyright (C) 2002-2003, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2002-2003, 2007-2012 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 The first 8 bytes of the sw_usable_bytes[464..467] is the OS enabled | 59 The first 8 bytes of the sw_usable_bytes[464..467] is the OS enabled |
60 extended state mask, which is the same as the extended control register | 60 extended state mask, which is the same as the extended control register |
61 0 (the XFEATURE_ENABLED_MASK register), XCR0. We can use this mask | 61 0 (the XFEATURE_ENABLED_MASK register), XCR0. We can use this mask |
62 together with the mask saved in the xstate_hdr_bytes to determine what | 62 together with the mask saved in the xstate_hdr_bytes to determine what |
63 states the processor/OS supports and what state, used or initialized, | 63 states the processor/OS supports and what state, used or initialized, |
64 the process/thread is in. */ | 64 the process/thread is in. */ |
65 #define I386_LINUX_XSAVE_XCR0_OFFSET 464 | 65 #define I386_LINUX_XSAVE_XCR0_OFFSET 464 |
66 | 66 |
67 extern int i386_linux_gregset_reg_offset[]; | 67 extern int i386_linux_gregset_reg_offset[]; |
68 | 68 |
| 69 extern void i386_linux_init_gregset (struct gdbarch_tdep *tdep); |
| 70 |
69 #endif /* i386-linux-tdep.h */ | 71 #endif /* i386-linux-tdep.h */ |
OLD | NEW |