From ab89facf70f7cddc4ef019ef5c249c0e6fd983f0 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 21 Apr 2002 19:58:35 +0000 Subject: [PATCH] * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return type const. --- gdb/ChangeLog | 5 +++++ gdb/arm-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 76bb45c..74d3ba9 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 3474d1f..1854710 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); -- 2.7.4