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

Shigio YAMAGUCHI <[email protected]> Wed, 22 Jun 2016 11:15:24 +0900
Newsgroups gmane.comp.gnu.global.general
Message-ID <CADJmJYrYMzdoXEJvBVu00PreBp7qP=qXO-i9Z8-XckN+ztFadA@mail.gmail.com>
--===============6199510258570947011==
Content-Type: multipart/alternative; boundary=001a1140392ca2c0620535d482e5

--001a1140392ca2c0620535d482e5
Content-Type: text/plain; charset=UTF-8

 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

--001a1140392ca2c0620535d482e5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">







<div>Hi,</div><div>&gt; Is that possible?</div><div>No, it isn&#39;t.<br></=
div><div>Unfortunately, GLOBAL&#39;s tag files does not have the informatio=
n now. :(</div><div><br></div><div>Regards,</div><div>Shigio</div><div><br>=
</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">2016-=
06-22 5:34 GMT+09:00 Ronak Gandhi <span dir=3D"ltr">&lt;<a href=3D"mailto:c=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</sp=
an>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">I&#39;m using globa=
l inside vim using gtags-cscope.vim. The output from the global command for=
 where a symbol is called for doesn&#39;t have the function name which is m=
aking the call.=C2=A0<div><br></div><div>For example, in the following outp=
ut, the first column should be the function calling free_ctx().</div><div><=
br></div><div><div><font face=3D"monospace">$ global -xr free_ctx</font></d=
iv><div><font face=3D"monospace">free_ctx =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0490 product/waasnet/sil/flow_stats/flow_stats.c =C2=A0 =C2=A0 =C2=A0 fre=
e_ctx(req_ctx);</font></div><div><font face=3D"monospace">free_ctx =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0504 product/waasnet/sil/flow_stats/flow_stats.c =
=C2=A0 =C2=A0 =C2=A0 free_ctx(req_ctx);</font></div><div><font face=3D"mono=
space">free_ctx =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0524 product/waasnet/sil/f=
low_stats/flow_stats.c =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 free_ctx(req_ctx)=
;</font></div><div><font face=3D"monospace">free_ctx =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0570 product/waasnet/sil/flow_stats/flow_stats.c =C2=A0 =C2=A0 =
free_ctx(req_ctx);</font></div><div><font face=3D"monospace">free_ctx =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0813 product/waasnet/sil/flow_stats/flow_stat=
s.c =C2=A0 =C2=A0 free_ctx(req_ctx);</font></div></div><div><font face=3D"m=
onospace"><br></font></div>Is that possible?<br><br><br>Thanks,<br>Ronak</d=
iv><span class=3D"HOEnZb"><font color=3D"#888888"><div dir=3D"ltr">-- <br><=
/div><div data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><p dir=3D"ltr=
">-Ronak</p>
</div></div>
</font></span><br>_______________________________________________<br>
Help-global mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"https://lists.gnu.org/mailman/listinfo/help-global" rel=3D"noref=
errer" target=3D"_blank">https://lists.gnu.org/mailman/listinfo/help-global=
</a><br>
<br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div cla=
ss=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">=
Shigio YAMAGUCHI &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">sh=
[email protected]</a>&gt;<div>PGP fingerprint: D1CB 0B89 B346 4AB6 5663 =C2=A0C4=
B6 3CA5 BBB3 57BE DDA3<br></div></div></div>
</div>

--001a1140392ca2c0620535d482e5--


--===============6199510258570947011==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============6199510258570947011==--