This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH arm-elf remove redundant defines
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: Richard dot Earnshaw at arm dot com
- Date: Tue, 26 Feb 2002 14:25:10 +0000
- Subject: PATCH arm-elf remove redundant defines
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
This patch deletes some useless defines from config/arm/tm-embed.h. The
first three are not used anywhere, the last one is a duplicate of a
definition in tm-arm.h
2002-02-26 Richard Earnshaw <rearnsha@arm.com>
* config/arm/tm-embed.h (TARGET_UPAGES): Delete.
(TARGET_NBPG, STACK_END_ADDR): Delete
(VARIABLES_INSIDE_BLOCK): Delete.
Index: tm-embed.h
===================================================================
RCS file: /cvs/src/src/gdb/config/arm/tm-embed.h,v
retrieving revision 1.6
diff -p -r1.6 tm-embed.h
*** tm-embed.h 2001/12/19 17:57:42 1.6
--- tm-embed.h 2002/02/26 14:21:05
***************
*** 29,41 ****
#undef SOFTWARE_SINGLE_STEP_P
#define SOFTWARE_SINGLE_STEP_P() 0
- /* I don't know the real values for these. */
- #define TARGET_UPAGES UPAGES
- #define TARGET_NBPG NBPG
-
- /* Address of end of stack space. */
- #define STACK_END_ADDR (0x01000000 - (TARGET_UPAGES * TARGET_NBPG))
-
/* The first 0x20 bytes are the trap vectors. */
#undef LOWEST_PC
#define LOWEST_PC 0x20
--- 29,34 ----
***************
*** 46,56 ****
#define THUMB_LE_BREAKPOINT {0xbe,0xbe}
#undef THUMB_BE_BREAKPOINT
#define THUMB_BE_BREAKPOINT {0xbe,0xbe}
-
- /* Specify that for the native compiler variables for a particular
- lexical context are listed after the beginning LBRAC instead of
- before in the executables list of symbols. */
- #define VARIABLES_INSIDE_BLOCK(desc, gcc_p) (!(gcc_p))
/* Functions for dealing with Thumb call thunks. */
#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) arm_in_call_stub (pc, name)
--- 39,44 ----