binutils/
[external/binutils.git] / gdb / alphabsd-tdep.h
1 /* Common target dependent code for Alpha BSD's.
2
3    Copyright (C) 2002, 2006, 2007, 2008, 2009, 2010, 2011
4    Free Software Foundation, Inc.
5
6    This file is part of GDB.
7
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 3 of the License, or
11    (at your option) any later version.
12
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.
17
18    You should have received a copy of the GNU General Public License
19    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
20
21 #ifndef ALPHABSD_TDEP_H
22 #define ALPHABSD_TDEP_H
23
24 struct regcache;
25
26 void alphabsd_supply_reg (struct regcache *, const char *, int);
27 void alphabsd_fill_reg (const struct regcache *, char *, int);
28
29 void alphabsd_supply_fpreg (struct regcache *, const char *, int);
30 void alphabsd_fill_fpreg (const struct regcache *, char *, int);
31 \f
32
33 /* Functions exported from alphanbsd-tdep.c.  */
34
35 /* Return the appropriate register set for the core section identified
36    by SECT_NAME and SECT_SIZE.  */
37 extern const struct regset *
38   alphanbsd_regset_from_core_section (struct gdbarch *gdbarch,
39                                       const char *sect_name, size_t len);
40
41 #endif /* alphabsd-tdep.h */