On Jan 15, 2008 2:28 PM, Leonid Podolny <[EMAIL PROTECTED]> wrote:
> 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.
If you could revert, why do need duplicated functionality in gcc?

>
> > 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.
Tell me please how info of #define goes to debuginfo?
>
> > more tricks:
> >  gcc -E gives you preprocessed file and you could check defines and  ifdefs
> >  objdump -S - gives you disassemble
> >
> Yes, I know. Why?
It it possible to generate ctags file from  objdump -S output and
other listings.

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


-- 
Constantine Shulyupin
Freelance Embedded Linux Engineer
054-4234440
http://www.linuxdriver.co.il/

=================================================================
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