Deleted Added
full compact
CommandObjectWatchpointCommand.cpp (254729) CommandObjectWatchpointCommand.cpp (258054)
1//===-- CommandObjectWatchpointCommand.cpp ----------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 587 unchanged lines hidden (view full) ---

596 { eScriptLanguagePython, "python", "Commands are in the Python language."},
597 { eSortOrderByName, "default-script", "Commands are in the default scripting language."},
598 { 0, NULL, NULL }
599};
600
601OptionDefinition
602CommandObjectWatchpointCommandAdd::CommandOptions::g_option_table[] =
603{
1//===-- CommandObjectWatchpointCommand.cpp ----------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 587 unchanged lines hidden (view full) ---

596 { eScriptLanguagePython, "python", "Commands are in the Python language."},
597 { eSortOrderByName, "default-script", "Commands are in the default scripting language."},
598 { 0, NULL, NULL }
599};
600
601OptionDefinition
602CommandObjectWatchpointCommandAdd::CommandOptions::g_option_table[] =
603{
604 { LLDB_OPT_SET_1, false, "one-liner", 'o', required_argument, NULL, 0, eArgTypeOneLiner,
604 { LLDB_OPT_SET_1, false, "one-liner", 'o', OptionParser::eRequiredArgument, NULL, 0, eArgTypeOneLiner,
605 "Specify a one-line watchpoint command inline. Be sure to surround it with quotes." },
606
605 "Specify a one-line watchpoint command inline. Be sure to surround it with quotes." },
606
607 { LLDB_OPT_SET_ALL, false, "stop-on-error", 'e', required_argument, NULL, 0, eArgTypeBoolean,
607 { LLDB_OPT_SET_ALL, false, "stop-on-error", 'e', OptionParser::eRequiredArgument, NULL, 0, eArgTypeBoolean,
608 "Specify whether watchpoint command execution should terminate on error." },
609
608 "Specify whether watchpoint command execution should terminate on error." },
609
610 { LLDB_OPT_SET_ALL, false, "script-type", 's', required_argument, g_script_option_enumeration, 0, eArgTypeNone,
610 { LLDB_OPT_SET_ALL, false, "script-type", 's', OptionParser::eRequiredArgument, g_script_option_enumeration, 0, eArgTypeNone,
611 "Specify the language for the commands - if none is specified, the lldb command interpreter will be used."},
612
611 "Specify the language for the commands - if none is specified, the lldb command interpreter will be used."},
612
613 { LLDB_OPT_SET_2, false, "python-function", 'F', required_argument, NULL, 0, eArgTypePythonFunction,
613 { LLDB_OPT_SET_2, false, "python-function", 'F', OptionParser::eRequiredArgument, NULL, 0, eArgTypePythonFunction,
614 "Give the name of a Python function to run as command for this watchpoint. Be sure to give a module name if appropriate."},
615
616 { 0, false, NULL, 0, 0, NULL, 0, eArgTypeNone, NULL }
617};
618
619//-------------------------------------------------------------------------
620// CommandObjectWatchpointCommandDelete
621//-------------------------------------------------------------------------

--- 229 unchanged lines hidden ---
614 "Give the name of a Python function to run as command for this watchpoint. Be sure to give a module name if appropriate."},
615
616 { 0, false, NULL, 0, 0, NULL, 0, eArgTypeNone, NULL }
617};
618
619//-------------------------------------------------------------------------
620// CommandObjectWatchpointCommandDelete
621//-------------------------------------------------------------------------

--- 229 unchanged lines hidden ---