delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/08/13/22:52:36

Date: Fri, 14 Aug 1998 02:45:06 +0000 ( )
From: "Gurunandan R. Bhat" <grbhat AT unigoa DOT ernet DOT in>
To: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
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: <Pine.LNX.3.91.980814023644.718A-100000@aditya.unigoa.ernet.in>
Mime-Version: 1.0


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

- Raw text -


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