GDB (API)
|
00001 /* Native-dependent code for SPARC. 00002 00003 Copyright (C) 2003-2013 Free Software Foundation, Inc. 00004 00005 This file is part of GDB. 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation; either version 3 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00019 00020 #ifndef SPARC_NAT_H 00021 #define SPARC_NAT_H 1 00022 00023 struct sparc_gregset; 00024 struct sparc_fpregset; 00025 00026 extern const struct sparc_gregset *sparc_gregset; 00027 extern const struct sparc_fpregset *sparc_fpregset; 00028 extern void (*sparc_supply_gregset) (const struct sparc_gregset *, 00029 struct regcache *, int , const void *); 00030 extern void (*sparc_collect_gregset) (const struct sparc_gregset *, 00031 const struct regcache *, int, void *); 00032 extern void (*sparc_supply_fpregset) (const struct sparc_fpregset *, 00033 struct regcache *, int , const void *); 00034 extern void (*sparc_collect_fpregset) (const struct sparc_fpregset *, 00035 const struct regcache *, int , void *); 00036 extern int (*sparc_gregset_supplies_p) (struct gdbarch *gdbarch, int); 00037 extern int (*sparc_fpregset_supplies_p) (struct gdbarch *gdbarch, int); 00038 00039 extern int sparc32_gregset_supplies_p (struct gdbarch *gdbarch, int regnum); 00040 extern int sparc32_fpregset_supplies_p (struct gdbarch *gdbarch, int regnum); 00041 00042 /* Create a prototype generic SPARC target. The client can override 00043 it with local methods. */ 00044 00045 extern struct target_ops *sparc_target (void); 00046 00047 extern void sparc_fetch_inferior_registers (struct target_ops *, 00048 struct regcache *, int); 00049 extern void sparc_store_inferior_registers (struct target_ops *, 00050 struct regcache *, int); 00051 00052 #endif /* sparc-nat.h */