Indent the frames in the "thread.GetStatus" frame listing. Also put the same space after each thread listing for "thread backtrace all" as "thread backtrace 1 3 5"

llvm-svn: 136052
This commit is contained in:
Jim Ingham 2011-07-26 02:39:59 +00:00
parent d600a0f878
commit 5c4df7a4d6
2 changed files with 6 additions and 0 deletions

View File

@ -196,6 +196,10 @@ public:
result.SetStatus (eReturnStatusFailed);
return false;
}
if (i < num_threads - 1)
result.AppendMessage("");
}
}
else

View File

@ -1126,6 +1126,7 @@ Thread::GetStatus (Stream &strm, uint32_t start_frame, uint32_t num_frames, uint
const bool show_frame_info = true;
const uint32_t source_lines_before = 3;
const uint32_t source_lines_after = 3;
strm.IndentMore ();
num_frames_shown = GetStackFrameList ().GetStatus (strm,
start_frame,
num_frames,
@ -1134,6 +1135,7 @@ Thread::GetStatus (Stream &strm, uint32_t start_frame, uint32_t num_frames, uint
source_lines_before,
source_lines_after);
strm.IndentLess();
strm.IndentLess();
}
return num_frames_shown;
}