summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2010-06-09 07:57:51 +0000
committerEli Friedman <eli.friedman@gmail.com>2010-06-09 07:57:51 +0000
commit59817b1d561e66152a815ef6ca9726bc8e5c69af (patch)
tree4a6a1b1b621da9f517d4a14891d1a475ce9e3941
parentebb81beb1e83471c200b87a67d889f2c50383be6 (diff)
downloadbcm5719-llvm-59817b1d561e66152a815ef6ca9726bc8e5c69af.tar.gz
bcm5719-llvm-59817b1d561e66152a815ef6ca9726bc8e5c69af.zip
More minor build fixes.
llvm-svn: 105706
-rw-r--r--lldb/source/Commands/CommandObjectArgs.cpp2
-rw-r--r--lldb/source/Commands/CommandObjectBreakpoint.h2
-rw-r--r--lldb/source/Commands/CommandObjectQuit.cpp4
-rw-r--r--lldb/source/Commands/CommandObjectTranslate.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Commands/CommandObjectArgs.cpp b/lldb/source/Commands/CommandObjectArgs.cpp
index 7f1fd3dda94..5e432d78ca7 100644
--- a/lldb/source/Commands/CommandObjectArgs.cpp
+++ b/lldb/source/Commands/CommandObjectArgs.cpp
@@ -173,7 +173,7 @@ CommandObjectArgs::Execute(Args &command,
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;
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.h b/lldb/source/Commands/CommandObjectBreakpoint.h
index 49007438b28..85a035f1223 100644
--- a/lldb/source/Commands/CommandObjectBreakpoint.h
+++ b/lldb/source/Commands/CommandObjectBreakpoint.h
@@ -57,7 +57,7 @@ public:
eSetTypeFileAndLine,
eSetTypeAddress,
eSetTypeFunctionName,
- eSetTypeFunctionRegexp,
+ eSetTypeFunctionRegexp
} BreakpointSetType;
CommandObjectBreakpointSet ();
diff --git a/lldb/source/Commands/CommandObjectQuit.cpp b/lldb/source/Commands/CommandObjectQuit.cpp
index b66f4b108ff..23aee3bb6f3 100644
--- a/lldb/source/Commands/CommandObjectQuit.cpp
+++ b/lldb/source/Commands/CommandObjectQuit.cpp
@@ -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;
diff --git a/lldb/source/Commands/CommandObjectTranslate.cpp b/lldb/source/Commands/CommandObjectTranslate.cpp
index 48a10626c8d..88f5327e84b 100644
--- a/lldb/source/Commands/CommandObjectTranslate.cpp
+++ b/lldb/source/Commands/CommandObjectTranslate.cpp
@@ -59,7 +59,7 @@ CommandObjectTranslate::Execute
}
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);
OpenPOWER on IntegriCloud