This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] ARM/Linux Fix JB_ ARI winge.
- 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: Wed, 15 May 2002 13:32:32 +0100
- Subject: [PATCH] ARM/Linux Fix JB_ ARI winge.
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
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,