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/Linux Fix JB_ ARI winge.



Fixes the new ARI winge about this.  The definitions were only used within 
the one file, so the fix is a trivial rename.

2002-05-15  Richard Earnshaw  <rearnsha@arm.com>

	* arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC.
	(ARM_LINUX_JB_ELEMENT_SIZE): Likewise.

Index: arm-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-linux-tdep.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -p -r1.20 -r1.21
*** arm-linux-tdep.c	23 Feb 2002 22:17:11 -0000	1.20
--- arm-linux-tdep.c	15 May 2002 12:29:41 -0000	1.21
*************** LONGEST arm_linux_call_dummy_words[] =
*** 60,67 ****
  };
  
  /* Description of the longjmp buffer.  */
! #define JB_ELEMENT_SIZE		INT_REGISTER_RAW_SIZE
! #define JB_PC			21
  
  /* Extract from an array REGBUF containing the (raw) register state
     a function return value of type TYPE, and copy that, in virtual format,
--- 60,67 ----
  };
  
  /* Description of the longjmp buffer.  */
! #define ARM_LINUX_JB_ELEMENT_SIZE	INT_REGISTER_RAW_SIZE
! #define ARM_LINUX_JB_PC			21
  
  /* Extract from an array REGBUF containing the (raw) register state
     a function return value of type TYPE, and copy that, in virtual format,
*************** arm_linux_init_abi (struct gdbarch_info 
*** 524,531 ****
    tdep->arm_breakpoint = arm_linux_arm_le_breakpoint;
    tdep->arm_breakpoint_size = sizeof (arm_linux_arm_le_breakpoint);
  
!   tdep->jb_pc = JB_PC;
!   tdep->jb_elt_size = JB_ELEMENT_SIZE;
  
    set_gdbarch_call_dummy_words (gdbarch, arm_linux_call_dummy_words);
    set_gdbarch_sizeof_call_dummy_words (gdbarch,
--- 524,531 ----
    tdep->arm_breakpoint = arm_linux_arm_le_breakpoint;
    tdep->arm_breakpoint_size = sizeof (arm_linux_arm_le_breakpoint);
  
!   tdep->jb_pc = ARM_LINUX_JB_PC;
!   tdep->jb_elt_size = ARM_LINUX_JB_ELEMENT_SIZE;
  
    set_gdbarch_call_dummy_words (gdbarch, arm_linux_call_dummy_words);
    set_gdbarch_sizeof_call_dummy_words (gdbarch,

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