[Lldb-commits] [lldb] r205544 - Get "dis -c -s" working again.

Jim Ingham jingham at apple.com
Thu Apr 3 10:16:17 PDT 2014


Author: jingham
Date: Thu Apr  3 12:16:17 2014
New Revision: 205544

URL: http://llvm.org/viewvc/llvm-project?rev=205544&view=rev
Log:
Get "dis -c -s" working again.

pr19324

Modified:
    lldb/trunk/source/Commands/CommandObjectDisassemble.cpp

Modified: lldb/trunk/source/Commands/CommandObjectDisassemble.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectDisassemble.cpp?rev=205544&r1=205543&r2=205544&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectDisassemble.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectDisassemble.cpp Thu Apr  3 12:16:17 2014
@@ -442,8 +442,8 @@ CommandObjectDisassemble::DoExecute (Arg
                             return false;            
                         }
                         range.SetByteSize (m_options.end_addr - m_options.start_addr);
-                        ranges.push_back(range);
                     }
+                    ranges.push_back(range);
                 }
                 else
                 {





More information about the lldb-commits mailing list