Re: Prevent stack variable initialization to zero with -g

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

 



* Stuart Brooks:

> I recall reading somewhere (can't seem to find it now) that, when
> compiling with -g, all stack variables are zeroed.

This is not the case; compiling with debugging information does not
change the generated machine code.

[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