This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Local Variables
- From: Ian Lance Taylor <iant at google dot com>
- To: fastsnip-gcc at yahoo dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 17 Jun 2012 21:33:44 -0700
- Subject: Re: Local Variables
- References: <4FDE301C.8020205@yahoo.com>
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