void func(int n)
{
}

void (*hook)(int n);

int main(int argc, char **argv)
{
    if (hook)
        hook(10);
    func(10);
    return 0;
}

Source code is above.
And gtags-cscope can not find where is calling function "hook".
For this case, cscope is ok.


What is your environment (OS)? --- ubuntu 10.04

Which version of GLOBAL are you using? --- global 6.2.7

What did you do? (command line) --- gtags && gtags-cscope

What did you expect from it? --- Find locations calling this function: hook

What was occurred? (as is) --- can find
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to