[Lldb-commits] [lldb] r113510 - in /lldb/trunk: include/lldb/Target/Process.h include/lldb/lldb-enumerations.h source/Target/Process.cpp
Caroline Tice
ctice at apple.com
Thu Sep 9 11:01:59 PDT 2010
Author: ctice
Date: Thu Sep 9 13:01:59 2010
New Revision: 113510
URL: http://llvm.org/viewvc/llvm-project?rev=113510&view=rev
Log:
Move the ProcessPlugins enum definition from lldb-enumerations.h to
Process.h; modify the process.plugins settings variable to use the
correct plugin names.
Modified:
lldb/trunk/include/lldb/Target/Process.h
lldb/trunk/include/lldb/lldb-enumerations.h
lldb/trunk/source/Target/Process.cpp
Modified: lldb/trunk/include/lldb/Target/Process.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/Process.h?rev=113510&r1=113509&r2=113510&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/Process.h (original)
+++ lldb/trunk/include/lldb/Target/Process.h Thu Sep 9 13:01:59 2010
@@ -37,6 +37,14 @@
namespace lldb_private {
+
+typedef enum ProcessPlugins
+{
+ eMacosx,
+ eRemoteDebugger
+} ProcessPlugins;
+
+
class ProcessInstanceSettings : public InstanceSettings
{
public:
@@ -106,7 +114,7 @@
std::string m_input_path;
std::string m_output_path;
std::string m_error_path;
- lldb::ProcessPlugins m_plugin;
+ ProcessPlugins m_plugin;
bool m_disable_aslr;
};
Modified: lldb/trunk/include/lldb/lldb-enumerations.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/lldb-enumerations.h?rev=113510&r1=113509&r2=113510&view=diff
==============================================================================
--- lldb/trunk/include/lldb/lldb-enumerations.h (original)
+++ lldb/trunk/include/lldb/lldb-enumerations.h Thu Sep 9 13:01:59 2010
@@ -506,12 +506,6 @@
eVarSetOperationInvalid
} VarSetOperationType;
-typedef enum ProcessPlugins
-{
- eMacosx,
- eRemoteDebugger
-} ProcessPlugins;
-
} // namespace lldb
Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=113510&r1=113509&r2=113510&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Thu Sep 9 13:01:59 2010
@@ -2235,9 +2235,9 @@
lldb::OptionEnumValueElement
Process::ProcessSettingsController::g_plugins[] =
{
- { eMacosx, "macosx", "Use the Mac OS X plugin" },
- { eRemoteDebugger, "remote_debugger" , "Use the remote debugger plugin" },
- { 0, NULL, NULL }
+ { eMacosx, "process.macosx", "Use the native MacOSX debugger plugin" },
+ { eRemoteDebugger, "process.gdb-remote" , "Use the GDB Remote protocol based debugger plugin" },
+ { 0, NULL, NULL }
};
SettingEntry
More information about the lldb-commits
mailing list