This is the mail archive of the gdb-patches@sourceware.cygnus.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]

[patch/mips] Only one TARGET_BYTE_ORDER_SELECTABLE_P


FYI,

If you look closely you can probably figure out what a follow-on patch
is going to be :-)

	Andrew
Tue Jun  6 16:46:37 2000  Andrew Cagney  <cagney@b1.cygnus.com>

	* config/mips/tm-vr5000el.h, config/mips/tm-vr5000.h,
 	config/mips/tm-vr4xxxel.h, config/mips/tm-vr4xxx.h,
 	config/mips/tm-vr4300el.h, config/mips/tm-vr4100.h,
 	config/mips/tm-vr4300.h, config/mips/tm-tx39l.h,
 	config/mips/tm-tx39.h, config/mips/tm-embedl64.h,
 	config/mips/tm-embedl.h, config/mips/tm-embed64.h,
 	config/mips/tm-embed.h: Delete TARGET_BYTE_ORDER_SELECTABLE_P.

	* tm-mips.h (TARGET_BYTE_ORDER_SELECTABLE_P): Define as 1.
	
Index: config/mips/tm-embed.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-embed.h,v
retrieving revision 1.2
diff -p -r1.2 tm-embed.h
*** tm-embed.h	2000/05/28 01:12:36	1.2
--- tm-embed.h	2000/06/06 06:54:56
***************
*** 1,4 ****
! /* Copyright (C) 1993 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
--- 1,4 ----
! /* Copyright (C) 1993, 2000 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
***************
*** 16,23 ****
     along with this program; if not, write to the Free Software
     Foundation, Inc., 59 Temple Place - Suite 330,
     Boston, MA 02111-1307, USA.  */
- 
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
  
  #include "mips/tm-bigmips.h"
  
--- 16,21 ----
Index: config/mips/tm-embed64.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-embed64.h,v
retrieving revision 1.1.1.2
diff -p -r1.1.1.2 tm-embed64.h
*** tm-embed64.h	1999/07/07 20:15:23	1.1.1.2
--- tm-embed64.h	2000/06/06 06:54:56
***************
*** 1,4 ****
! /* Copyright (C) 1993 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
--- 1,4 ----
! /* Copyright (C) 1993, 2000 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
***************
*** 16,22 ****
     along with this program; if not, write to the Free Software
     Foundation, Inc., 59 Temple Place - Suite 330,
     Boston, MA 02111-1307, USA.  */
- 
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
  
  #include "mips/tm-bigmips64.h"
--- 16,20 ----
Index: config/mips/tm-embedl.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-embedl.h,v
retrieving revision 1.1.1.2
diff -p -r1.1.1.2 tm-embedl.h
*** tm-embedl.h	1999/07/07 20:15:24	1.1.1.2
--- tm-embedl.h	2000/06/06 06:54:56
***************
*** 1,4 ****
! /* Copyright (C) 1993 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
--- 1,4 ----
! /* Copyright (C) 1993, 2000 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
***************
*** 16,22 ****
     along with this program; if not, write to the Free Software
     Foundation, Inc., 59 Temple Place - Suite 330,
     Boston, MA 02111-1307, USA.  */
- 
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
  
  #include "mips/tm-mips.h"
--- 16,20 ----
Index: config/mips/tm-embedl64.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-embedl64.h,v
retrieving revision 1.1.1.2
diff -p -r1.1.1.2 tm-embedl64.h
*** tm-embedl64.h	1999/07/07 20:15:25	1.1.1.2
--- tm-embedl64.h	2000/06/06 06:54:56
***************
*** 1,4 ****
! /* Copyright (C) 1993 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
--- 1,4 ----
! /* Copyright (C) 1993, 2000 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
***************
*** 16,22 ****
     along with this program; if not, write to the Free Software
     Foundation, Inc., 59 Temple Place - Suite 330,
     Boston, MA 02111-1307, USA.  */
- 
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
  
  #include "mips/tm-mips64.h"
--- 16,20 ----
Index: config/mips/tm-mips.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-mips.h,v
retrieving revision 1.8
diff -p -r1.8 tm-mips.h
*** tm-mips.h	2000/06/06 06:19:57	1.8
--- tm-mips.h	2000/06/06 06:54:59
*************** extern void mips_set_processor_type_comm
*** 588,590 ****
--- 588,596 ----
  /* MIPS sign extends addresses */
  #define POINTER_TO_ADDRESS(TYPE,BUF) (signed_pointer_to_address (TYPE, BUF))
  #define ADDRESS_TO_POINTER(TYPE,BUF,ADDR) (address_to_signed_pointer (TYPE, BUF, ADDR))
+ 
+ 
+ /* MIPS is always bi-endian */
+ #if !GDB_MULTI_ARCH
+ #define TARGET_BYTE_ORDER_SELECTABLE_P 1
+ #endif
Index: config/mips/tm-tx39.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-tx39.h,v
retrieving revision 1.1.1.3
diff -p -r1.1.1.3 tm-tx39.h
*** tm-tx39.h	1999/07/07 20:15:33	1.1.1.3
--- tm-tx39.h	2000/06/06 06:54:59
***************
*** 1,4 ****
! /* Copyright (C) 1993 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
--- 1,4 ----
! /* Copyright (C) 1993, 2000 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
***************
*** 17,23 ****
     Foundation, Inc., 59 Temple Place - Suite 330,
     Boston, MA 02111-1307, USA.  */
  
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
  #define MIPS_EABI 1
  #define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_NONE
  
--- 17,22 ----
Index: config/mips/tm-tx39l.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-tx39l.h,v
retrieving revision 1.1.1.3
diff -p -r1.1.1.3 tm-tx39l.h
*** tm-tx39l.h	1999/07/07 20:15:34	1.1.1.3
--- tm-tx39l.h	2000/06/06 06:54:59
***************
*** 1,4 ****
! /* Copyright (C) 1993 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
--- 1,4 ----
! /* Copyright (C) 1993, 2000 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
***************
*** 17,23 ****
     Foundation, Inc., 59 Temple Place - Suite 330,
     Boston, MA 02111-1307, USA.  */
  
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
  #define MIPS_EABI 1
  #define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_NONE
  
--- 17,22 ----
Index: config/mips/tm-vr4100.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-vr4100.h,v
retrieving revision 1.2
diff -p -r1.2 tm-vr4100.h
*** tm-vr4100.h	2000/06/06 06:19:57	1.2
--- tm-vr4100.h	2000/06/06 06:54:59
***************
*** 17,23 ****
     Foundation, Inc., 59 Temple Place - Suite 330,
     Boston, MA 02111-1307, USA.  */
  
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
  #define MIPS_EABI 1
  #define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_NONE
  #define TARGET_PTR_BIT 64
--- 17,22 ----
Index: config/mips/tm-vr4300.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-vr4300.h,v
retrieving revision 1.2
diff -p -r1.2 tm-vr4300.h
*** tm-vr4300.h	2000/06/06 06:19:57	1.2
--- tm-vr4300.h	2000/06/06 06:54:59
***************
*** 17,22 ****
     Foundation, Inc., 59 Temple Place - Suite 330,
     Boston, MA 02111-1307, USA.  */
  
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
- 
  #include "mips/tm-bigmips64.h"
--- 17,20 ----
Index: config/mips/tm-vr4300el.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-vr4300el.h,v
retrieving revision 1.2
diff -p -r1.2 tm-vr4300el.h
*** tm-vr4300el.h	2000/06/06 06:19:57	1.2
--- tm-vr4300el.h	2000/06/06 06:54:59
***************
*** 17,22 ****
     Foundation, Inc., 59 Temple Place - Suite 330,
     Boston, MA 02111-1307, USA.  */
  
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
- 
  #include "mips/tm-mips64.h"
--- 17,20 ----
Index: config/mips/tm-vr4xxx.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-vr4xxx.h,v
retrieving revision 1.2
diff -p -r1.2 tm-vr4xxx.h
*** tm-vr4xxx.h	2000/06/06 06:19:57	1.2
--- tm-vr4xxx.h	2000/06/06 06:54:59
***************
*** 19,24 ****
  
  #define GDB_MULTI_ARCH 1
  #define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_DOUBLE
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
  
  #include "mips/tm-bigmips64.h"
--- 19,23 ----
Index: config/mips/tm-vr4xxxel.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-vr4xxxel.h,v
retrieving revision 1.2
diff -p -r1.2 tm-vr4xxxel.h
*** tm-vr4xxxel.h	2000/06/06 06:19:57	1.2
--- tm-vr4xxxel.h	2000/06/06 06:54:59
***************
*** 19,24 ****
  
  #define GDB_MULTI_ARCH 1
  #define MIPS_DEFAULT_FPU_TYPE MIPS_FPU_DOUBLE
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
  
  #include "mips/tm-mips64.h"
--- 19,23 ----
Index: config/mips/tm-vr5000.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-vr5000.h,v
retrieving revision 1.2
diff -p -r1.2 tm-vr5000.h
*** tm-vr5000.h	2000/06/06 06:19:57	1.2
--- tm-vr5000.h	2000/06/06 06:54:59
***************
*** 18,24 ****
     Boston, MA 02111-1307, USA.  */
  
  #define GDB_MULTI_ARCH 1
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
  #define MIPS_EABI 1
  
  #include "mips/tm-bigmips64.h"
--- 18,23 ----
Index: config/mips/tm-vr5000el.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-vr5000el.h,v
retrieving revision 1.2
diff -p -r1.2 tm-vr5000el.h
*** tm-vr5000el.h	2000/06/06 06:19:57	1.2
--- tm-vr5000el.h	2000/06/06 06:54:59
***************
*** 18,24 ****
     Boston, MA 02111-1307, USA.  */
  
  #define GDB_MULTI_ARCH 1
- #define TARGET_BYTE_ORDER_SELECTABLE_P 1
  #define MIPS_EABI 1
  
  #include "mips/tm-mips64.h"
--- 18,23 ----

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