From 625602f2f4571a74757efcf1eb5fe021ccc261fc Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Tue, 17 Dec 2002 22:11:31 +0000 Subject: [PATCH] * armnbsd-tdep.c (ARM_NBSD_JB_PC): Renamed from JB_PC. All uses changed (ARM_NBSD_JB_ELELMENT_SIZE): Similarly. --- gdb/ChangeLog | 6 ++++++ gdb/armnbsd-tdep.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bbcfee9dd2d..0de88ffbf0c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-12-17 Richard Earnshaw + + * armnbsd-tdep.c (ARM_NBSD_JB_PC): Renamed from JB_PC. + All uses changed + (ARM_NBSD_JB_ELELMENT_SIZE): Similarly. + 2002-12-17 David Carlton * symtab.c (lookup_partial_symbol): Don't search past the end of diff --git a/gdb/armnbsd-tdep.c b/gdb/armnbsd-tdep.c index ea920207d32..0e7ab544365 100644 --- a/gdb/armnbsd-tdep.c +++ b/gdb/armnbsd-tdep.c @@ -25,8 +25,8 @@ #include "solib-svr4.h" /* Description of the longjmp buffer. */ -#define JB_PC 24 -#define JB_ELEMENT_SIZE INT_REGISTER_RAW_SIZE +#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. */ @@ -51,8 +51,8 @@ arm_netbsd_init_abi_common (struct gdbarch_info info, 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; + tdep->jb_pc = ARM_NBSD_JB_PC; + tdep->jb_elt_size = ARM_NBSD_JB_ELEMENT_SIZE; } static void -- 2.30.2