- What is your environment (OS)?
- Ubuntu 13.10
- Which version of GLOBAL are you using?
- 6.2.12
- What did you do? (command line)
- cp dhcpctl.h /usr/include/dhcpctl/dhcpctl.h
- mkdir ~/.gtags
- cd ~/.gtags
- ln -s /usr/include include
- gtags
- global -s dhcpctl_new_object
- global -s strlen
- What did you expect from it?
- *dhcpctl_new_object *symbol lookup results got displayed correctly.
- *strlen *symbol lookup results displayed correctly.
- What was occurred? (as is)
- Nothing is displayed currently because Global does not support
symbol lookup. Since Global can only find definitions in
*GTAGSLIBPATH*, when function definitions are not available but
function declarations are available in the header files, the helpful
information in the header files are ignored, just like the case with
*dhcpctl_new_object*. User should be able to use symbol lookup in
cases like this, because Global won't ignore useful information only
available in the header files. This is especially useful in environment
where only header files are exposed, but not the source, like Windows
environment.
Regards,
Tu.
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global