I want gnu global to index global variables of the project. Is that possible (without having to get into the source of gnu global)?
I believe this is not implemented yet. You can see it's in the plan of gnu global.
Treat variable definitions as a definition tag (GTAGS).