]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/config/m68k/tm-monitor.h
Initial creation of sourceware repository
[thirdparty/binutils-gdb.git] / gdb / config / m68k / tm-monitor.h
1 /* Target machine definitions for a generic m68k monitor/emulator.
2 Copyright (C) 1986, 1987, 1989, 1993, 1995 Free Software Foundation, Inc.
3
4 This file is part of GDB.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
19
20 /* The definitions here are appropriate for several embedded m68k-based
21 targets, including IDP (rom68k), BCC (cpu32bug), and EST's emulator. */
22
23 /* GCC is probably the only compiler used on this configuration. So
24 get this right even if the code which detects gcc2_compiled. is
25 still broken. */
26
27 #define BELIEVE_PCC_PROMOTION 1
28
29 /* The target system handles breakpoints. */
30
31 #define DECR_PC_AFTER_BREAK 0
32
33 /* No float registers. */
34
35 /*#define NUM_REGS 18*/
36
37 #include "m68k/tm-m68k.h"
38
39 /* Need to do this for ELF targets, where we can't figure out the boundaries of
40 the entry file. This method stops the backtrace when we reach main. */
41
42 #define FRAME_CHAIN_VALID(fp,fi) alternate_frame_chain_valid (fp, fi)
43
44 /* FIXME, should do GET_LONGJMP_TARGET for newlib. */