]>
Commit | Line | Data |
---|---|---|
c906108c SS |
1 | /* Target machine definitions for a generic m68k monitor/emulator. |
2 | Copyright (C) 1986, 1987, 1989, 1993, 1995 Free Software Foundation, Inc. | |
3 | ||
c5aa993b | 4 | This file is part of GDB. |
c906108c | 5 | |
c5aa993b JM |
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. | |
c906108c | 10 | |
c5aa993b JM |
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. | |
c906108c | 15 | |
c5aa993b JM |
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. */ | |
c906108c SS |
20 | |
21 | /* The definitions here are appropriate for several embedded m68k-based | |
22 | targets, including IDP (rom68k), BCC (cpu32bug), and EST's emulator. */ | |
23 | ||
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 | |
26 | still broken. */ | |
27 | ||
28 | #define BELIEVE_PCC_PROMOTION 1 | |
29 | ||
30 | /* The target system handles breakpoints. */ | |
31 | ||
32 | #define DECR_PC_AFTER_BREAK 0 | |
33 | ||
34 | /* No float registers. */ | |
35 | ||
c5aa993b | 36 | /*#define NUM_REGS 18 */ |
c906108c SS |
37 | |
38 | #include "m68k/tm-m68k.h" | |
39 | ||
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. */ | |
42 | ||
c4093a6a | 43 | #define FRAME_CHAIN_VALID(fp,fi) func_frame_chain_valid (fp, fi) |
c906108c SS |
44 | |
45 | /* FIXME, should do GET_LONGJMP_TARGET for newlib. */ |