OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [config/] [i386/] [tm-i386aix.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
/* Macro defintions for IBM AIX PS/2 (i386).
2
   Copyright 1986, 1987, 1989, 1992, 1993, 1994, 1995, 2000
3
   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
/* Changes for IBM AIX PS/2 by Minh Tran-Le (tranle@intellicorp.com).  */
23
 
24
#ifndef TM_I386AIX_H
25
#define TM_I386AIX_H 1
26
 
27
#include "i386/tm-i386.h"
28
#include <sys/reg.h>
29
 
30
#ifndef I386
31
#define I386 1
32
#endif
33
 
34
/* AIX/i386 has FPU support.  However, the native configuration (which
35
   is the only supported configuration) doesn't make the FPU control
36
   registers available.  Override the appropriate symbols such that
37
   only the normal FPU registers are included in GDB's register array.  */
38
 
39
#undef NUM_FPREGS
40
#define NUM_FPREGS (8)
41
 
42
#undef NUM_REGS
43
#define NUM_REGS (NUM_GREGS + NUM_FPREGS)
44
 
45
#undef REGISTER_BYTES
46
#define REGISTER_BYTES (SIZEOF_GREGS + SIZEOF_FPU_REGS)
47
 
48
#endif /* TM_I386AIX_H */

powered by: WebSVN 2.1.0

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