* linux-nat.c (linux_register_u_offset): Remove.
[external/binutils.git] / gdb / alpha-linux-nat.c
1 /* Low level Alpha GNU/Linux interface, for GDB when running native.
2    Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
3
4    This file is part of GDB.
5
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.
10
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.
15
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.  */
20
21 #include "defs.h"
22 #include "target.h"
23 #include "linux-nat.h"
24 #include "gdbcore.h"
25
26 static CORE_ADDR
27 alpha_linux_register_u_offset (int regno)
28 {
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);
33 }
34
35 void _initialialize_alpha_linux_nat (void);
36
37 void
38 _initialize_alpha_linux_nat (void)
39 {
40   linux_nat_add_target (linux_trad_target (alpha_linux_register_u_offset));
41 }