Thanks for the clarification.

That's too bad. Cscope is pretty good at showing the calling function.

I switched to GLOBAL just because it can incrementally build the database
just for one file, and it's fast enough to trigger for each write from vim.

-Ronak

On Tue, Jun 21, 2016 at 7:15 PM Shigio YAMAGUCHI <[email protected]> wrote:

> 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 <[email protected]>:
>
>> 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
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/help-global
>>
>>
>
>
> --
> Shigio YAMAGUCHI <[email protected]>
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
>
-- 

-Ronak
_______________________________________________
Help-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-global

Reply via email to