Hi
   I am using linux 7.3. I have a code which is like

File :  main.cpp
------------------------------------------------------------
#include <stdio.h>
void main() {

int a = 0;
#include "test.cpp"
printf(" hi \n");

}


File test.cpp
--------------------------------------------------------------------------
printf("hello world\n");
---------------------------------------------------------------------------

I compile main.cpp with -g option and gdb the a.out file. I am trying
to set the break point at #include "test.cpp".  But its never
recognized. Is there any way i can step in test.cpp ??

Kindly help out
Regards
Rushabh

_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to