aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-nat.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-10-21 07:50:26 +0000
committerStu Grossman <grossman@cygnus>1992-10-21 07:50:26 +0000
commite0e9107774b2ca7530f85c158d2450e7ab86f551 (patch)
tree52ba44c4b10d0621790c388954b44d785779530c /gdb/mips-nat.c
parentce5489d223efb14336a5b88cfb6e22f796ca2bf4 (diff)
downloadgdb-e0e9107774b2ca7530f85c158d2450e7ab86f551.zip
gdb-e0e9107774b2ca7530f85c158d2450e7ab86f551.tar.gz
gdb-e0e9107774b2ca7530f85c158d2450e7ab86f551.tar.bz2
* mips-nat.c (zerobuf): Get rid of const to avoid gcc warnings.
Diffstat (limited to 'gdb/mips-nat.c')
-rw-r--r--gdb/mips-nat.c2
1 files changed, 1 insertions, 1 deletions
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 */