]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/gdb/gdb/config/arm/tm-embed.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / gdb / gdb / config / arm / tm-embed.h
1 /* Definitions to target GDB to ARM embedded systems.
2    Copyright 1986, 1987, 1988, 1989, 1991, 1993, 1994, 1995, 1996, 1997,
3    1998, 1999, 2000 Free Software Foundation, Inc.
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
28 /* The remote stub should be able to single-step. */
29 #undef SOFTWARE_SINGLE_STEP_P
30 #define SOFTWARE_SINGLE_STEP_P() 0
31
32 /* The first 0x20 bytes are the trap vectors.  */
33 #undef LOWEST_PC
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
43 /* Functions for dealing with Thumb call thunks.  */
44 #define IN_SOLIB_CALL_TRAMPOLINE(pc, name)      arm_in_call_stub (pc, name)
45 #define SKIP_TRAMPOLINE_CODE(pc)                arm_skip_stub (pc)
46 extern int arm_in_call_stub (CORE_ADDR pc, char *name);
47 extern CORE_ADDR arm_skip_stub (CORE_ADDR pc);
48
49 #undef  IN_SIGTRAMP
50 #define IN_SIGTRAMP(pc, name) 0
51
52 #endif /* TM_ARMEMBED_H */