This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Local Variables


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]