OSDN Git Service

* arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return
authorcagney <cagney>
Sun, 21 Apr 2002 19:58:32 +0000 (19:58 +0000)
committercagney <cagney>
Sun, 21 Apr 2002 19:58:32 +0000 (19:58 +0000)
type const.

gdb/ChangeLog
gdb/arm-tdep.c

index 76bb45c..74d3ba9 100644 (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
index 3474d1f..1854710 100644 (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);