This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH arm-elf remove redundant defines



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 ----

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]