1 /* Copyright (C) 2009-2015 Free Software Foundation, Inc.
2 Contributed by ARM Ltd.
4 This file is part of GDB.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 #ifndef AARCH64_LINUX_H
20 #define AARCH64_LINUX_H 1
24 typedef int compat_int_t
;
25 typedef unsigned int compat_uptr_t
;
27 typedef int compat_time_t
;
28 typedef int compat_timer_t
;
29 typedef int compat_clock_t
;
37 typedef union compat_sigval
39 compat_int_t sival_int
;
40 compat_uptr_t sival_ptr
;
43 typedef struct compat_siginfo
51 int _pad
[((128 / sizeof (int)) - 3)];
65 compat_sigval_t _sigval
;
68 /* POSIX.1b signals */
73 compat_sigval_t _sigval
;
82 compat_clock_t _utime
;
83 compat_clock_t _stime
;
86 /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */
101 #define cpt_si_pid _sifields._kill._pid
102 #define cpt_si_uid _sifields._kill._uid
103 #define cpt_si_timerid _sifields._timer._tid
104 #define cpt_si_overrun _sifields._timer._overrun
105 #define cpt_si_status _sifields._sigchld._status
106 #define cpt_si_utime _sifields._sigchld._utime
107 #define cpt_si_stime _sifields._sigchld._stime
108 #define cpt_si_ptr _sifields._rt._sigval.sival_ptr
109 #define cpt_si_addr _sifields._sigfault._addr
110 #define cpt_si_band _sifields._sigpoll._band
111 #define cpt_si_fd _sifields._sigpoll._fd
113 void aarch64_siginfo_from_compat_siginfo (siginfo_t
*to
,
114 compat_siginfo_t
*from
);
115 void aarch64_compat_siginfo_from_siginfo (compat_siginfo_t
*to
,
118 void aarch64_linux_prepare_to_resume (struct lwp_info
*lwp
);
120 void aarch64_linux_new_thread (struct lwp_info
*lwp
);
122 #endif /* AARCH64_LINUX_H */
This page took 0.039485 seconds and 4 git commands to generate.