* arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return
authorAndrew Cagney <cagney@redhat.com>
Sun, 21 Apr 2002 19:58:35 +0000 (19:58 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 21 Apr 2002 19:58:35 +0000 (19:58 +0000)
type const.

gdb/ChangeLog
gdb/arm-tdep.c

index 76bb45ce78fd0a0792334b2f402c64fe83cb622c..74d3ba926ac4fd7721c378a48ae97b5979b6b621 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 3474d1fc0788c4ad4c163d7cf531a666d7c811e0..1854710a87cf6fd3829b5e3c0a2bea10384eb549 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);