Local Variables
Ian Lance Taylor
iant@google.com
Mon Jun 18 04:34:00 GMT 2012
Terry <fastsnip-bcard@yahoo.com> writes:
> Posting here rather than gcc.help since I consider this behaviour to
> be a bug.
The right place is still gcc-help@gcc.gnu.org. That is the mailing list
for all discussions about using GCC, as opposed to discussions about how
to change GCC.
> When I step through the function "replace_HOME" (which replaces '~'
> with the value of the HOME environment variable), kdbg only displays
> the 'tmpspec' local variable until I execute the line:
I'm not familiary with kdbg. When I compile this program without
optimization, and you did, and run it under gdb, I can print all the
local variables throughout the function.
So I think you should bring this up with the kdbg developers for more
information.
Ian
More information about the Gcc
mailing list