[Lldb-commits] [lldb] r105706 - in /lldb/trunk/source/Commands: CommandObjectArgs.cpp CommandObjectBreakpoint.h CommandObjectQuit.cpp CommandObjectTranslate.cpp

Eli Friedman eli.friedman at gmail.com
Wed Jun 9 00:57:51 PDT 2010


Author: efriedma
Date: Wed Jun  9 02:57:51 2010
New Revision: 105706

URL: http://llvm.org/viewvc/llvm-project?rev=105706&view=rev
Log:
More minor build fixes.


Modified:
    lldb/trunk/source/Commands/CommandObjectArgs.cpp
    lldb/trunk/source/Commands/CommandObjectBreakpoint.h
    lldb/trunk/source/Commands/CommandObjectQuit.cpp
    lldb/trunk/source/Commands/CommandObjectTranslate.cpp

Modified: lldb/trunk/source/Commands/CommandObjectArgs.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectArgs.cpp?rev=105706&r1=105705&r2=105706&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectArgs.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectArgs.cpp Wed Jun  9 02:57:51 2010
@@ -173,7 +173,7 @@
         void *type;
         
         char *int_pos;
-        if ((int_pos = strstr (arg_type_cstr, "int")))
+        if ((int_pos = strstr (const_cast<char*>(arg_type_cstr), "int")))
         {
             Encoding encoding = eEncodingSint;
             

Modified: lldb/trunk/source/Commands/CommandObjectBreakpoint.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectBreakpoint.h?rev=105706&r1=105705&r2=105706&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectBreakpoint.h (original)
+++ lldb/trunk/source/Commands/CommandObjectBreakpoint.h Wed Jun  9 02:57:51 2010
@@ -57,7 +57,7 @@
         eSetTypeFileAndLine,
         eSetTypeAddress,
         eSetTypeFunctionName,
-        eSetTypeFunctionRegexp,
+        eSetTypeFunctionRegexp
     } BreakpointSetType;
 
     CommandObjectBreakpointSet ();

Modified: lldb/trunk/source/Commands/CommandObjectQuit.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectQuit.cpp?rev=105706&r1=105705&r2=105706&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectQuit.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectQuit.cpp Wed Jun  9 02:57:51 2010
@@ -13,8 +13,8 @@
 // C++ Includes
 // Other libraries and framework includes
 // Project includes
-#include "CommandInterpreter.h"
-#include "CommandReturnObject.h"
+#include "lldb/Interpreter/CommandInterpreter.h"
+#include "lldb/Interpreter/CommandReturnObject.h"
 
 using namespace lldb;
 using namespace lldb_private;

Modified: lldb/trunk/source/Commands/CommandObjectTranslate.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectTranslate.cpp?rev=105706&r1=105705&r2=105706&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectTranslate.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectTranslate.cpp Wed Jun  9 02:57:51 2010
@@ -59,7 +59,7 @@
         }
         else
         {
-            result.AppendErrroWithFormat
+            result.AppendErrorWithFormat
             ("'%s' is not a known command.\nTry 'help' to see a current list of commands.\n",
              command.GetArgumentAtIndex(0));
             result.SetStatus (eReturnStatusFailed);





More information about the lldb-commits mailing list