Re: regarding symbol table

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

 



ranjith kumar <ranjithproxy@xxxxxxxxx> writes:

> 2) If we declare a newdatatype in a .c file , say
>
> typedef struct mytype
> {
> int a;
> int c;
> }MYTYPE;
>
> Given the executable file only, can we know any way that MYTYPE is a
> datatye defined in the .c file???

Only by looking in the debugging information.  In the compiler code,
MYTYPE no longer exists outside of the debugging information.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux