* mips-nat.c (zerobuf): Get rid of const to avoid gcc warnings.
authorStu Grossman <grossman@cygnus>
Wed, 21 Oct 1992 07:50:26 +0000 (07:50 +0000)
committerStu Grossman <grossman@cygnus>
Wed, 21 Oct 1992 07:50:26 +0000 (07:50 +0000)
gdb/ChangeLog
gdb/mips-nat.c

index 75824b5..2ce0b5d 100644 (file)
@@ -1,5 +1,7 @@
 Wed Oct 21 00:14:34 1992  Stu Grossman  (grossman at cygnus.com)
 
+       * mips-nat.c (zerobuf):  Get rid of const to avoid gcc warnings.
+
        * xm-mips.h (offsetof):  Don't define this if __STDC__.
 
 Tue Oct 20 21:32:18 1992  K. Richard Pixley  (rich@sendai.cygnus.com)
index a4c4669..ee37c7d 100644 (file)
@@ -59,7 +59,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
   : regno >= FP0_REGNUM ?      FPR_BASE + (regno - FP0_REGNUM) \
   : 0)
 
-static const char zerobuf[MAX_REGISTER_RAW_SIZE];
+static char zerobuf[MAX_REGISTER_RAW_SIZE];
 
 /* Get all registers from the inferior */