delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/08/13/10:26:43

Message-Id: <m0z6yJ9-000XevC@sloep06.cs.vu.nl>
Date: Thu, 13 Aug 98 16:24:51 MET DST
From: RJ vd Boon <rjvdboon AT cs DOT vu DOT nl>
To: djgpp-workers AT delorie DOT com
Subject: Re: [grbhat AT unigoa DOT ernet DOT in: Problem with process_coff()]

In your letter dated Thu, 13 Aug 1998 08:26:05 -0600 (CDT), you wrote:
>--- src/debug/common/syms_old.c	Tue Jun  2 23:31:26 1998
>+++ src/debug/common/syms.c	Tue Jun  2 23:31:36 1998
>@@ -287,7 +287,7 @@ static void process_coff(FILE *fd, long 
>         {
>           files[f-1].lines = l;
>         }
>-	if (l_pending)
>+	if (l_pending && f_aux[i+1].x_sym.x_misc.x_lnsz.x_lnno)

should this be:
 if (l_pending && f_aux[i+1].x_sym.x_misc.x_lnsz.x_lnno > 0)
to avoid problems when x_lnno is -1? (Did I miss something, it could
be -1 sometimes... right? Or was it lbase which got -1, and shouldn't
be? If always x_lnno >= 0, then forget my remark, but it can't hurt,
can it?;-)

greetings,
 Robert.
--
rjvdboon AT cs DOT vu DOT nl        | "En dat is niet waar!" sprak (ex?) Staatsecre-
www.cs.vu.nl/~rjvdboon   |    taris Netelenbos (onderwijs) fel.

- Raw text -


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