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.
5 This file is part of GDB.
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.
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.
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. */
25 /* Include the common ARM definitions. */
26 #include "arm/tm-arm.h"
28 /* I don't know the real values for these. */
29 #define TARGET_UPAGES UPAGES
30 #define TARGET_NBPG NBPG
32 /* Address of end of stack space. */
33 #define STACK_END_ADDR (0x01000000 - (TARGET_UPAGES * TARGET_NBPG))
35 /* The first 0x20 bytes are the trap vectors. */
37 #define LOWEST_PC 0x20
39 /* Override defaults. */
41 #undef THUMB_LE_BREAKPOINT
42 #define THUMB_LE_BREAKPOINT {0xbe,0xbe}
43 #undef THUMB_BE_BREAKPOINT
44 #define THUMB_BE_BREAKPOINT {0xbe,0xbe}
46 /* Specify that for the native compiler variables for a particular
47 lexical context are listed after the beginning LBRAC instead of
48 before in the executables list of symbols. */
49 #define VARIABLES_INSIDE_BLOCK(desc, gcc_p) (!(gcc_p))
51 /* Functions for dealing with Thumb call thunks. */
52 #define IN_SOLIB_CALL_TRAMPOLINE(pc, name) arm_in_call_stub (pc, name)
53 #define SKIP_TRAMPOLINE_CODE(pc) arm_skip_stub (pc)
54 extern int arm_in_call_stub (CORE_ADDR pc
, char *name
);
55 extern CORE_ADDR
arm_skip_stub (CORE_ADDR pc
);
58 #define IN_SIGTRAMP(pc, name) 0
60 #endif /* TM_ARMEMBED_H */
This page took 0.030568 seconds and 5 git commands to generate.