2004-02-29 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / config / m68k / tm-sun3.h
CommitLineData
5994185b
AC
1// OBSOLETE /* Parameters for execution on a Sun, for GDB, the GNU debugger.
2// OBSOLETE Copyright 1986, 1987, 1989, 1992, 1993, 1994, 1996, 2000
3// OBSOLETE Free Software Foundation, Inc.
4// OBSOLETE
5// OBSOLETE This file is part of GDB.
6// OBSOLETE
7// OBSOLETE This program is free software; you can redistribute it and/or modify
8// OBSOLETE it under the terms of the GNU General Public License as published by
9// OBSOLETE the Free Software Foundation; either version 2 of the License, or
10// OBSOLETE (at your option) any later version.
11// OBSOLETE
12// OBSOLETE This program is distributed in the hope that it will be useful,
13// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
14// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15// OBSOLETE GNU General Public License for more details.
16// OBSOLETE
17// OBSOLETE You should have received a copy of the GNU General Public License
18// OBSOLETE along with this program; if not, write to the Free Software
19// OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
20// OBSOLETE Boston, MA 02111-1307, USA. */
21// OBSOLETE
22// OBSOLETE #ifndef TM_SUN3_H
23// OBSOLETE #define TM_SUN3_H
24// OBSOLETE
25// OBSOLETE /* Sun3 status includes fpflags, which shows whether the FPU has been used
26// OBSOLETE by the process, and whether the FPU was done with an instruction or
27// OBSOLETE was interrupted in the middle of a long instruction. See
28// OBSOLETE <machine/reg.h>. */
29// OBSOLETE /* a&d, pc,sr, fp, fpstat, fpflags */
30// OBSOLETE
31// OBSOLETE #define DEPRECATED_REGISTER_BYTES (16*4 + 8 + 8*12 + 3*4 + 4)
32// OBSOLETE
33// OBSOLETE #define NUM_REGS 31
34// OBSOLETE
35// OBSOLETE #define REGISTER_BYTES_OK(b) \
36// OBSOLETE ((b) == DEPRECATED_REGISTER_BYTES \
37// OBSOLETE || (b) == REGISTER_BYTES_FP \
38// OBSOLETE || (b) == REGISTER_BYTES_NOFP)
39// OBSOLETE
40// OBSOLETE /* If PC contains this instruction, then we know what we are in a system
41// OBSOLETE call stub, and the return PC is is at SP+4, instead of SP. */
42// OBSOLETE
43// OBSOLETE #define SYSCALL_TRAP 0x4e40 /* trap #0 */
44// OBSOLETE #define SYSCALL_TRAP_OFFSET 0 /* PC points at trap instruction */
45// OBSOLETE
46// OBSOLETE #include "m68k/tm-m68k.h"
47// OBSOLETE
48// OBSOLETE /* Disable alternate breakpoint mechanism needed by 68k stub. */
49// OBSOLETE #undef DEPRECATED_REMOTE_BREAKPOINT
50// OBSOLETE
51// OBSOLETE /* Offsets (in target ints) into jmp_buf. Not defined by Sun, but at least
52// OBSOLETE documented in a comment in <machine/setjmp.h>! */
53// OBSOLETE
54// OBSOLETE #define JB_ELEMENT_SIZE 4
55// OBSOLETE
56// OBSOLETE #define JB_ONSSTACK 0
57// OBSOLETE #define JB_SIGMASK 1
58// OBSOLETE #define JB_SP 2
59// OBSOLETE #define JB_PC 3
60// OBSOLETE #define JB_PSL 4
61// OBSOLETE #define JB_D2 5
62// OBSOLETE #define JB_D3 6
63// OBSOLETE #define JB_D4 7
64// OBSOLETE #define JB_D5 8
65// OBSOLETE #define JB_D6 9
66// OBSOLETE #define JB_D7 10
67// OBSOLETE #define JB_A2 11
68// OBSOLETE #define JB_A3 12
69// OBSOLETE #define JB_A4 13
70// OBSOLETE #define JB_A5 14
71// OBSOLETE #define JB_A6 15
72// OBSOLETE
73// OBSOLETE /* Figure out where the longjmp will land. Slurp the args out of the stack.
74// OBSOLETE We expect the first arg to be a pointer to the jmp_buf structure from which
75// OBSOLETE we extract the pc (JB_PC) that we will land at. The pc is copied into ADDR.
76// OBSOLETE This routine returns true on success */
77// OBSOLETE
78// OBSOLETE #define GET_LONGJMP_TARGET(ADDR) m68k_get_longjmp_target(ADDR)
79// OBSOLETE
80// OBSOLETE /* If sun3 pcc says that a parameter is a short, it's a short. */
81// OBSOLETE #define BELIEVE_PCC_PROMOTION_TYPE 1
82// OBSOLETE
83// OBSOLETE /* Can't define BELIEVE_PCC_PROMOTION for SunOS /bin/cc of SunOS 4.1.1.
84// OBSOLETE Apparently Sun fixed this for the sparc but not the sun3. */
85// OBSOLETE
86// OBSOLETE /* The code which tries to deal with this bug is never harmful on a sun3. */
87// OBSOLETE #define SUN_FIXED_LBRAC_BUG (0)
88// OBSOLETE
89// OBSOLETE #endif /* TM_SUN3_H */
This page took 0.045839 seconds and 4 git commands to generate.