Commit | Line | Data |
---|---|---|
ed9a39eb | 1 | /* Definitions to target GDB to ARM embedded systems. |
b6ba6518 KB |
2 | Copyright 1986, 1987, 1988, 1989, 1991, 1993, 1994, 1995, 1996, 1997, |
3 | 1998, 1999, 2000 Free Software Foundation, Inc. | |
ed9a39eb JM |
4 | |
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; if not, write to the Free Software | |
19 | Foundation, Inc., 59 Temple Place - Suite 330, | |
20 | Boston, MA 02111-1307, USA. */ | |
21 | ||
22 | #ifndef TM_ARMEMBED_H | |
23 | #define TM_ARMEMBED_H | |
24 | ||
25 | /* Include the common ARM definitions. */ | |
26 | #include "arm/tm-arm.h" | |
27 | ||
80fcf3f0 FN |
28 | /* The remote stub should be able to single-step. */ |
29 | #undef SOFTWARE_SINGLE_STEP_P | |
30 | #define SOFTWARE_SINGLE_STEP_P() 0 | |
31 | ||
ed9a39eb | 32 | /* The first 0x20 bytes are the trap vectors. */ |
134e61c4 | 33 | #undef LOWEST_PC |
ed9a39eb JM |
34 | #define LOWEST_PC 0x20 |
35 | ||
36 | /* Override defaults. */ | |
37 | ||
38 | #undef THUMB_LE_BREAKPOINT | |
39 | #define THUMB_LE_BREAKPOINT {0xbe,0xbe} | |
40 | #undef THUMB_BE_BREAKPOINT | |
41 | #define THUMB_BE_BREAKPOINT {0xbe,0xbe} | |
42 | ||
ed9a39eb | 43 | /* Functions for dealing with Thumb call thunks. */ |
ed9a39eb | 44 | #define SKIP_TRAMPOLINE_CODE(pc) arm_skip_stub (pc) |
a14ed312 KB |
45 | extern int arm_in_call_stub (CORE_ADDR pc, char *name); |
46 | extern CORE_ADDR arm_skip_stub (CORE_ADDR pc); | |
ed9a39eb | 47 | |
ed9a39eb | 48 | #endif /* TM_ARMEMBED_H */ |