Commit | Line | Data |
---|---|---|
c906108c | 1 | /* Native definitions for alpha running OSF/1. |
39ce7b3f | 2 | |
6aba47ca DJ |
3 | Copyright 1993, 1994, 1995, 1998, 2000, 2004, 2007 |
4 | Free Software Foundation, Inc. | |
c906108c | 5 | |
c5aa993b | 6 | This file is part of GDB. |
c906108c | 7 | |
c5aa993b JM |
8 | This program is free software; you can redistribute it and/or modify |
9 | it under the terms of the GNU General Public License as published by | |
10 | the Free Software Foundation; either version 2 of the License, or | |
11 | (at your option) any later version. | |
c906108c | 12 | |
c5aa993b JM |
13 | This program is distributed in the hope that it will be useful, |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
c906108c | 17 | |
c5aa993b JM |
18 | You should have received a copy of the GNU General Public License |
19 | along with this program; if not, write to the Free Software | |
20 | Foundation, Inc., 59 Temple Place - Suite 330, | |
21 | Boston, MA 02111-1307, USA. */ | |
c906108c | 22 | |
39ce7b3f AC |
23 | /* Number of traps that happen between exec'ing the shell |
24 | to run an inferior, and when we finally get to | |
25 | the inferior code. This is 2 on most implementations. */ | |
26 | #define START_INFERIOR_TRAPS_EXPECTED 3 | |
27 | ||
c906108c SS |
28 | /* ptrace register ``addresses'' are absolute. */ |
29 | ||
30 | #define U_REGS_OFFSET 0 | |
31 | ||
c906108c SS |
32 | /* ptrace transfers longs, the ptrace man page is lying. */ |
33 | ||
34 | #define PTRACE_XFER_TYPE long | |
35 | ||
c906108c SS |
36 | /* Given a pointer to either a gregset_t or fpregset_t, return a |
37 | pointer to the first register. */ | |
38 | #define ALPHA_REGSET_BASE(regsetp) ((regsetp)->regs) |