> 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.
|