1 /* Macro definitions for Sparc running under NetBSD.
2 Copyright 1994 Free Software Foundation, Inc.
4 This file is part of GDB.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
23 #include "sparc/tm-sparc.h"
26 /* make things match up with what is expected in sparc-nat.c */
27 #define regs trapframe
28 #define fp_status fpstate
30 #define r_g1 tf_global[1]
37 #define fpu_regs fs_regs
38 #define fpu_fsr fs_fsr
39 #define fpu_fr fs_regs
40 #define Fpu_fsr fs_fsr
41 #define FPU_FSR_TYPE int
43 #define PTRACE_GETREGS PT_GETREGS
44 #define PTRACE_GETFPREGS PT_GETFPREGS
45 #define PTRACE_SETREGS PT_SETREGS
46 #define PTRACE_SETFPREGS PT_SETFPREGS
48 #endif /* TM_NBSD_H */