OLD | NEW |
1 /* Target-dependent code for GNU/Linux AMD64. | 1 /* Target-dependent code for GNU/Linux AMD64. |
2 | 2 |
3 Copyright (C) 2006-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2006-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 16 matching lines...) Expand all Loading... |
27 contains a value >= 0 it is interpreted as the system call number | 27 contains a value >= 0 it is interpreted as the system call number |
28 that the kernel is supposed to restart. */ | 28 that the kernel is supposed to restart. */ |
29 #define AMD64_LINUX_ORIG_RAX_REGNUM (AMD64_YMM15H_REGNUM + 1) | 29 #define AMD64_LINUX_ORIG_RAX_REGNUM (AMD64_YMM15H_REGNUM + 1) |
30 | 30 |
31 /* Total number of registers for GNU/Linux. */ | 31 /* Total number of registers for GNU/Linux. */ |
32 #define AMD64_LINUX_NUM_REGS (AMD64_LINUX_ORIG_RAX_REGNUM + 1) | 32 #define AMD64_LINUX_NUM_REGS (AMD64_LINUX_ORIG_RAX_REGNUM + 1) |
33 | 33 |
34 /* Linux target description. */ | 34 /* Linux target description. */ |
35 extern struct target_desc *tdesc_amd64_linux; | 35 extern struct target_desc *tdesc_amd64_linux; |
36 extern struct target_desc *tdesc_amd64_avx_linux; | 36 extern struct target_desc *tdesc_amd64_avx_linux; |
| 37 extern struct target_desc *tdesc_x32_linux; |
| 38 extern struct target_desc *tdesc_x32_avx_linux; |
37 | 39 |
38 /* Enum that defines the syscall identifiers for amd64 linux. | 40 /* Enum that defines the syscall identifiers for amd64 linux. |
39 Used for process record/replay, these will be translated into | 41 Used for process record/replay, these will be translated into |
40 a gdb-canonical set of syscall ids in linux-record.c. */ | 42 a gdb-canonical set of syscall ids in linux-record.c. */ |
41 | 43 |
42 enum amd64_syscall { | 44 enum amd64_syscall { |
43 amd64_sys_read = 0, | 45 amd64_sys_read = 0, |
44 amd64_sys_write = 1, | 46 amd64_sys_write = 1, |
45 amd64_sys_open = 2, | 47 amd64_sys_open = 2, |
46 amd64_sys_close = 3, | 48 amd64_sys_close = 3, |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 amd64_sys_set_robust_list = 273, | 304 amd64_sys_set_robust_list = 273, |
303 amd64_sys_get_robust_list = 274, | 305 amd64_sys_get_robust_list = 274, |
304 amd64_sys_splice = 275, | 306 amd64_sys_splice = 275, |
305 amd64_sys_tee = 276, | 307 amd64_sys_tee = 276, |
306 amd64_sys_sync_file_range = 277, | 308 amd64_sys_sync_file_range = 277, |
307 amd64_sys_vmsplice = 278, | 309 amd64_sys_vmsplice = 278, |
308 amd64_sys_move_pages = 279, | 310 amd64_sys_move_pages = 279, |
309 }; | 311 }; |
310 | 312 |
311 #endif /* amd64-linux-tdep.h */ | 313 #endif /* amd64-linux-tdep.h */ |
OLD | NEW |