1 /* Native definitions for alpha running GNU/Linux.
3 Copyright 1993, 1994, 1996, 1998, 2000, 2001, 2002, 2003, 2007
4 Free Software Foundation, Inc.
6 This file is part of GDB.
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.
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.
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. */
26 #include "config/nm-linux.h"
28 /* Given a pointer to either a gregset_t or fpregset_t, return a
29 pointer to the first register. */
30 #define ALPHA_REGSET_BASE(regsetp) ((long *) (regsetp))
32 /* Given a pointer to a gregset_t, locate the UNIQUE value. */
33 #define ALPHA_REGSET_UNIQUE(regsetp) ((long *)(regsetp) + 32)
35 /* The address of UNIQUE for ptrace. */
36 #define ALPHA_UNIQUE_PTRACE_ADDR 65
38 #endif /* NM_LINUX_H */