Correct logging for function calls that return SBValueList

llvm-svn: 174670
This commit is contained in:
Enrico Granata 2013-02-07 22:22:27 +00:00
parent b6e5f854f5
commit d96f0682e5
3 changed files with 10 additions and 5 deletions

View File

@ -52,7 +52,14 @@ public:
const lldb::SBValueList &
operator = (const lldb::SBValueList &rhs);
protected:
void *
get ();
private:
friend class SBFrame;
SBValueList (const ValueListImpl *lldb_object_ptr);
void
@ -73,8 +80,6 @@ private:
const ValueListImpl &
operator* () const;
ValueListImpl *
get ();
ValueListImpl &
ref ();

View File

@ -1159,7 +1159,7 @@ SBFrame::GetVariables (bool arguments,
if (log)
{
log->Printf ("SBFrame(%p)::GetVariables (...) => SBValueList", frame);
log->Printf ("SBFrame(%p)::GetVariables (...) => SBValueList(%p)", frame, value_list.get());
}
return value_list;
@ -1209,7 +1209,7 @@ SBFrame::GetRegisters ()
}
if (log)
log->Printf ("SBFrame(%p)::GetRegisters () => SBValueList", frame);
log->Printf ("SBFrame(%p)::GetRegisters () => SBValueList(%p)", frame, value_list.get());
return value_list;
}

View File

@ -262,7 +262,7 @@ SBValueList::FindValueObjectByUID (lldb::user_id_t uid)
return sb_value;
}
ValueListImpl *
void *
SBValueList::get ()
{
return m_opaque_ap.get();