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

llvm-svn: 114549
This commit is contained in:
Caroline Tice 2010-09-22 16:41:52 +00:00
parent a1ed39be76
commit 7740412f2b
4 changed files with 5 additions and 72 deletions

View File

@ -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_

View File

@ -35,7 +35,6 @@ HEADER_FILES="${SRC_ROOT}/include/lldb/lldb-types.h"\
" ${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 @@ HEADER_FILES="${SRC_ROOT}/include/lldb/lldb-types.h"\
" ${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 ]

View File

@ -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 @@ typedef int StopReason;
%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"

View File

@ -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;
}