query on execution of inactive statement in gdb run

Prakash Barnwal <[email protected]>
Newsgroups gmane.comp.gdb.general
Message-ID <[email protected]>
Hi ,

I want to run gdb and wants to execute a particular line of code which 
is not feasible in normal flow ;

main(){
int i = 0;

printf ("i=== %d\n",i);
if(0){
   printf("I am here\n");
}
In this case if(0) will always be false but I want to execute line 
(printf("I am here\n");) in gdb run. Could you please help me how to do this
?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.