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]

ARM/NetBSD PATCH Clean up JB_...


Cleans up an ARI whinge.

2002-12-17  Richard Earnshaw  <rearnsha@arm.com>

	* armnbsd-tdep.c (ARM_NBSD_JB_PC): Renamed from JB_PC.
	All uses changed
	(ARM_NBSD_JB_ELELMENT_SIZE): Similarly.


Index: armnbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/armnbsd-tdep.c,v
retrieving revision 1.6
diff -p -p -r1.6 armnbsd-tdep.c
*** armnbsd-tdep.c	22 May 2002 03:59:53 -0000	1.6
--- armnbsd-tdep.c	17 Dec 2002 22:08:12 -0000
***************
*** 25,32 ****
  #include "solib-svr4.h"
  
  /* Description of the longjmp buffer.  */
! #define JB_PC 24
! #define JB_ELEMENT_SIZE INT_REGISTER_RAW_SIZE
  
  /* For compatibility with previous implemenations of GDB on arm/NetBSD,
     override the default little-endian breakpoint.  */
--- 25,32 ----
  #include "solib-svr4.h"
  
  /* Description of the longjmp buffer.  */
! #define ARM_NBSD_JB_PC 24
! #define ARM_NBSD_JB_ELEMENT_SIZE INT_REGISTER_RAW_SIZE
  
  /* For compatibility with previous implemenations of GDB on arm/NetBSD,
     override the default little-endian breakpoint.  */
*************** arm_netbsd_init_abi_common (struct gdbar
*** 51,58 ****
    tdep->arm_breakpoint = arm_nbsd_arm_le_breakpoint;
    tdep->arm_breakpoint_size = sizeof (arm_nbsd_arm_le_breakpoint);
  
!   tdep->jb_pc = JB_PC;
!   tdep->jb_elt_size = JB_ELEMENT_SIZE;
  }
    
  static void
--- 51,58 ----
    tdep->arm_breakpoint = arm_nbsd_arm_le_breakpoint;
    tdep->arm_breakpoint_size = sizeof (arm_nbsd_arm_le_breakpoint);
  
!   tdep->jb_pc = ARM_NBSD_JB_PC;
!   tdep->jb_elt_size = ARM_NBSD_JB_ELEMENT_SIZE;
  }
    
  static void

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