Possible Duplicate:
Is <value optimized out> in gdb a problem?
Hi,
I am still learning advanced c++ programming. I am getting segmentation fault in my C++ code. While using gdb, the point of failure is during de-allocation with one of the parameters to the de-allocator(malloc) is a value that is optimized out(av=value optimized out). My question is, does this condition(value optmized out) leads to a segmentation fault in the de-allocator? The reason why I ask this is since I am able to print the values, but gdb is not able to read them for some reason.
Thanks.