aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-04-21 19:58:35 +0000
committerAndrew Cagney <cagney@redhat.com>2002-04-21 19:58:35 +0000
commitab89facf70f7cddc4ef019ef5c249c0e6fd983f0 (patch)
tree2ef4787c7a739edc75f41e2187f610e30ef96de3 /gdb/arm-tdep.c
parent82a4efa15c51958ff400c4204fe54472403d1f42 (diff)
downloadgdb-ab89facf70f7cddc4ef019ef5c249c0e6fd983f0.zip
gdb-ab89facf70f7cddc4ef019ef5c249c0e6fd983f0.tar.gz
gdb-ab89facf70f7cddc4ef019ef5c249c0e6fd983f0.tar.bz2
* arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return
type const.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c2
1 files changed, 1 insertions, 1 deletions
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);