From e0e9107774b2ca7530f85c158d2450e7ab86f551 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Wed, 21 Oct 1992 07:50:26 +0000 Subject: * mips-nat.c (zerobuf): Get rid of const to avoid gcc warnings. --- gdb/ChangeLog | 2 ++ gdb/mips-nat.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 75824b5..2ce0b5d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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) diff --git a/gdb/mips-nat.c b/gdb/mips-nat.c index a4c4669..ee37c7d 100644 --- a/gdb/mips-nat.c +++ b/gdb/mips-nat.c @@ -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 */ -- cgit v1.1