* remote-mips.c (encoding): Don't specify size, to avoid bug in
authorIan Lance Taylor <ian@airs.com>
Fri, 19 Apr 1996 19:05:00 +0000 (19:05 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 19 Apr 1996 19:05:00 +0000 (19:05 +0000)
SunOS native compiler.

gdb/ChangeLog
gdb/remote-mips.c

index 32fdc6591f028771de1af55fca6ee465a1878dd3..1c1899b0d75846da674199fa7c77f6cdd8f76ff7 100644 (file)
@@ -1,3 +1,8 @@
+Fri Apr 19 15:03:49 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * remote-mips.c (encoding): Don't specify size, to avoid bug in
+       SunOS native compiler.
+
 Thu Apr 18 18:46:57 1996  Stan Shebs  <shebs@andros.cygnus.com>
 
        * monitor.c: Use int rather than LONGEST for values, since
index 81160b4430dffa512212684bae2eb7253a35a011..13fce91dc6548b944463bfd29526fa103c664c70 100644 (file)
@@ -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