]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/sparcbsd-nat.h
Rewrite FreeBSD/sparc64 native configuration.
[thirdparty/binutils-gdb.git] / gdb / sparcbsd-nat.h
CommitLineData
8b39fe56
MK
1/* Native-dependent code for SPARC BSD's.
2
3 Copyright 2003 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 2 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, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
21
22#ifndef SPARCBSD_NAT_H
23#define SPARCBSD_NAT_H
24
25/* Functions translating between `struct reg' and `struct fpreg' and
26 GDB's register cache. */
27extern void (*sparcbsd_supply_reg)(const char *, int);
28extern void (*sparcbsd_fill_reg)(char *, int);
29extern void (*sparcbsd_supply_fpreg)(const char *, int);
30extern void (*sparcbsd_fill_fpreg)(char *, int);
31
32/* Functions indication whether `struct reg' or `struct fpreg' provides
33 a certain register. */
34extern int (*sparcbsd_reg_supplies_p)(int);
35extern int (*sparcbsd_fpreg_supplies_p)(int);
36
37#endif /* sparcbsd-nat.h */