]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/alphabsd-tdep.h
Switch the license of all .c files to GPLv3.
[thirdparty/binutils-gdb.git] / gdb / alphabsd-tdep.h
1 /* Common target dependent code for Alpha BSD's.
2
3 Copyright (C) 2002, 2006, 2007 Free Software Foundation, Inc.
4
5 This file is part of GDB.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
20 #ifndef ALPHABSD_TDEP_H
21 #define ALPHABSD_TDEP_H
22
23 struct regcache;
24
25 void alphabsd_supply_reg (struct regcache *, const char *, int);
26 void alphabsd_fill_reg (const struct regcache *, char *, int);
27
28 void alphabsd_supply_fpreg (struct regcache *, const char *, int);
29 void alphabsd_fill_fpreg (const struct regcache *, char *, int);
30 \f
31
32 /* Functions exported from alphanbsd-tdep.c. */
33
34 /* Return the appropriate register set for the core section identified
35 by SECT_NAME and SECT_SIZE. */
36 extern const struct regset *
37 alphanbsd_regset_from_core_section (struct gdbarch *gdbarch,
38 const char *sect_name, size_t len);
39
40 #endif /* alphabsd-tdep.h */