OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [gdb/] [ppcobsd-tdep.h] - Blame information for rev 277

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
/* Target-dependent code for OpenBSD/powerpc.
2
 
3
   Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010
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 PPCOBSD_TDEP_H
22
#define PPCOBSD_TDEP_H
23
 
24
#include <stddef.h>
25
 
26
struct regset;
27
struct regcache;
28
 
29
/* Register offsets for OpenBSD/powerpc.  */
30
extern struct ppc_reg_offsets ppcobsd_reg_offsets;
31
extern struct ppc_reg_offsets ppcobsd_fpreg_offsets;
32
 
33
/* Register sets for OpenBSD/powerpc.  */
34
extern struct regset ppcobsd_gregset;
35
extern struct regset ppcobsd_fpregset;
36
 
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
 
42
extern 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
47
   REGSET. from register cache REGCACHE into the buffer specified by
48
   GREGS and LEN.  If REGNUM is -1, do this for all registers in
49
   REGSET.  */
50
 
51
extern 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 */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.