[lldb] Remove unused option '--platform-path' for 'target create'

Differential revision: https://reviews.llvm.org/D84800
This commit is contained in:
Jonas Devlieghere 2020-07-28 14:21:03 -07:00
parent 9f86b8ec41
commit 2fa3da7dcd

View File

@ -206,8 +206,6 @@ private:
#pragma mark CommandObjectTargetCreate
// "target create"
class CommandObjectTargetCreate : public CommandObjectParsed {
public:
CommandObjectTargetCreate(CommandInterpreter &interpreter)
@ -218,9 +216,6 @@ public:
m_option_group(), m_arch_option(),
m_core_file(LLDB_OPT_SET_1, false, "core", 'c', 0, eArgTypeFilename,
"Fullpath to a core file to use for this target."),
m_platform_path(LLDB_OPT_SET_1, false, "platform-path", 'P', 0,
eArgTypePath,
"Path to the remote file to use for this target."),
m_symbol_file(LLDB_OPT_SET_1, false, "symfile", 's', 0,
eArgTypeFilename,
"Fullpath to a stand alone debug "
@ -246,7 +241,6 @@ public:
m_option_group.Append(&m_arch_option, LLDB_OPT_SET_ALL, LLDB_OPT_SET_1);
m_option_group.Append(&m_core_file, LLDB_OPT_SET_ALL, LLDB_OPT_SET_1);
m_option_group.Append(&m_platform_path, LLDB_OPT_SET_ALL, LLDB_OPT_SET_1);
m_option_group.Append(&m_symbol_file, LLDB_OPT_SET_ALL, LLDB_OPT_SET_1);
m_option_group.Append(&m_remote_file, LLDB_OPT_SET_ALL, LLDB_OPT_SET_1);
m_option_group.Append(&m_add_dependents, LLDB_OPT_SET_ALL, LLDB_OPT_SET_1);
@ -449,7 +443,6 @@ private:
OptionGroupOptions m_option_group;
OptionGroupArchitecture m_arch_option;
OptionGroupFile m_core_file;
OptionGroupFile m_platform_path;
OptionGroupFile m_symbol_file;
OptionGroupFile m_remote_file;
OptionGroupDependents m_add_dependents;
@ -457,8 +450,6 @@ private:
#pragma mark CommandObjectTargetList
// "target list"
class CommandObjectTargetList : public CommandObjectParsed {
public:
CommandObjectTargetList(CommandInterpreter &interpreter)
@ -490,8 +481,6 @@ protected:
#pragma mark CommandObjectTargetSelect
// "target select"
class CommandObjectTargetSelect : public CommandObjectParsed {
public:
CommandObjectTargetSelect(CommandInterpreter &interpreter)
@ -551,8 +540,6 @@ protected:
#pragma mark CommandObjectTargetDelete
// "target delete"
class CommandObjectTargetDelete : public CommandObjectParsed {
public:
CommandObjectTargetDelete(CommandInterpreter &interpreter)
@ -697,8 +684,6 @@ protected:
#pragma mark CommandObjectTargetVariable
// "target variable"
class CommandObjectTargetVariable : public CommandObjectParsed {
static const uint32_t SHORT_OPTION_FILE = 0x66696c65; // 'file'
static const uint32_t SHORT_OPTION_SHLB = 0x73686c62; // 'shlb'