Message-Id: Date: Thu, 13 Aug 98 16:24:51 MET DST From: RJ vd Boon To: djgpp-workers AT delorie DOT com Subject: Re: [grbhat AT unigoa DOT ernet DOT in: Problem with process_coff()] Precedence: bulk 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.