This is the mail archive of the
mailing list for the GCC project.
Re: Can GCC emit debug information to support debug uninitialized local variables
On 2010-6-20 14:18, Ian Lance Taylor wrote:
My question is: Is there any possible that GCC can emit some debug
information to indicate that one variable is initialed or not.(at
least in the DEBUG build mode)
You didn't mention which version of gcc you are testing. With current
gcc see if the -fvar-tracking option helps.
Hi, Ian. I have solved this problem by hacking the GDB source code.
You can see my report here:
Now, only the variables been initialized will be shown in the "info
I will publish the related GDB code to GDB maillist.
Asmwarrior ollydbg from codeblocks' forum