summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r--lldb/source/Target/Thread.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp
index 8e2a9c740d0..5ead5905285 100644
--- a/lldb/source/Target/Thread.cpp
+++ b/lldb/source/Target/Thread.cpp
@@ -1747,8 +1747,7 @@ Error Thread::JumpToLine(const FileSpec &file, uint32_t line,
StreamString sstr;
DumpAddressList(sstr, outside_function, target);
return Error("%s:%i has multiple candidate locations:\n%s",
- file.GetFilename().AsCString(), line,
- sstr.GetString().c_str());
+ file.GetFilename().AsCString(), line, sstr.GetData());
}
}
OpenPOWER on IntegriCloud