* alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New.
[deliverable/binutils-gdb.git] / gdb / config / alpha / nm-linux.h
CommitLineData
92362027
AC
1/* Native definitions for alpha running GNU/Linux.
2
87d1b352
RH
3 Copyright 1993, 1994, 1996, 1998, 2000, 2001, 2002, 2003
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
ed9a39eb
JM
23#ifndef NM_LINUX_H
24#define NM_LINUX_H
25
4f2e4a4f 26#include "config/nm-linux.h"
c2d11a7d 27
c906108c
SS
28/* ptrace register ``addresses'' are absolute. */
29
30#define U_REGS_OFFSET 0
31
92362027 32/* FIXME: This is probably true, or should be, on all GNU/Linux ports.
c2d11a7d 33 IA64? Sparc64? */
c906108c
SS
34#define PTRACE_ARG3_TYPE long
35
36/* ptrace transfers longs, the ptrace man page is lying. */
37
38#define PTRACE_XFER_TYPE long
39
40/* The alpha does not step over a breakpoint, the manpage is lying again. */
41
6e8d29a9 42#define CANNOT_STEP_BREAKPOINT 1
c906108c 43
c906108c
SS
44/* Given a pointer to either a gregset_t or fpregset_t, return a
45 pointer to the first register. */
46#define ALPHA_REGSET_BASE(regsetp) ((long *) (regsetp))
c2d11a7d 47
98a8e1e5
RH
48/* Given a pointer to a gregset_t, locate the UNIQUE value. */
49#define ALPHA_REGSET_UNIQUE(regsetp) ((long *)(regsetp) + 32)
50
87d1b352
RH
51/* The address of UNIQUE for ptrace. */
52#define ALPHA_UNIQUE_PTRACE_ADDR 65
53
ed9a39eb 54#endif /* NM_LINUX_H */
This page took 0.247978 seconds and 4 git commands to generate.