[Lldb-commits] [lldb] r114549 - in /lldb/trunk: include/lldb/API/SBCommandContext.h scripts/Python/build-swig-Python.sh scripts/lldb.swig source/API/SBCommandContext.cpp

Caroline Tice ctice at apple.com
Wed Sep 22 09:41:52 PDT 2010


Author: ctice
Date: Wed Sep 22 11:41:52 2010
New Revision: 114549

URL: http://llvm.org/viewvc/llvm-project?rev=114549&view=rev
Log:
Remove SBCommandContext which was not needed or doing anything.

Add SBValueList.h & SBStream.h to build-swig-Python.sh; add SBValueList.h to lldb.swig


Removed:
    lldb/trunk/include/lldb/API/SBCommandContext.h
    lldb/trunk/source/API/SBCommandContext.cpp
Modified:
    lldb/trunk/scripts/Python/build-swig-Python.sh
    lldb/trunk/scripts/lldb.swig

Removed: lldb/trunk/include/lldb/API/SBCommandContext.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBCommandContext.h?rev=114548&view=auto
==============================================================================
--- lldb/trunk/include/lldb/API/SBCommandContext.h (original)
+++ lldb/trunk/include/lldb/API/SBCommandContext.h (removed)
@@ -1,36 +0,0 @@
-//===-- SBCommandContext.h --------------------------------------*- C++ -*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLDB_SBCommandContext_h_
-#define LLDB_SBCommandContext_h_
-
-
-#include "lldb/API/SBDefines.h"
-
-namespace lldb {
-
-class SBCommandContext
-{
-public:
-
-    SBCommandContext (lldb_private::Debugger *lldb_object);
-
-    ~SBCommandContext ();
-
-    bool
-    IsValid () const;
-
-private:
-
-    lldb_private::Debugger *m_opaque;
-};
-
-} // namespace lldb
-
-#endif // LLDB_SBCommandContext_h_

Modified: lldb/trunk/scripts/Python/build-swig-Python.sh
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/build-swig-Python.sh?rev=114549&r1=114548&r2=114549&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/build-swig-Python.sh (original)
+++ lldb/trunk/scripts/Python/build-swig-Python.sh Wed Sep 22 11:41:52 2010
@@ -35,7 +35,6 @@
 " ${SRC_ROOT}/include/lldb/API/SBBreakpoint.h"\
 " ${SRC_ROOT}/include/lldb/API/SBBreakpointLocation.h"\
 " ${SRC_ROOT}/include/lldb/API/SBBroadcaster.h"\
-" ${SRC_ROOT}/include/lldb/API/SBCommandContext.h"\
 " ${SRC_ROOT}/include/lldb/API/SBCommandInterpreter.h"\
 " ${SRC_ROOT}/include/lldb/API/SBCommandReturnObject.h"\
 " ${SRC_ROOT}/include/lldb/API/SBCompileUnit.h"\
@@ -50,13 +49,15 @@
 " ${SRC_ROOT}/include/lldb/API/SBModule.h"\
 " ${SRC_ROOT}/include/lldb/API/SBProcess.h"\
 " ${SRC_ROOT}/include/lldb/API/SBSourceManager.h"\
+" ${SRC_ROOT}/include/lldb/API/SBStream.h"\
 " ${SRC_ROOT}/include/lldb/API/SBStringList.h"\
 " ${SRC_ROOT}/include/lldb/API/SBSymbol.h"\
 " ${SRC_ROOT}/include/lldb/API/SBSymbolContext.h"\
 " ${SRC_ROOT}/include/lldb/API/SBTarget.h"\
 " ${SRC_ROOT}/include/lldb/API/SBThread.h"\
 " ${SRC_ROOT}/include/lldb/API/SBType.h"\
-" ${SRC_ROOT}/include/lldb/API/SBValue.h"
+" ${SRC_ROOT}/include/lldb/API/SBValue.h"\
+" ${SRC_ROOT}/include/lldb/API/SBValueList.h"
 
 
 if [ $Debug == 1 ]

Modified: lldb/trunk/scripts/lldb.swig
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/lldb.swig?rev=114549&r1=114548&r2=114549&view=diff
==============================================================================
--- lldb/trunk/scripts/lldb.swig (original)
+++ lldb/trunk/scripts/lldb.swig Wed Sep 22 11:41:52 2010
@@ -98,6 +98,7 @@
 #include "lldb/API/SBThread.h"
 #include "lldb/API/SBType.h"
 #include "lldb/API/SBValue.h"
+#include "lldb/API/SBValueList.h"
 using namespace lldb_private;
 %}
 
@@ -152,6 +153,7 @@
 %include "lldb/API/SBThread.h"
 %include "lldb/API/SBType.h"
 %include "lldb/API/SBValue.h"
+%include "lldb/API/SBValueList.h"
 %include "lldb/lldb-types.h"
 
 

Removed: lldb/trunk/source/API/SBCommandContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBCommandContext.cpp?rev=114548&view=auto
==============================================================================
--- lldb/trunk/source/API/SBCommandContext.cpp (original)
+++ lldb/trunk/source/API/SBCommandContext.cpp (removed)
@@ -1,34 +0,0 @@
-//===-- SBCommandContext.cpp ------------------------------------*- C++ -*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#include "lldb/Core/Debugger.h"
-#include "lldb/Interpreter/CommandReturnObject.h"
-
-#include "lldb/API/SBCommandContext.h"
-
-
-using namespace lldb;
-using namespace lldb_private;
-
-
-SBCommandContext::SBCommandContext (Debugger *lldb_object) :
-    m_opaque (lldb_object)
-{
-}
-
-SBCommandContext::~SBCommandContext ()
-{
-}
-
-bool
-SBCommandContext::IsValid () const
-{
-    return m_opaque != NULL;
-}
-





More information about the lldb-commits mailing list