[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A function calling bug in gtags-cscope
From: |
Shigio YAMAGUCHI |
Subject: |
Re: A function calling bug in gtags-cscope |
Date: |
Mon, 25 Feb 2013 06:41:17 +0900 |
Hello,
I have added your report to the 'Known bugs' list.
<http://www.gnu.org/software/global/bugs.html>
Thank you!
Shigio
On Sun, 24 Feb 2013 17:02:59 +0800 (CST)
fanhe <address@hidden> wrote:
>
> 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
>
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3