help-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to get calling function in output of references?


From: Shigio YAMAGUCHI
Subject: Re: Is it possible to get calling function in output of references?
Date: Wed, 22 Jun 2016 11:15:24 +0900

Hi,
> Is that possible?
No, it isn't.
Unfortunately, GLOBAL's tag files does not have the information now. :(

Regards,
Shigio


2016-06-22 5:34 GMT+09:00 Ronak Gandhi <address@hidden>:
I'm using global inside vim using gtags-cscope.vim. The output from the global command for where a symbol is called for doesn't have the function name which is making the call. 

For example, in the following output, the first column should be the function calling free_ctx().

$ global -xr free_ctx
free_ctx          490 product/waasnet/sil/flow_stats/flow_stats.c       free_ctx(req_ctx);
free_ctx          504 product/waasnet/sil/flow_stats/flow_stats.c       free_ctx(req_ctx);
free_ctx          524 product/waasnet/sil/flow_stats/flow_stats.c           free_ctx(req_ctx);
free_ctx          570 product/waasnet/sil/flow_stats/flow_stats.c     free_ctx(req_ctx);
free_ctx          813 product/waasnet/sil/flow_stats/flow_stats.c     free_ctx(req_ctx);

Is that possible?


Thanks,
Ronak
--

-Ronak


_______________________________________________
Help-global mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-global




--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]