* arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return

type const.
This commit is contained in:
Andrew Cagney 2002-04-21 19:58:35 +00:00
parent 82a4efa15c
commit ab89facf70
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-04-21 Andrew Cagney <ac131313@redhat.com>
* arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return
type const.
2002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
* alphafbsd-tdep.c: Update copyright years. Include

View File

@ -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);