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

Subversion Repositories or1k

[/] [or1k/] [branches/] [oc/] [gdb-5.0/] [gdb/] [config/] [m88k/] [xm-cxux.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
/* Host-machine dependent parameters for Motorola 88000, for GDB.
2
   Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993
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
#include "m88k/xm-m88k.h"
23
 
24
#define HOST_BYTE_ORDER BIG_ENDIAN
25
 
26
#if !defined (USG)
27
#define USG 1
28
#endif
29
 
30
#include <sys/param.h>
31
 
32
#define x_foff _x_x._x_offset
33
#define x_fname _x_name
34
#define USER ptrace_user
35
/*
36
   #define _BSD_WAIT_FLAVOR
37
 */
38
 
39
#define HAVE_TERMIO
40
 
41
#ifndef USIZE
42
#define USIZE 2048
43
#ifndef UPAGES
44
#define UPAGES USIZE
45
#endif
46
#endif
47
#define NBPG NBPC
48
 
49
/* Get rid of any system-imposed stack limit if possible.  */
50
 
51
#define SET_STACK_LIMIT_HUGE
52
 
53
/* This is the amount to subtract from u.u_ar0
54
   to get the offset in the core file of the register values.  */
55
 
56
/* Since registers r0 through r31 are stored directly in the struct ptrace_user,
57
   (for m88k BCS)
58
   the ptrace_user offsets are sufficient and KERNEL_U_ADDRESS can be 0 */
59
 
60
#define KERNEL_U_ADDR 0
61
 
62
/* The CX/UX C compiler doesn't permit complex expressions as array bounds. */
63
#define STRICT_ANSI_BOUNDS
64
 
65
#define CORE_REGISTER_ADDR(regno, reg_ptr) \
66
   m88k_harris_core_register_addr(regno, reg_ptr)

powered by: WebSVN 2.1.0

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