help-global
[Top][All Lists]
Advanced

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

Re: can gtags be enhanced to find where a symbol is being modified?


From: Shigio YAMAGUCHI
Subject: Re: can gtags be enhanced to find where a symbol is being modified?
Date: Sat, 18 Jul 2020 10:57:45 +0900

Hello,
> When I use ggtags.el to find all the locations where a particular
> symbol is referenced, I wish it were possible to ask to be shown
> all the places where the symbol is being "modified" (written to.)

Limited to C, gtags-cscope's 'Find assignments to this symbol:'
command may be close to what you want. Please see gtags-cscope(1).

Good luck!
Shigio

2020年7月15日(水) 5:39 Gautam Thaker <ghthaker@gmail.com>:
>
>
> I have been a long time gtags/global/ggtags.el use and love it.  When I use 
> ggtags.el to find all the locations where a particular symbol is referenced, 
> I wish it were possible to ask to be shown all the places where the symbol is 
> being "modified" (written to.)
>
>
> Ideally, I wish either GRTAGS (or elsewhere) the following entries can be 
> generated:
>
> Symbol   Read/Write   function file_name  line_number
>
>
> we can then, with some simple arg flag (^u for example?) only search for 
> symbol where it is being modified, possibly restricting it to just the 
> current function an/or current file.
>
> How hard would this be to do? I am willing to do some of the work if guided. 
> Also, when I use
>
>
> gtags --sqlite3, the GRTAGS file  seems essentially empty. (I have built 
> gtags with --with-sqlilte).
>
>
>
>


-- 
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F  1C33 969C 3BE3 89DD A6EB



reply via email to

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