Mail Archives: djgpp/1995/02/06/11:24:29
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
- Raw text -