* gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
[deliverable/binutils-gdb.git] / gdb / mips-tdep.c
index 3de03faffcd77d6820108bbffdd12cd71bcaca1e..3729b9c8699f78884ba7f75a50261d717cc7310a 100644 (file)
@@ -3712,7 +3712,7 @@ gdb_print_insn_mips (bfd_vma memaddr, disassemble_info *info)
    (if necessary) to point to the actual memory location where the
    breakpoint should be inserted.  */
 
-unsigned char *
+const unsigned char *
 mips_breakpoint_from_pc (CORE_ADDR * pcptr, int *lenptr)
 {
   if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
This page took 0.027885 seconds and 4 git commands to generate.