help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help regarding DDD break points


From: address@hidden
Subject: help regarding DDD break points
Date: 27 Mar 2006 05:20:10 -0800
User-agent: G2/0.2

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]