Further fix the documentation in struct quick_symbol_functions
[deliverable/binutils-gdb.git] / gdb / ppcobsd-tdep.h
CommitLineData
d195bc9f
MK
1/* Target-dependent code for OpenBSD/powerpc.
2
7b6bb8da 3 Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2011
4c38e0a4 4 Free Software Foundation, Inc.
d195bc9f
MK
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
a9762ec7 10 the Free Software Foundation; either version 3 of the License, or
d195bc9f
MK
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
a9762ec7 19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
d195bc9f
MK
20
21#ifndef PPCOBSD_TDEP_H
22#define PPCOBSD_TDEP_H
23
24#include <stddef.h>
25
26struct regset;
27struct regcache;
28
29/* Register offsets for OpenBSD/powerpc. */
30extern struct ppc_reg_offsets ppcobsd_reg_offsets;
8599da2d 31extern struct ppc_reg_offsets ppcobsd_fpreg_offsets;
d195bc9f
MK
32
33/* Register sets for OpenBSD/powerpc. */
34extern struct regset ppcobsd_gregset;
8599da2d 35extern struct regset ppcobsd_fpregset;
d195bc9f
MK
36\f
37
38/* Supply register REGNUM in the general-purpose register set REGSET
39 from the buffer specified by GREGS and LEN to register cache
40 REGCACHE. If REGNUM is -1, do this for all registers in REGSET. */
41
42extern void ppcobsd_supply_gregset (const struct regset *regset,
43 struct regcache *regcache, int regnum,
44 const void *gregs, size_t len);
45
46/* Collect register REGNUM in the general-purpose register set
0df8b418 47 REGSET, from register cache REGCACHE into the buffer specified by
d195bc9f
MK
48 GREGS and LEN. If REGNUM is -1, do this for all registers in
49 REGSET. */
50
51extern void ppcobsd_collect_gregset (const struct regset *regset,
52 const struct regcache *regcache,
53 int regnum, void *gregs, size_t len);
54
55#endif /* ppcobsd-tdep.h */
This page took 0.709275 seconds and 4 git commands to generate.