I have code something like
std::string msgID;
......
function(msgID, .....);
in gdb if I set a break point at the line function() is called, and try to
print msgID I get the following.
$1 = {static npos = Cannot access memory at address 0x2c3f18
yet if I continue, the function gets called properly and everything is
fine. Why can't I access my variable from gdb? in other place I can see
std::strings just fine. Is there a work around for this?
thank you.
-shane
_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb