summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2017-02-02 03:02:51 +0000
committerJason Molenda <jmolenda@apple.com>2017-02-02 03:02:51 +0000
commit753e13c0ebb9c08216f6a15ad67ecab3f7375110 (patch)
treeba59450e7b8452ae880359702eb9505c4477094e /lldb/source
parent9dba9bd4cfd4c23921d7dd65ade04d4b8dd9ac0e (diff)
downloadbcm5719-llvm-753e13c0ebb9c08216f6a15ad67ecab3f7375110.tar.gz
bcm5719-llvm-753e13c0ebb9c08216f6a15ad67ecab3f7375110.zip
Add logging to SBThread::GetInfoItemByPathAsString to
print the path being requested. Change the GetInfoItemByPathAsString docuemtnation in the .i file to use docstring instead of autodoc so the function signature is included in the python help. <rdar://problem/29999567> llvm-svn: 293858
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/API/SBThread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp
index fbde6dd3268..24c5e13411f 100644
--- a/lldb/source/API/SBThread.cpp
+++ b/lldb/source/API/SBThread.cpp
@@ -595,8 +595,8 @@ bool SBThread::GetInfoItemByPathAsString(const char *path, SBStream &strm) {
}
if (log)
- log->Printf("SBThread(%p)::GetInfoItemByPathAsString () => %s",
- static_cast<void *>(exe_ctx.GetThreadPtr()), strm.GetData());
+ log->Printf("SBThread(%p)::GetInfoItemByPathAsString (\"%s\") => \"%s\"",
+ static_cast<void *>(exe_ctx.GetThreadPtr()), path, strm.GetData());
return success;
}
OpenPOWER on IntegriCloud