]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - 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.
4 This file is part of GDB.
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.
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.
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,
19 Boston, MA 02111-1307, USA. */
21 /* The definitions here are appropriate for several embedded m68k-based
22 targets, including IDP (rom68k), BCC (cpu32bug), and EST's emulator. */
24 /* GCC is probably the only compiler used on this configuration. So
25 get this right even if the code which detects gcc2_compiled. is
28 #define BELIEVE_PCC_PROMOTION 1
30 /* The target system handles breakpoints. */
32 #define DECR_PC_AFTER_BREAK 0
34 /* No float registers. */
36 /*#define NUM_REGS 18 */
38 #include "m68k/tm-m68k.h"
40 /* Need to do this for ELF targets, where we can't figure out the boundaries of
41 the entry file. This method stops the backtrace when we reach main. */
43 #define FRAME_CHAIN_VALID(fp,fi) alternate_frame_chain_valid (fp, fi)
45 /* FIXME, should do GET_LONGJMP_TARGET for newlib. */