aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-04-19 19:05:00 +0000
committerIan Lance Taylor <ian@airs.com>1996-04-19 19:05:00 +0000
commit102f473b782e02f9c28286f5145ce08d085e2796 (patch)
treec926ded6ed25073de138c58e09ba9ccc14a93a4e /gdb/remote-mips.c
parenta9f7253f6463be9d161bbd8b9844d3eb92a1b3ed (diff)
downloadgdb-102f473b782e02f9c28286f5145ce08d085e2796.zip
gdb-102f473b782e02f9c28286f5145ce08d085e2796.tar.gz
gdb-102f473b782e02f9c28286f5145ce08d085e2796.tar.bz2
* remote-mips.c (encoding): Don't specify size, to avoid bug in
SunOS native compiler.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r--gdb/remote-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c
index 81160b4..13fce91 100644
--- a/gdb/remote-mips.c
+++ b/gdb/remote-mips.c
@@ -2531,7 +2531,7 @@ mips_make_srec (buf, type, memaddr, myaddr, len)
The encoding of numbers is done in 6bit fields. The 6bit value is
used to index into this string to get the specific character
encoding for the value: */
-static char encoding[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789,.";
+static char encoding[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789,.";
/* Convert the number of bits required into an encoded number, 6bits
at a time (range 0..63). Keep a checksum if required (passed