* gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
[deliverable/binutils-gdb.git] / gdb / arch-utils.c
index 5612ddf841c791f296c6c40ca802dd7073fbae6b..8e2d99a1fab9bb4cbddf5a64a8fc05ce911884a6 100644 (file)
@@ -1,5 +1,7 @@
 /* Dynamic architecture support for GDB, the GNU debugger.
-   Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+
+   Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
+   Inc.
 
    This file is part of GDB.
 
@@ -55,7 +57,7 @@
    and optionally adjust the pc to point to the correct memory location
    for inserting the breakpoint.  */
 
-unsigned char *
+const unsigned char *
 legacy_breakpoint_from_pc (CORE_ADDR * pcptr, int *lenptr)
 {
   /* {BIG_,LITTLE_}BREAKPOINT is the sequence of bytes we insert for a
This page took 0.024076 seconds and 4 git commands to generate.