From c982c768d248b21b82fbd70b61a4cc824cd82ddc Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 9 Jul 2010 20:39:50 +0000 Subject: Merged Eli Friedman's linux build changes where he added Makefile files that enabled LLVM make style building and made this compile LLDB on Mac OS X. We can now iterate on this to make the build work on both linux and macosx. llvm-svn: 108009 --- lldb/source/API/SBThread.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lldb/source/API/SBThread.cpp') diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp index 24e5484c9cf9..ede388d83dd3 100644 --- a/lldb/source/API/SBThread.cpp +++ b/lldb/source/API/SBThread.cpp @@ -147,7 +147,10 @@ SBThread::GetStopDescription (char *dst, size_t dst_len) stop_desc = exc_desc; stop_desc_len = sizeof(exc_desc); // Include the NULL byte for size } - break; + break; + + default: + break; } if (stop_desc && stop_desc[0]) @@ -225,7 +228,7 @@ SBThread::DisplayFramesForCurrentContext (FILE *out, { uint32_t num_stack_frames = m_opaque_sp->GetStackFrameCount (); StackFrameSP frame_sp; - int frame_idx = 0; + uint32_t frame_idx = 0; for (frame_idx = first_frame; frame_idx < first_frame + num_frames; ++frame_idx) { -- cgit v1.2.3