Hi
I have written a class CString to manupialting all char * thing.(Same as String class ).

Suppose in another class I have decalre like dat
class MyClass
{
MyClass()
{
m_cstring=new CString("Hello");
}
}

In gdb I want to add this m_cstring varriable and want to see what insdie in char* varriable,in short want to check the string right now its pointing.

How can I achieve this in GDB.

Thanks in advance.