]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/config/m68k/tm-es1800.h
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
5 Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc.
7 This file is part of GDB.
9 GDB is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 1, or (at your option)
14 GDB is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
24 #define GDBINIT_FILENAME ".esgdbinit"
26 #define DEFAULT_PROMPT "(esgdb) "
28 #include "m68k/tm-m68k.h"
30 /* Longjmp stuff borrowed from sun3 configuration. Don't know if correct.
32 /* Offsets (in target ints) into jmp_buf. Not defined by Sun, but at least
33 documented in a comment in <machine/setjmp.h>! */
35 #define JB_ELEMENT_SIZE 4
54 /* Figure out where the longjmp will land. Slurp the args out of the stack.
55 We expect the first arg to be a pointer to the jmp_buf structure from which
56 we extract the pc (JB_PC) that we will land at. The pc is copied into ADDR.
57 This routine returns true on success */
59 #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
60 extern int get_longjmp_target
PARAMS ((CORE_ADDR
*));