diff options
author | Stu Grossman <grossman@cygnus> | 1992-10-21 07:50:26 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-10-21 07:50:26 +0000 |
commit | e0e9107774b2ca7530f85c158d2450e7ab86f551 (patch) | |
tree | 52ba44c4b10d0621790c388954b44d785779530c | |
parent | ce5489d223efb14336a5b88cfb6e22f796ca2bf4 (diff) | |
download | gdb-e0e9107774b2ca7530f85c158d2450e7ab86f551.zip gdb-e0e9107774b2ca7530f85c158d2450e7ab86f551.tar.gz gdb-e0e9107774b2ca7530f85c158d2450e7ab86f551.tar.bz2 |
* mips-nat.c (zerobuf): Get rid of const to avoid gcc warnings.
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/mips-nat.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 */ |