summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <risemann@apple.com>2019-11-30 15:30:08 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-12-02 13:27:21 +0100
commit4f728bfc13c45bc744bfdbfc3086bed74a8cbb4c (patch)
tree8770c087af4aba341ba85880dd369416b5942a10 /lldb/source/Commands/CommandObjectBreakpointCommand.cpp
parent76b70f6f75e90074bf2f5168383cc3afc21b61ad (diff)
downloadbcm5719-llvm-4f728bfc13c45bc744bfdbfc3086bed74a8cbb4c.tar.gz
bcm5719-llvm-4f728bfc13c45bc744bfdbfc3086bed74a8cbb4c.zip
[lldb][NFC] Use raw_ostream instead of Stream in Baton::GetDescription
Removing raw_ostream here is getting us closer to removing LLDB's Stream class.
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpointCommand.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
index 1a4432149f7..a82e70a1cda 100644
--- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
@@ -674,10 +674,10 @@ protected:
if (baton) {
result.GetOutputStream().Printf("Breakpoint %s:\n",
id_str.GetData());
- result.GetOutputStream().IndentMore();
- baton->GetDescription(&result.GetOutputStream(),
- eDescriptionLevelFull);
- result.GetOutputStream().IndentLess();
+ baton->GetDescription(result.GetOutputStream().AsRawOstream(),
+ eDescriptionLevelFull,
+ result.GetOutputStream().GetIndentLevel() +
+ 2);
} else {
result.AppendMessageWithFormat(
"Breakpoint %s does not have an associated command.\n",
OpenPOWER on IntegriCloud