fix typo, added @table
[deliverable/binutils-gdb.git] / gdb / tm-es1800.h
CommitLineData
498f1df0
FF
1/* Parameters for execution on ES-1800 emulator for 68000.
2 The code was originally written by Johan Holmberg TT/SJ Ericsson Telecom
3 AB and later modified by Johan Henriksson TT/SJ. It was adapted to GDB 4.0
4 by Jan Norden TX/DK.
ebb3a1e5 5 Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
498f1df0
FF
6
7This file is part of GDB.
8
9GDB is free software; you can redistribute it and/or modify
10it under the terms of the GNU General Public License as published by
11the Free Software Foundation; either version 1, or (at your option)
12any later version.
13
14GDB is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with GDB; see the file COPYING. If not, write to
21the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
22
23#define GDBINIT_FILENAME ".esgdbinit"
24
25#define DEFAULT_PROMPT "(esgdb) "
26
6131a42a
JG
27#define HAVE_68881
28
29#include "tm-68k.h"
498f1df0 30
ebb3a1e5
JG
31/* Define this if the C compiler puts an underscore at the front
32 of external names before giving them to the linker. */
33
34#define NAMES_HAVE_UNDERSCORE
35
6131a42a
JG
36/* Longjmp stuff borrowed from sun3 configuration. Don't know if correct.
37 FIXME. */
38/* Offsets (in target ints) into jmp_buf. Not defined by Sun, but at least
39 documented in a comment in <machine/setjmp.h>! */
40
41#define JB_ELEMENT_SIZE 4
42
43#define JB_ONSSTACK 0
44#define JB_SIGMASK 1
45#define JB_SP 2
46#define JB_PC 3
47#define JB_PSL 4
48#define JB_D2 5
49#define JB_D3 6
50#define JB_D4 7
51#define JB_D5 8
52#define JB_D6 9
53#define JB_D7 10
54#define JB_A2 11
55#define JB_A3 12
56#define JB_A4 13
57#define JB_A5 14
58#define JB_A6 15
59
60/* Figure out where the longjmp will land. Slurp the args out of the stack.
61 We expect the first arg to be a pointer to the jmp_buf structure from which
62 we extract the pc (JB_PC) that we will land at. The pc is copied into ADDR.
63 This routine returns true on success */
498f1df0 64
6131a42a 65#define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
This page took 0.036283 seconds and 4 git commands to generate.