Mail Archives: djgpp/1998/05/14/12:46:53
Michel JULIER wrote in message
<1 DOT 5 DOT 4 DOT 16 DOT 19980514110938 DOT 237f77da AT um2gess0>...
> -In a program that contains #include "sub_prog.c", it is impossible
>to follow the pointer while stepping with gdb (actually, I use rhide).
>However, I have no problem if I include the sub-program directly into
>the main file.
Patient -> Doctor, it hurts when I do this.
Doctor -> So don't do that.
#including source files is bad practice IMHO. But, your workaround is to
get a version of gcc that supports stabs debugging format (-gstabs), pgcc,
or gcc 2.8 or greater support it.
Andy
- Raw text -