> Could you please try to explain the problem in term of actual cscope
> commands, not those of some interface to it?
>
> And without any information about what that source actually looks like, it's
> quite impossible to find out what might have gone wrong.  So all I can say
> for now is that you should take a thorough look at the first few paragraphs
> of the "Notices" section of the cscope man page before you dig any further.

Ok. I have narrowed down on the problem. This is the issue:

  1 #ifdef __cplusplus
  2 extern "C"{
  3 #endif
  4
  5 uint32_t f1()
  6 {
  7     a();
  8     b();
  9     c();
 10 }

The cscope query under question is (using VIM) -> :cs f d f1
i.e. find all functions called by f1.

If we remove the bracket in line # 2, then everything works fine.
However, if the bracket exists as in line # 2, then this query yields
no results.

Any inputs?

Ajay.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Cscope-devel mailing list
Cscope-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cscope-devel

Reply via email to