www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/04/14/01:49:50

Date: Sun, 14 Apr 1996 08:47:22 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Bill Currie <bill_currie AT MAIL DOT TAIT DOT CO DOT NZ>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: SQUISHED BUG: symbol name length bug in edebug32 and fsdb
In-Reply-To: <s16df7d4.093@MAIL.TAIT.CO.NZ>
Message-Id: <Pine.SUN.3.91.960414084529.1640M-100000@is>
Mime-Version: 1.0

On Fri, 12 Apr 1996, Bill Currie wrote:

> On 12/4/96  5:46 am, Bill Currie <bill_currie AT MAIL DOT TAIT DOT CO DOT NZ> did thus say >>>
> > Well, I found the cause of the debuggers crashing... uprintf was using a 100 byte buffer
> for
> > all its printing needs.  I bumped ubuf to 2k and the debuggers stopped crashing.  Even
> with
> > 16k, fsdb still displays the bogus exceptions frequently.  I havent found out why yet.
> > 
> 
> I left ubuf's size set at 4k, which SHOULD be enough (unless somebody starts usings lists of
> lists of lists.... or somesuch).

Why does it have to be constant?  Why not make the debugger enlarge the 
buffer if it isn't large enough?  IMHO putting arbitrary constant limits 
into a program is just leaving bugs that wait to bite you.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019