From ab89facf70f7cddc4ef019ef5c249c0e6fd983f0 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 21 Apr 2002 19:58:35 +0000 Subject: * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return type const. --- gdb/arm-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/arm-tdep.c') 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); -- cgit v1.1