title: Gdb debugging c++, object printing
body: <p>For example I can print this chunk of code with command:</p>
  
  <pre><code>print *hostx
  </code></pre>
  
  <p>and I get the result:</p>
  
  <pre><code>    $22 = (Adaptation::Ecap::XactionRep) {&lt;Adaptation::Initiate&gt; = {&lt;AsyncJob&gt; = {_vptr.AsyncJob = 0x8beac8, stopReason = 0x0, 
        typeName = 0x662553 "Adaptation::Ecap::XactionRep", inCall = {p_ = 0xc8a440}, id = {static Prefix = 0x65800f "job", value = 50, static Last = 50}}, 
      _vptr.Initiate = 0x8be858, theInitiator = {cbc = 0xc712a0, lock = 0xc71288}}, &lt;libecap::host::Xaction&gt; = {&lt;libecap::Callable&gt; = {
        _vptr.Callable = 0x8be958}, &lt;No data fields&gt;}, &lt;BodyConsumer&gt; = {_vptr.BodyConsumer = 0x8bea18}, &lt;BodyProducer&gt; = {_vptr.BodyProducer = 0x8bea58}, 
    theMaster = {&lt;std::tr1::__shared_ptr&lt;libecap::adapter::Xaction, (__gnu_cxx::_Lock_policy)2&gt;&gt; = {_M_ptr = 0xc93c00, _M_refcount = {
          _M_pi = 0xc7d520}}, &lt;No data fields&gt;}, theService = {p_ = 0xc56b70}, theVirginRep = {&lt;libecap::Message&gt; = {_vptr.Message = 0x8befd0}, theMessage = {
        header = 0xc8be10, body_pipe = {p_ = 0x0}}, theFirstLineRep = 0xca4880, theHeaderRep = 0xcac1f0, theBodyRep = 0x0}, theCauseRep = 0x0, 
    theAnswerRep = {&lt;std::tr1::__shared_ptr&lt;libecap::Message, (__gnu_cxx::_Lock_policy)2&gt;&gt; = {_M_ptr = 0x0, _M_refcount = {_M_pi = 0x0}}, &lt;No data fields&gt;}, 
    makingVb = Adaptation::Ecap::XactionRep::opNever, proxyingAb = Adaptation::Ecap::XactionRep::opUndecided, adaptHistoryId = -1, vbProductionFinished = false, 
    abProductionFinished = false, abProductionAtEnd = false, static CBDATA_XactionRep = 22}
  </code></pre>
  
  <p>Question is how can I print these objects values inside hostx in gdb?</p>