Constantine Shulyupin wrote:
1. compilation could be broken and you  still need to browse it
Yes, but you can always revert to cscope to solve compilation errors.

2. gcc don't know about cpp (preprocessor) defines
First, cpp could pass this info via intermediate files. Second, this info info somehow does reach a compiler, because a debuginfo ELF section contains information about a file and a line number every instruction came from.

more tricks:
 gcc -E gives you preprocessed file and you could check defines and  ifdefs
 objdump -S - gives you disassemble

Yes, I know. Why?

--


 Leonid Podolny       |  [EMAIL PROTECTED]
                      |
 Software Engineer    |  +972- 3-7668960
 Linux Platform Team  |  +972-54-5696948

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to