From 102f473b782e02f9c28286f5145ce08d085e2796 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 19 Apr 1996 19:05:00 +0000 Subject: [PATCH] * remote-mips.c (encoding): Don't specify size, to avoid bug in SunOS native compiler. --- gdb/ChangeLog | 5 +++++ gdb/remote-mips.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 32fdc6591f0..1c1899b0d75 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 19 15:03:49 1996 Ian Lance Taylor + + * remote-mips.c (encoding): Don't specify size, to avoid bug in + SunOS native compiler. + Thu Apr 18 18:46:57 1996 Stan Shebs * monitor.c: Use int rather than LONGEST for values, since diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 81160b4430d..13fce91dc65 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 -- 2.30.2