From: Andrew Cagney Date: Sun, 21 Apr 2002 19:58:35 +0000 (+0000) Subject: * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab89facf70f7cddc4ef019ef5c249c0e6fd983f0;p=binutils-gdb.git * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return type const. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 76bb45ce78f..74d3ba926ac 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-04-21 Andrew Cagney + + * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return + type const. + 2002-04-21 Jason Thorpe * alphafbsd-tdep.c: Update copyright years. Include diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 3474d1fc078..1854710a87c 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -2111,7 +2111,7 @@ static const char arm_default_thumb_be_breakpoint[] = THUMB_BE_BREAKPOINT; memory. It is nice that this is the same size as a handle - otherwise remote-rdp will have to change. */ -unsigned char * +static const unsigned char * arm_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr) { struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);