[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can't access memory
From: |
Shane McDaniel |
Subject: |
Can't access memory |
Date: |
Wed, 16 Jan 2002 12:59:45 -0500 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Can't access memory,
Shane McDaniel <=