help-global
[Top][All Lists]
Advanced

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

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


From: Ronak Gandhi
Subject: Is it possible to get calling function in output of references?
Date: Tue, 21 Jun 2016 20:34:25 +0000

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


reply via email to

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