Date: Mon, 6 Feb 95 08:11:30 EST To: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU Subject: Little bug between symify and #line-directives? From: pfulmek AT pop DOT tuwien DOT ac DOT at (Paul FULMEK) Reply-To: pfulmek AT pop DOT tuwien DOT ac DOT at My C-sources (*.c) are built from CWEB-files (*.w) and contain lots of #line-directives (#line 123 "myprog.w",e.g.). The DJGPP compiler always tells me the correct line numbers of the CWEB-file with the correct file names (*.w) when displaying errors or warnings. Symify however, knows the right line in the *.w-file, but displays the wrong filename (*.c). If e.g., myprog.w contains a call to myfunc() in line 1234, and the compiled program crashes there, symify displays: ... 0x0000e080 _myfunc+12, line 456 of myprog.c 0x00002501 _main+234, line 1234 of myprog.c ^^^ Line 1234 is the right line number of the call to myfunc() in the myprog.w file! This is only a little bit annoying, but it shouldn't be too difficult to fix this. Paul -- Technische Universitaet Wien Institut fuer Werkstoffe der Elektrotechnik Dipl.-Ing. Paul FULMEK Tel. (+43 222) 58801/3955 FAX: (+43 222) 50 41 587 Gusshausstrasse 27-29 Austria - 1040 WIEN