1 /* Low level Alpha GNU/Linux interface, for GDB when running native.
2 Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
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 2 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, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA. */
23 #include "linux-nat.h"
27 alpha_linux_register_u_offset (int regno)
29 /* FIXME drow/2005-09-04: The hardcoded use of register_addr should go
30 away. This requires disentangling the various definitions of it
31 (particularly alpha-nat.c's). */
32 return register_addr (regno, 0);
35 void _initialialize_alpha_linux_nat (void);
38 _initialize_alpha_linux_nat (void)
40 linux_nat_add_target (linux_trad_target (alpha_linux_register_u_offset));