Date: Fri, 14 Aug 1998 02:45:06 +0000 ( ) From: "Gurunandan R. Bhat" To: Charles Sandmann Cc: eliz AT is DOT elta DOT co DOT il, djgpp-workers AT delorie DOT com Subject: Re: [grbhat AT unigoa DOT ernet DOT in: Problem with process_coff()] In-Reply-To: <9808131326.AA16672@clio.rice.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 13 Aug 1998, Charles Sandmann wrote: > > I had a problem with running fsdb on a simple "Hello World!" > > program and have traced the problem to a loop in process_coff(...) > > A patch was sent to the workers mailing list on Jun 3 by mdruiter AT cs DOT vu DOT nl > to handle a very similar problem in the same code when running symify. > - if (l_pending) > + if (l_pending && f_aux[i+1].x_sym.x_misc.x_lnsz.x_lnno) Thank you for pointing this out. It seems to me that while this will solve the problem for those functions whose line number info for lines between ".bf" and ".ef" is not available (that is compiled without -g), we might still have a problem when the last line number entry corresponds to a function compiled with -g. Let me add however that this patch makes my crash go away. Thank you once again for your interest and help Gurunandan