1 include "OptionsBase.td"
3 let Command = "target modules dump symtab" in {
4 def tm_sort : Option<"sort", "s">, Group<1>,
5 Desc<"Supply a sort order when dumping the symbol table.">,
7 def tm_smn : Option<"show-mangled-names", "m">, Group<1>,
8 Desc<"Do not demangle symbol names before showing them.">;
11 let Command = "target modules dump separate debug info" in {
12 def tm_json : Option<"json", "j">, Group<1>,
13 Desc<"Output the details in JSON format.">;
16 let Command = "help" in {
17 def help_hide_aliases : Option<"hide-aliases", "a">,
18 Desc<"Hide aliases in the command list.">;
19 def help_hide_user : Option<"hide-user-commands", "u">,
20 Desc<"Hide user-defined commands from the list.">;
21 def help_show_hidden : Option<"show-hidden-commands", "h">,
22 Desc<"Include commands prefixed with an underscore.">;
25 let Command = "settings set" in {
26 def setset_global : Option<"global", "g">,
27 Desc<"Apply the new value to the global default value.">;
28 def setset_force : Option<"force", "f">,
29 Desc<"Force an empty value to be accepted as the default.">;
30 def setset_exists : Option<"exists", "e">,
31 Desc<"Set the setting if it exists, but do not cause the command to raise "
32 "an error if it does not exist.">;
35 let Command = "settings write" in {
36 def setwrite_file : Option<"file", "f">, Required, Arg<"Filename">,
37 Completion<"DiskFile">,
38 Desc<"The file into which to write the settings.">;
39 def setwrite_append : Option<"append", "a">,
40 Desc<"Append to saved settings file if it exists.">;
43 let Command = "settings read" in {
44 def setread_file : Option<"file", "f">, Required, Arg<"Filename">,
45 Completion<"DiskFile">,
46 Desc<"The file from which to read the settings.">;
49 let Command = "settings clear" in {
50 def setclear_all : Option<"all", "a">,
51 Desc<"Clear all settings.">;
54 let Command = "breakpoint list" in {
55 // FIXME: We need to add an "internal" command, and then add this sort of
56 // thing to it. But I need to see it for now, and don't want to wait.
57 def blist_internal : Option<"internal", "i">,
58 Desc<"Show debugger internal breakpoints">;
59 def blist_brief : Option<"brief", "b">, Group<1>,
60 Desc<"Give a brief description of the breakpoint (no location info).">;
61 def blist_full : Option<"full", "f">, Group<2>,
62 Desc<"Give a full description of the breakpoint and its locations.">;
63 def blist_verbose : Option<"verbose", "v">, Group<3>,
64 Desc<"Explain everything we know about the breakpoint (for debugging "
66 def blist_dummy_bp : Option<"dummy-breakpoints", "D">,
67 Desc<"List Dummy breakpoints - i.e. breakpoints set before a file is "
68 "provided, which prime new targets.">;
71 let Command = "breakpoint modify" in {
72 def breakpoint_modify_ignore_count : Option<"ignore-count", "i">, Group<1>,
74 Desc<"Set the number of times this breakpoint is skipped before stopping.">;
75 def breakpoint_modify_one_shot : Option<"one-shot", "o">, Group<1>,
77 Desc<"The breakpoint is deleted the first time it stop causes a stop.">;
78 def breakpoint_modify_thread_index : Option<"thread-index", "x">, Group<1>,
79 Arg<"ThreadIndex">, Desc<"The breakpoint stops only for the thread whose "
80 "index matches this argument.">;
81 def breakpoint_modify_thread_id : Option<"thread-id", "t">, Group<1>,
82 Arg<"ThreadID">, Desc<"The breakpoint stops only for the thread whose TID "
83 "matches this argument. The token 'current' resolves to the current thread's ID.">;
84 def breakpoint_modify_thread_name : Option<"thread-name", "T">, Group<1>,
85 Arg<"ThreadName">, Desc<"The breakpoint stops only for the thread whose "
86 "thread name matches this argument.">;
87 def breakpoint_modify_queue_name : Option<"queue-name", "q">, Group<1>,
88 Arg<"QueueName">, Desc<"The breakpoint stops only for threads in the queue "
89 "whose name is given by this argument.">;
90 def breakpoint_modify_condition : Option<"condition", "c">, Group<1>,
91 Arg<"Expression">, Desc<"The breakpoint stops only if this condition "
92 "expression evaluates to true.">;
93 def breakpoint_modify_auto_continue : Option<"auto-continue", "G">, Group<1>,
95 Desc<"The breakpoint will auto-continue after running its commands.">;
96 def breakpoint_modify_enable : Option<"enable", "e">, Group<2>,
97 Desc<"Enable the breakpoint.">;
98 def breakpoint_modify_disable : Option<"disable", "d">, Group<3>,
99 Desc<"Disable the breakpoint.">;
100 def breakpoint_modify_command : Option<"command", "C">, Group<4>,
102 Desc<"A command to run when the breakpoint is hit, can be provided more "
103 "than once, the commands will be run in left-to-right order.">;
106 let Command = "breakpoint dummy" in {
107 def breakpoint_dummy_options_dummy_breakpoints :
108 Option<"dummy-breakpoints", "D">, Group<1>,
109 Desc<"Act on Dummy breakpoints - i.e. breakpoints set before a file is "
110 "provided, which prime new targets.">;
113 let Command = "breakpoint set" in {
114 def breakpoint_set_shlib : Option<"shlib", "s">, Arg<"ShlibName">,
115 Completion<"Module">, Groups<[1,2,3,4,5,6,7,8,9,11,12]>, // *not* in group 10
116 Desc<"Set the breakpoint only in this shared library. Can repeat this "
117 "option multiple times to specify multiple shared libraries.">;
118 def breakpoint_set_hardware : Option<"hardware", "H">,
119 Desc<"Require the breakpoint to use hardware breakpoints.">;
120 def breakpoint_set_file : Option<"file", "f">, Arg<"Filename">,
121 Completion<"SourceFile">, Groups<[1,3,4,5,6,7,8,9,11]>,
122 Desc<"Specifies the source file in which to set this breakpoint. Note, by "
123 "default lldb only looks for files that are #included if they use the "
124 "standard include file extensions. To set breakpoints on .c/.cpp/.m/.mm "
125 "files that are #included, set target.inline-breakpoint-strategy to "
127 def breakpoint_set_line : Option<"line", "l">, Group<1>, Arg<"LineNum">,
129 Desc<"Specifies the line number on which to set this breakpoint.">;
130 def breakpoint_set_column : Option<"column", "u">, Group<1>, Arg<"ColumnNum">,
131 Desc<"Specifies the column number on which to set this breakpoint.">;
132 def breakpoint_set_address : Option<"address", "a">, Group<2>,
133 Arg<"AddressOrExpression">, Required,
134 Desc<"Set the breakpoint at the specified address. If the address maps "
135 "uniquely to a particular binary, then the address will be converted to "
136 "a \"file\"address, so that the breakpoint will track that binary+offset "
137 "no matter where the binary eventually loads. Alternately, if you also "
138 "specify the module - with the -s option - then the address will be "
139 "treated as a file address in that module, and resolved accordingly. "
140 "Again, this will allow lldb to track that offset on subsequent reloads. "
141 "The module need not have been loaded at the time you specify this "
142 "breakpoint, and will get resolved when the module is loaded.">;
143 def breakpoint_set_name : Option<"name", "n">, Group<3>, Arg<"FunctionName">,
144 Completion<"Symbol">, Required,
145 Desc<"Set the breakpoint by function name. Can be repeated multiple times "
146 "to make one breakpoint for multiple names.">;
147 def breakpoint_set_source_regexp_function :
148 Option<"source-regexp-function", "X">, Group<9>, Arg<"FunctionName">,
149 Completion<"Symbol">,
150 Desc<"When used with '-p' limits the source regex to source contained in "
151 "the named functions. Can be repeated multiple times.">;
152 def breakpoint_set_fullname : Option<"fullname", "F">, Group<4>,
153 Arg<"FullName">, Required, Completion<"Symbol">,
154 Desc<"Set the breakpoint by fully qualified function names. For C++ this "
155 "means namespaces and all arguments, and for Objective-C this means a full "
156 "function prototype with class and selector. Can be repeated multiple times"
157 " to make one breakpoint for multiple names.">;
158 def breakpoint_set_selector : Option<"selector", "S">, Group<5>,
159 Arg<"Selector">, Required,
160 Desc<"Set the breakpoint by Objective-C selector name. Can be repeated "
161 "multiple times to make one breakpoint for multiple Selectors.">;
162 def breakpoint_set_method : Option<"method", "M">, Group<6>, Arg<"Method">,
163 Required, Desc<"Set the breakpoint by C++ method names. Can be repeated "
164 "multiple times to make one breakpoint for multiple methods.">;
165 def breakpoint_set_func_regex : Option<"func-regex", "r">, Group<7>,
166 Arg<"RegularExpression">, Required, Desc<"Set the breakpoint by function "
167 "name, evaluating a regular-expression to find the function name(s).">;
168 def breakpoint_set_basename : Option<"basename", "b">, Group<8>,
169 Arg<"FunctionName">, Required, Completion<"Symbol">,
170 Desc<"Set the breakpoint by function basename (C++ namespaces and arguments"
171 " will be ignored). Can be repeated multiple times to make one breakpoint "
172 "for multiple symbols.">;
173 def breakpoint_set_source_pattern_regexp :
174 Option<"source-pattern-regexp", "p">, Group<9>, Arg<"RegularExpression">,
175 Required, Desc<"Set the breakpoint by specifying a regular expression which"
176 " is matched against the source text in a source file or files specified "
177 "with the -f can be specified more than once. If no source files "
178 "are specified, uses the current \"default source file\". If you want to "
179 "match against all source files, pass the \"--all-files\" option.">;
180 def breakpoint_set_all_files : Option<"all-files", "A">, Group<9>,
181 Desc<"All files are searched for source pattern matches.">;
182 def breakpoint_set_language_exception : Option<"language-exception", "E">,
183 Group<10>, Arg<"Language">, Required,
184 Desc<"Set the breakpoint on exceptions thrown by the specified language "
185 "(without options, on throw but not catch.)">;
186 def breakpoint_set_on_throw : Option<"on-throw", "w">, Group<10>,
187 Arg<"Boolean">, Desc<"Set the breakpoint on exception throW.">;
188 def breakpoint_set_on_catch : Option<"on-catch", "h">, Group<10>,
189 Arg<"Boolean">, Desc<"Set the breakpoint on exception catcH.">;
190 def breakpoint_set_language : Option<"language", "L">, GroupRange<3, 8>,
192 Desc<"Specifies the Language to use when interpreting the breakpoint's "
193 "expression (note: currently only implemented for setting breakpoints on "
194 "identifiers). If not set the target.language setting is used.">;
195 def breakpoint_set_skip_prologue : Option<"skip-prologue", "K">,
196 Arg<"Boolean">, Groups<[1,3,4,5,6,7,8,12]>,
197 Desc<"sKip the prologue if the breakpoint is at the beginning of a "
198 "function. If not set the target.skip-prologue setting is used.">;
199 def breakpoint_set_breakpoint_name : Option<"breakpoint-name", "N">,
200 Arg<"BreakpointName">,
201 Desc<"Adds this to the list of names for this breakpoint.">;
202 def breakpoint_set_address_slide : Option<"address-slide", "R">,
203 Arg<"Address">, Groups<[1,3,4,5,6,7,8,12]>,
204 Desc<"Add the specified offset to whatever address(es) the breakpoint "
205 "resolves to. At present this applies the offset directly as given, and "
206 "doesn't try to align it to instruction boundaries.">;
207 def breakpoint_set_move_to_nearest_code : Option<"move-to-nearest-code", "m">,
208 Groups<[1,9,12]>, Arg<"Boolean">,
209 Desc<"Move breakpoints to nearest code. If not set the "
210 "target.move-to-nearest-code setting is used.">;
211 def breakpoint_set_file_colon_line : Option<"joint-specifier", "y">, Group<12>, Arg<"FileLineColumn">,
212 Required, Completion<"SourceFile">,
213 Desc<"A specifier in the form filename:line[:column] for setting file & line breakpoints.">;
214 /* Don't add this option till it actually does something useful...
215 def breakpoint_set_exception_typename : Option<"exception-typename", "O">,
216 Arg<"TypeName">, Desc<"The breakpoint will only stop if an "
217 "exception Object of this type is thrown. Can be repeated multiple times "
218 "to stop for multiple object types">;
222 let Command = "breakpoint clear" in {
223 def breakpoint_clear_file : Option<"file", "f">, Group<1>, Arg<"Filename">,
224 Completion<"SourceFile">,
225 Desc<"Specify the breakpoint by source location in this particular file.">;
226 def breakpoint_clear_line : Option<"line", "l">, Group<1>, Arg<"LineNum">,
228 Desc<"Specify the breakpoint by source location at this particular line.">;
231 let Command = "breakpoint delete" in {
232 def breakpoint_delete_force : Option<"force", "f">, Group<1>,
233 Desc<"Delete all breakpoints without querying for confirmation.">;
234 def breakpoint_delete_dummy_breakpoints : Option<"dummy-breakpoints", "D">,
235 Group<1>, Desc<"Delete Dummy breakpoints - i.e. breakpoints set before a "
236 "file is provided, which prime new targets.">;
237 def breakpoint_delete_disabled : Option<"disabled", "d">, Group<1>,
238 Desc<"Delete all breakpoints which are currently disabled. When using the disabled option "
239 "any breakpoints listed on the command line are EXCLUDED from deletion.">;
242 let Command = "breakpoint name" in {
243 def breakpoint_name_name : Option<"name", "N">, Group<1>,
244 Arg<"BreakpointName">, Desc<"Specifies a breakpoint name to use.">;
245 def breakpoint_name_breakpoint_id : Option<"breakpoint-id", "B">, Group<2>,
246 Arg<"BreakpointID">, Desc<"Specify a breakpoint ID to use.">;
247 def breakpoint_name_dummy_breakpoints : Option<"dummy-breakpoints", "D">,
248 Group<3>, Desc<"Operate on Dummy breakpoints - i.e. breakpoints set before "
249 "a file is provided, which prime new targets.">;
250 def breakpoint_name_help_string : Option<"help-string", "H">, Group<4>,
251 Arg<"None">, Desc<"A help string describing the purpose of this name.">;
254 let Command = "breakpoint access" in {
255 def breakpoint_access_allow_list : Option<"allow-list", "L">, Group<1>,
256 Arg<"Boolean">, Desc<"Determines whether the breakpoint will show up in "
257 "break list if not referred to explicitly.">;
258 def breakpoint_access_allow_disable : Option<"allow-disable", "A">, Group<2>,
259 Arg<"Boolean">, Desc<"Determines whether the breakpoint can be disabled by "
260 "name or when all breakpoints are disabled.">;
261 def breakpoint_access_allow_delete : Option<"allow-delete", "D">, Group<3>,
262 Arg<"Boolean">, Desc<"Determines whether the breakpoint can be deleted by "
263 "name or when all breakpoints are deleted.">;
266 let Command = "breakpoint read" in {
267 def breakpoint_read_file : Option<"file", "f">, Arg<"Filename">, Required,
268 Completion<"DiskFile">,
269 Desc<"The file from which to read the breakpoints.">;
270 def breakpoint_read_breakpoint_name : Option<"breakpoint-name", "N">,
271 Arg<"BreakpointName">, Desc<"Only read in breakpoints with this name.">;
274 let Command = "breakpoint write" in {
275 def breakpoint_write_file : Option<"file", "f">, Arg<"Filename">, Required,
276 Completion<"DiskFile">,
277 Desc<"The file into which to write the breakpoints.">;
278 def breakpoint_write_append : Option<"append", "a">,
279 Desc<"Append to saved breakpoints file if it exists.">;
282 let Command = "breakpoint command add" in {
283 def breakpoint_add_one_liner : Option<"one-liner", "o">, Group<1>,
284 Arg<"OneLiner">, Desc<"Specify a one-line breakpoint command inline. Be "
285 "sure to surround it with quotes.">;
286 def breakpoint_add_stop_on_error : Option<"stop-on-error", "e">,
287 Arg<"Boolean">, Desc<"Specify whether breakpoint command execution should "
288 "terminate on error.">;
289 def breakpoint_add_script_type : Option<"script-type", "s">,
290 EnumArg<"ScriptLang">,
291 Desc<"Specify the language for the commands - if none is specified, the "
292 "lldb command interpreter will be used.">;
293 def breakpoint_add_dummy_breakpoints : Option<"dummy-breakpoints", "D">,
294 Desc<"Sets Dummy breakpoints - i.e. breakpoints set before a file is "
295 "provided, which prime new targets.">;
298 let Command = "breakpoint command delete" in {
299 def breakpoint_command_delete_dummy_breakpoints :
300 Option<"dummy-breakpoints", "D">, Group<1>,
301 Desc<"Delete commands from Dummy breakpoints - i.e. breakpoints set before "
302 "a file is provided, which prime new targets.">;
305 let Command = "disassemble" in {
306 def disassemble_options_bytes : Option<"bytes", "b">,
307 Desc<"Show opcode bytes when disassembling.">;
308 def disassemble_options_kind : Option<"kind", "k">,
309 Desc<"Show instruction control flow kind. Refer to the enum "
310 "`InstructionControlFlowKind` for a list of control flow kind. "
311 "As an important note, far jumps, far calls and far returns often indicate "
312 "calls to and from kernel.">;
313 def disassemble_options_context : Option<"context", "C">, Arg<"NumLines">,
314 Desc<"Number of context lines of source to show.">;
315 def disassemble_options_mixed : Option<"mixed", "m">,
316 Desc<"Enable mixed source and assembly display.">;
317 def disassemble_options_raw : Option<"raw", "r">,
318 Desc<"Print raw disassembly with no symbol information.">;
319 def disassemble_options_plugin : Option<"plugin", "P">, Arg<"Plugin">,
320 Desc<"Name of the disassembler plugin you want to use.">;
321 def disassemble_options_flavor : Option<"flavor", "F">,
322 Arg<"DisassemblyFlavor">, Desc<"Name of the disassembly flavor you want to "
323 "use. Currently the only valid options are default, and for Intel "
324 "architectures, att and intel.">;
325 def disassemble_options_arch : Option<"arch", "A">, Arg<"Architecture">,
326 Desc<"Specify the architecture to use from cross disassembly.">;
327 def disassemble_options_start_address : Option<"start-address", "s">,
328 Groups<[1,2]>, Arg<"AddressOrExpression">, Required,
329 Desc<"Address at which to start disassembling.">;
330 def disassemble_options_end_address : Option<"end-address", "e">, Group<1>,
331 Arg<"AddressOrExpression">, Desc<"Address at which to end disassembling.">;
332 def disassemble_options_count : Option<"count", "c">, Groups<[2,3,4,5,7]>,
333 Arg<"NumLines">, Desc<"Number of instructions to display.">;
334 def disassemble_options_name : Option<"name", "n">, Group<3>,
335 Arg<"FunctionName">, Completion<"Symbol">,
336 Desc<"Disassemble entire contents of the given function name.">;
337 def disassemble_options_frame : Option<"frame", "f">, Group<4>,
338 Desc<"Disassemble from the start of the current frame's function.">;
339 def disassemble_options_pc : Option<"pc", "p">, Group<5>,
340 Desc<"Disassemble around the current pc.">;
341 def disassemble_options_line : Option<"line", "l">, Group<6>,
342 Desc<"Disassemble the current frame's current source line instructions if "
343 "there is debug line table information, else disassemble around the pc.">;
344 def disassemble_options_address : Option<"address", "a">, Group<7>,
345 Arg<"AddressOrExpression">,
346 Desc<"Disassemble function containing this address.">;
347 def disassemble_options_force : Option<"force", "\\x01">, Groups<[2,3,4,5,7]>,
348 Desc<"Force disassembly of large functions.">;
351 let Command = "diagnostics dump" in {
352 def diagnostics_dump_directory : Option<"directory", "d">, Group<1>,
353 Arg<"Path">, Desc<"Dump the diagnostics to the given directory.">;
356 let Command = "expression" in {
357 def expression_options_all_threads : Option<"all-threads", "a">,
358 Groups<[1,2]>, Arg<"Boolean">, Desc<"Should we run all threads if the "
359 "execution doesn't complete on one thread.">;
360 def expression_options_ignore_breakpoints : Option<"ignore-breakpoints", "i">,
361 Groups<[1,2]>, Arg<"Boolean">,
362 Desc<"Ignore breakpoint hits while running expressions">;
363 def expression_options_timeout : Option<"timeout", "t">, Groups<[1,2]>,
364 Arg<"UnsignedInteger">,
365 Desc<"Timeout value (in microseconds) for running the expression.">;
366 def expression_options_unwind_on_error : Option<"unwind-on-error", "u">,
367 Groups<[1,2]>, Arg<"Boolean">,
368 Desc<"Clean up program state if the expression causes a crash, or raises a "
369 "signal. Note, unlike gdb hitting a breakpoint is controlled by another "
371 def expression_options_debug : Option<"debug", "g">, Groups<[1,2]>,
372 Desc<"When specified, debug the JIT code by setting a breakpoint on the "
373 "first instruction and forcing breakpoints to not be ignored (-i0) and no "
374 "unwinding to happen on error (-u0).">;
375 def expression_options_language : Option<"language", "l">, Groups<[1,2,3]>,
376 Arg<"Language">, Desc<"Specifies the Language to use when parsing the "
377 "expression. If not set the target.language setting is used.">;
378 def expression_options_apply_fixits : Option<"apply-fixits", "X">,
379 Groups<[1,2]>, Arg<"Boolean">, Desc<"If true, simple fix-it hints will be "
380 "automatically applied to the expression.">;
381 def expression_options_description_verbosity :
382 Option<"description-verbosity", "v">, Group<1>,
383 OptionalEnumArg<"DescriptionVerbosity">,
384 Desc<"How verbose should the output of this expression be, if the object "
385 "description is asked for.">;
386 def expression_options_top_level : Option<"top-level", "p">, Groups<[1,2]>,
387 Desc<"Interpret the expression as a complete translation unit, without "
388 "injecting it into the local context. Allows declaration of persistent, "
389 "top-level entities without a $ prefix.">;
390 def expression_options_allow_jit : Option<"allow-jit", "j">, Groups<[1,2]>,
392 Desc<"Controls whether the expression can fall back to being JITted if it's "
393 "not supported by the interpreter (defaults to true).">;
394 def persistent_result : Option<"persistent-result", "\\x01">, Groups<[1,2]>,
396 Desc<"Persist expression result in a variable for subsequent use. "
397 "Expression results will be labeled with $-prefixed variables, e.g. $0, "
401 let Command = "frame diag" in {
402 def frame_diag_register : Option<"register", "r">, Group<1>,
403 Arg<"RegisterName">, Desc<"A register to diagnose.">;
404 def frame_diag_address : Option<"address", "a">, Group<1>, Arg<"Address">,
405 Desc<"An address to diagnose.">;
406 def frame_diag_offset : Option<"offset", "o">, Group<1>, Arg<"Offset">,
407 Desc<"An optional offset. Requires --register.">;
410 let Command = "frame select" in {
411 def frame_select_relative : Option<"relative", "r">, Group<1>, Arg<"Offset">,
412 Desc<"A relative frame index offset from the current frame index.">;
415 let Command = "frame recognizer add" in {
416 def frame_recognizer_shlib : Option<"shlib", "s">, Arg<"ShlibName">,
417 Completion<"Module">,
418 Desc<"Name of the module or shared library that this recognizer applies "
420 def frame_recognizer_function : Option<"function", "n">, Arg<"Name">,
421 Completion<"Symbol">,
422 Desc<"Name of the function that this recognizer applies to. "
423 "Can be specified more than once except if -x|--regex is provided.">;
424 def frame_recognizer_python_class : Option<"python-class", "l">, Group<2>,
426 Desc<"Give the name of a Python class to use for this frame recognizer.">;
427 def frame_recognizer_regex : Option<"regex", "x">,
428 Desc<"Function name and module name are actually regular expressions.">;
429 def frame_recognizer_first_instruction_only : Option<"first-instruction-only", "f">, Arg<"Boolean">,
430 Desc<"If true, only apply this recognizer to frames whose PC currently points to the "
431 "first instruction of the specified function. If false, the recognizer "
432 "will always be applied, regardless of the current position within the specified function. The "
433 "implementer should keep in mind that some features, e.g. accessing function argument "
434 "values via $arg<N>, are not guaranteed to work reliably in this case, so extra care must "
435 "be taken to make the recognizer operate correctly. Defaults to true.">;
438 let Command = "history" in {
439 def history_count : Option<"count", "c">, Group<1>, Arg<"UnsignedInteger">,
440 Desc<"How many history commands to print.">;
441 def history_start_index : Option<"start-index", "s">, Group<1>,
442 Arg<"UnsignedInteger">, Desc<"Index at which to start printing history "
443 "commands (or end to mean tail mode).">;
444 def history_end_index : Option<"end-index", "e">, Group<1>,
445 Arg<"UnsignedInteger">,
446 Desc<"Index at which to stop printing history commands.">;
447 def history_clear : Option<"clear", "C">, Group<2>,
448 Desc<"Clears the current command history.">;
451 let Command = "log enable" in {
452 def log_file : Option<"file", "f">, Group<1>, Arg<"Filename">,
453 Desc<"Set the destination file to log to.">;
454 def log_handler : Option<"log-handler", "h">, Group<1>,
455 EnumArg<"LogHandler">, Desc<"Specify a log handler which determines where log messages are written.">;
456 def log_buffer_size : Option<"buffer", "b">, Group<1>, Arg<"UnsignedInteger">,
457 Desc<"Set the log to be buffered, using the specified buffer size, if supported by the log handler.">;
458 def log_verbose : Option<"verbose", "v">, Group<1>,
459 Desc<"Enable verbose logging.">;
460 def log_sequence : Option<"sequence", "s">, Group<1>,
461 Desc<"Prepend all log lines with an increasing integer sequence id.">;
462 def log_timestamp : Option<"timestamp", "T">, Group<1>,
463 Desc<"Prepend all log lines with a timestamp.">;
464 def log_pid_tid : Option<"pid-tid", "p">, Group<1>,
465 Desc<"Prepend all log lines with the process and thread ID that generates "
467 def log_thread_name : Option<"thread-name", "n">, Group<1>,
468 Desc<"Prepend all log lines with the thread name for the thread that "
469 "generates the log line.">;
471 def log_stack : Option<"stack", "S">, Group<1>,
472 Desc<"Append a stack backtrace to each log line.">;
473 def log_append : Option<"append", "a">, Group<1>,
474 Desc<"Append to the log file instead of overwriting.">;
475 def log_file_function : Option<"file-function", "F">, Group<1>,
476 Desc<"Prepend the names of files and function that generate the logs.">;
479 let Command = "log dump" in {
480 def log_dump_file : Option<"file", "f">, Group<1>, Arg<"Filename">,
481 Desc<"Set the destination file to dump to.">;
484 let Command = "memory read" in {
485 def memory_read_num_per_line : Option<"num-per-line", "l">, Group<1>,
486 Arg<"NumberPerLine">, Desc<"The number of items per line to display.">;
487 def memory_read_binary : Option<"binary", "b">, Group<2>,
488 Desc<"If true, memory will be saved as binary. If false, the memory is "
489 "saved save as an ASCII dump that uses the format, size, count and number "
490 "per line settings.">;
491 def memory_read_type : Option<"type", "t">, Groups<[3,4]>, Arg<"Name">,
492 Required, Desc<"The name of a type to view memory as.">;
493 def memory_read_language : Option<"language", "x">, Group<4>, Arg<"Language">,
494 Desc<"The language of the type to view memory as.">;
495 def memory_read_offset : Option<"offset", "E">, Group<3>, Arg<"Count">,
496 Desc<"How many elements of the specified type to skip before starting to "
498 def memory_read_force : Option<"force", "r">, Groups<[1,2,3]>,
499 Desc<"Necessary if reading over target.max-memory-read-size bytes.">;
502 let Command = "memory find" in {
503 def memory_find_expression : Option<"expression", "e">, Group<1>,
504 Arg<"Expression">, Required,
505 Desc<"Evaluate an expression to obtain a byte pattern.">;
506 def memory_find_string : Option<"string", "s">, Group<2>, Arg<"Name">,
507 Required, Desc<"Use text to find a byte pattern.">;
508 def memory_find_count : Option<"count", "c">, Arg<"Count">,
509 Desc<"How many times to perform the search.">;
510 def memory_find_dump_offset : Option<"dump-offset", "o">, Arg<"Offset">,
511 Desc<"When dumping memory for a match, an offset from the match location to"
512 " start dumping from.">;
515 let Command = "memory write" in {
516 def memory_write_infile : Option<"infile", "i">, Group<1>, Arg<"Filename">,
517 Required, Desc<"Write memory using the contents of a file.">;
518 def memory_write_offset : Option<"offset", "o">, Group<1>, Arg<"Offset">,
519 Desc<"Start writing bytes from an offset within the input file.">;
522 let Command = "memory region" in {
523 def memory_region_all : Option<"all", "a">, Group<2>, Required,
524 Desc<"Show all memory regions. This is equivalent to starting from address "
525 "0 and repeating the command. Unmapped areas are included.">;
528 let Command = "memory tag write" in {
529 def memory_write_end_addr : Option<"end-addr", "e">, Group<1>,
530 Arg<"AddressOrExpression">, Desc<
531 "Set tags for start address to end-addr, repeating tags as needed"
532 " to cover the range. (instead of calculating the range from the"
533 " number of tags given)">;
536 let Command = "register read" in {
537 def register_read_alternate : Option<"alternate", "A">,
538 Desc<"Display register names using the alternate register name if there "
540 def register_read_set : Option<"set", "s">, Group<1>, Arg<"Index">,
541 Desc<"Specify which register sets to dump by index.">;
542 def register_read_all : Option<"all", "a">, Group<2>,
543 Desc<"Show all register sets.">;
546 let Command = "source" in {
547 def source_stop_on_error : Option<"stop-on-error", "e">, Arg<"Boolean">,
548 Desc<"If true, stop executing commands on error.">;
549 def source_stop_on_continue : Option<"stop-on-continue", "c">, Arg<"Boolean">,
550 Desc<"If true, stop executing commands on continue.">;
551 def source_silent_run : Option<"silent-run", "s">, Arg<"Boolean">,
552 Desc<"If true don't echo commands while executing.">;
553 def cmd_relative_to_command_file : Option<"relative-to-command-file", "C">,
554 Desc<"Resolve non-absolute paths relative to the location of the "
555 "current command file. This argument can only be used when the command is "
556 "being sourced from a file.">;
559 let Command = "alias" in {
560 def alias_help : Option<"help", "h">, Arg<"HelpText">,
561 Desc<"Help text for this command">;
562 def alias_long_help : Option<"long-help", "H">, Arg<"HelpText">,
563 Desc<"Long help text for this command">;
566 let Command = "regex" in {
567 def regex_help : Option<"help", "h">, Group<1>, Arg<"None">,
568 Desc<"The help text to display for this command.">;
569 def regex_syntax : Option<"syntax", "s">, Group<1>, Arg<"None">,
570 Desc<"A syntax string showing the typical usage syntax.">;
573 let Command = "permissions" in {
574 def permissions_permissions_value : Option<"permissions-value", "v">,
575 Arg<"PermissionsNumber">,
576 Desc<"Give out the numeric value for permissions (e.g. 757)">;
577 def permissions_permissions_string : Option<"permissions-string", "s">,
578 Arg<"PermissionsString">,
579 Desc<"Give out the string value for permissions (e.g. rwxr-xr--).">;
580 def permissions_user_read : Option<"user-read", "r">,
581 Desc<"Allow user to read.">;
582 def permissions_user_write : Option<"user-write", "w">,
583 Desc<"Allow user to write.">;
584 def permissions_user_exec : Option<"user-exec", "x">,
585 Desc<"Allow user to execute.">;
586 def permissions_group_read : Option<"group-read", "R">,
587 Desc<"Allow group to read.">;
588 def permissions_group_write : Option<"group-write", "W">,
589 Desc<"Allow group to write.">;
590 def permissions_group_exec : Option<"group-exec", "X">,
591 Desc<"Allow group to execute.">;
592 def permissions_world_read : Option<"world-read", "d">,
593 Desc<"Allow world to read.">;
594 def permissions_world_write : Option<"world-write", "t">,
595 Desc<"Allow world to write.">;
596 def permissions_world_exec : Option<"world-exec", "e">,
597 Desc<"Allow world to execute.">;
600 let Command = "platform fread" in {
601 def platform_fread_offset : Option<"offset", "o">, Group<1>, Arg<"Index">,
602 Desc<"Offset into the file at which to start reading.">;
603 def platform_fread_count : Option<"count", "c">, Group<1>, Arg<"Count">,
604 Desc<"Number of bytes to read from the file.">;
607 let Command = "platform fwrite" in {
608 def platform_fwrite_offset : Option<"offset", "o">, Group<1>, Arg<"Index">,
609 Desc<"Offset into the file at which to start reading.">;
610 def platform_fwrite_data : Option<"data", "d">, Group<1>, Arg<"Value">,
611 Desc<"Text to write to the file.">;
614 let Command = "platform process list" in {
615 def platform_process_list_pid : Option<"pid", "p">, Group<1>, Arg<"Pid">,
616 Desc<"List the process info for a specific process ID.">;
617 def platform_process_list_name : Option<"name", "n">, Group<2>,
618 Arg<"ProcessName">, Required,
619 Desc<"Find processes with executable basenames that match a string.">;
620 def platform_process_list_ends_with : Option<"ends-with", "e">, Group<3>,
621 Arg<"ProcessName">, Required,
622 Desc<"Find processes with executable basenames that end with a string.">;
623 def platform_process_list_starts_with : Option<"starts-with", "s">, Group<4>,
624 Arg<"ProcessName">, Required,
625 Desc<"Find processes with executable basenames that start with a string.">;
626 def platform_process_list_contains : Option<"contains", "c">, Group<5>,
627 Arg<"ProcessName">, Required,
628 Desc<"Find processes with executable basenames that contain a string.">;
629 def platform_process_list_regex : Option<"regex", "r">, Group<6>,
630 Arg<"RegularExpression">, Required,
631 Desc<"Find processes with executable basenames that match a regular "
633 def platform_process_list_parent : Option<"parent", "P">, GroupRange<2, 6>,
634 Arg<"Pid">, Desc<"Find processes that have a matching parent process ID.">;
635 def platform_process_list_uid : Option<"uid", "u">, GroupRange<2, 6>,
636 Arg<"UnsignedInteger">, Validator<"&posix_validator">,
637 Desc<"Find processes that have a matching user ID.">;
638 def platform_process_list_euid : Option<"euid", "U">, GroupRange<2, 6>,
639 Arg<"UnsignedInteger">, Validator<"&posix_validator">,
640 Desc<"Find processes that have a matching effective user ID.">;
641 def platform_process_list_gid : Option<"gid", "g">, GroupRange<2, 6>,
642 Arg<"UnsignedInteger">, Validator<"&posix_validator">,
643 Desc<"Find processes that have a matching group ID.">;
644 def platform_process_list_egid : Option<"egid", "G">, GroupRange<2, 6>,
645 Arg<"UnsignedInteger">, Validator<"&posix_validator">,
646 Desc<"Find processes that have a matching effective group ID.">;
647 def platform_process_list_arch : Option<"arch", "a">, GroupRange<2, 6>,
649 Desc<"Find processes that have a matching architecture.">;
650 def platform_process_list_show_args : Option<"show-args", "A">,
652 Desc<"Show process arguments instead of the process executable basename.">;
653 def platform_process_list_all_users: Option<"all-users", "x">,
655 Desc<"Show processes matching all user IDs.">;
656 def platform_process_list_verbose : Option<"verbose", "v">, GroupRange<1, 6>,
657 Desc<"Enable verbose output.">;
660 let Command = "platform process attach" in {
661 def platform_process_attach_plugin : Option<"plugin", "P">, Arg<"Plugin">,
662 Desc<"Name of the process plugin you want to use.">;
663 def platform_process_attach_pid : Option<"pid", "p">, Group<1>, Arg<"Pid">,
664 Desc<"The process ID of an existing process to attach to.">;
665 def platform_process_attach_name : Option<"name", "n">, Group<2>,
666 Arg<"ProcessName">, Desc<"The name of the process to attach to.">;
667 def platform_process_attach_waitfor : Option<"waitfor", "w">, Group<2>,
668 Desc<"Wait for the process with <process-name> to launch.">;
671 let Command = "platform shell" in {
672 def platform_shell_host : Option<"host", "h">,
673 Desc<"Run the commands on the host shell when enabled.">;
674 def platform_shell_timeout : Option<"timeout", "t">, Arg<"Value">,
675 Desc<"Seconds to wait for the remote host to finish running the command.">;
676 def platform_shell_interpreter : Option<"shell", "s">, Arg<"Path">,
677 Desc<"Shell interpreter path. This is the binary used to run the command.">;
680 let Command = "process launch" in {
681 def process_launch_stop_at_entry : Option<"stop-at-entry", "s">,
682 Desc<"Stop at the entry point of the program when launching a process.">;
683 def process_launch_stop_at_user_entry : Option<"stop-at-user-entry", "m">,
684 Desc<"Stop at the user entry point when launching a process. For C based "
685 "languages this will be the 'main' function, but this might differ for "
687 def process_launch_disable_aslr : Option<"disable-aslr", "A">, Arg<"Boolean">,
688 Desc<"Set whether to disable address space layout randomization when launching a process.">;
689 def process_launch_plugin : Option<"plugin", "P">, Arg<"Plugin">,
690 Desc<"Name of the process plugin you want to use.">;
691 def process_launch_working_dir : Option<"working-dir", "w">, Arg<"DirectoryName">,
692 Desc<"Set the current working directory to <path> when running the inferior.">;
693 def process_launch_arch : Option<"arch", "a">, Arg<"Architecture">,
694 Desc<"Set the architecture for the process to launch when ambiguous.">;
695 def process_launch_environment : Option<"environment", "E">,
696 Arg<"None">, Desc<"Specify an environment variable name/value string "
697 "(--environment NAME=VALUE). Can be specified multiple times for subsequent "
698 "environment entries.">;
699 def process_launch_shell : Option<"shell", "c">, GroupRange<1,3>,
700 OptionalArg<"Filename">, Desc<"Run the process in a shell (not supported on all platforms).">;
701 def process_launch_stdin : Option<"stdin", "i">, Group<1>,
702 Arg<"Filename">, Desc<"Redirect stdin for the process to <filename>.">;
703 def process_launch_stdout : Option<"stdout", "o">, Group<1>,
704 Arg<"Filename">, Desc<"Redirect stdout for the process to <filename>.">;
705 def process_launch_stderr : Option<"stderr", "e">, Group<1>,
706 Arg<"Filename">, Desc<"Redirect stderr for the process to <filename>.">;
707 def process_launch_tty : Option<"tty", "t">, Group<2>,
708 Desc<"Start the process in a terminal (not supported on all platforms).">;
709 def process_launch_no_stdio : Option<"no-stdio", "n">, Group<3>,
710 Desc<"Do not set up for terminal I/O to go to running process.">;
711 def process_launch_shell_expand_args : Option<"shell-expand-args", "X">, Group<4>,
712 Arg<"Boolean">, Desc<"Set whether to shell expand arguments to the process when launching.">;
715 let Command = "process attach" in {
716 def process_attach_continue : Option<"continue", "c">,
717 Desc<"Immediately continue the process once attached.">;
718 def process_attach_plugin : Option<"plugin", "P">, Arg<"Plugin">,
719 Desc<"Name of the process plugin you want to use.">;
720 def process_attach_pid : Option<"pid", "p">, Group<1>, Arg<"Pid">,
721 Desc<"The process ID of an existing process to attach to.">;
722 def process_attach_name : Option<"name", "n">, Group<2>, Arg<"ProcessName">,
723 Desc<"The name of the process to attach to.">;
724 def process_attach_include_existing : Option<"include-existing", "i">,
725 Group<2>, Desc<"Include existing processes when doing attach -w.">;
726 def process_attach_waitfor : Option<"waitfor", "w">, Group<2>,
727 Desc<"Wait for the process with <process-name> to launch.">;
730 let Command = "process continue" in {
731 def process_continue_ignore_count : Option<"ignore-count", "i">, Group<1>,
732 Arg<"UnsignedInteger">, Desc<"Ignore <N> crossings of the breakpoint (if it"
733 " exists) for the currently selected thread.">;
734 def process_continue_run_to_bkpt : Option<"continue-to-bkpt", "b">, Group<2>,
735 Arg<"BreakpointIDRange">, Desc<"Specify a breakpoint to continue to, temporarily "
736 "ignoring other breakpoints. Can be specified more than once. "
737 "The continue action will be done synchronously if this option is specified.">;
740 let Command = "process detach" in {
741 def process_detach_keep_stopped : Option<"keep-stopped", "s">, Group<1>,
742 Arg<"Boolean">, Desc<"Whether or not the process should be kept stopped on"
743 " detach (if possible).">;
746 let Command = "process connect" in {
747 def process_connect_plugin : Option<"plugin", "p">, Arg<"Plugin">,
748 Desc<"Name of the process plugin you want to use.">;
751 let Command = "process load" in {
752 def process_load_install : Option<"install", "i">, OptionalArg<"Path">,
753 Desc<"Install the shared library to the target. If specified without an "
754 "argument then the library will installed in the current working "
758 let Command = "process handle" in {
759 def process_handle_clear : Option<"clear", "c">, Group<2>,
760 Desc<"Removes the signals listed from the Target signal handlers">;
761 def process_handle_stop : Option<"stop", "s">, Group<1>, Arg<"Boolean">,
762 Desc<"Whether or not the process should be stopped if the signal is "
764 def process_handle_notify : Option<"notify", "n">, Group<1>, Arg<"Boolean">,
765 Desc<"Whether or not the debugger should notify the user if the signal is "
767 def process_handle_pass : Option<"pass", "p">, Group<1>, Arg<"Boolean">,
768 Desc<"Whether or not the signal should be passed to the process.">;
769 def process_handle_only_target : Option<"target", "t">, Group<1>,
770 Desc<"Show only the signals with behaviors modified in this target">;
771 def process_handle_dummy : Option<"dummy", "d">, Group<2>,
772 Desc<"Also clear the values in the dummy target so they won't be inherited by new targets.">;
775 let Command = "process status" in {
776 def process_status_verbose : Option<"verbose", "v">, Group<1>,
777 Desc<"Show verbose process status including extended crash information.">;
780 let Command = "process save_core" in {
781 def process_save_core_style : Option<"style", "s">, Group<1>,
782 EnumArg<"SaveCoreStyle">, Desc<"Request a specific style "
783 "of corefile to be saved.">;
784 def process_save_core_plugin_name : Option<"plugin-name", "p">,
785 OptionalArg<"Plugin">, Desc<"Specify a plugin name to create the core file."
786 "This allows core files to be saved in different formats.">;
789 let Command = "script import" in {
790 def script_import_allow_reload : Option<"allow-reload", "r">, Group<1>,
791 Desc<"Allow the script to be loaded even if it was already loaded before. "
792 "This argument exists for backwards compatibility, but reloading is always "
793 "allowed, whether you specify it or not.">;
794 def relative_to_command_file : Option<"relative-to-command-file", "c">,
795 Group<1>, Desc<"Resolve non-absolute paths relative to the location of the "
796 "current command file. This argument can only be used when the command is "
797 "being sourced from a file.">;
798 def silent : Option<"silent", "s">, Group<1>,
799 Desc<"If true don't print any script output while importing.">;
802 let Command = "script add" in {
803 def script_add_function : Option<"function", "f">, Group<1>,
804 Arg<"PythonFunction">,
805 Desc<"Name of the Python function to bind to this command name.">;
806 def script_add_class : Option<"class", "c">, Group<2>, Arg<"PythonClass">,
807 Desc<"Name of the Python class to bind to this command name.">;
808 def script_add_help : Option<"help", "h">, Group<1>, Arg<"HelpText">,
809 Desc<"The help text to display for this command.">;
810 def script_add_overwrite : Option<"overwrite", "o">, Groups<[1,2]>,
811 Desc<"Overwrite an existing command at this node.">;
812 def script_add_synchronicity : Option<"synchronicity", "s">,
813 EnumArg<"ScriptedCommandSynchronicity">,
814 Desc<"Set the synchronicity of this command's executions with regard to "
815 "LLDB event system.">;
816 def completion_type : Option<"completion-type", "C">,
817 EnumArg<"CompletionType">,
818 Desc<"Specify which completion type the command should use - if none is specified, the command won't use auto-completion.">;
821 let Command = "container add" in {
822 def container_add_help : Option<"help", "h">, Arg<"HelpText">,
823 Desc<"Help text for this command">;
824 def container_add_long_help : Option<"long-help", "H">, Arg<"HelpText">,
825 Desc<"Long help text for this command">;
826 def container_add_overwrite : Option<"overwrite", "o">, Group<1>,
827 Desc<"Overwrite an existing command at this node.">;
830 let Command = "script" in {
831 def script_language : Option<"language", "l">,
832 EnumArg<"ScriptLang">, Desc<"Specify the scripting "
833 " language. If none is specific the default scripting language is used.">;
836 let Command = "source info" in {
837 def source_info_count : Option<"count", "c">, Arg<"Count">,
838 Desc<"The number of line entries to display.">;
839 def source_info_shlib : Option<"shlib", "s">, Groups<[1,2]>, Arg<"ShlibName">,
840 Completion<"Module">, Desc<"Look up the source in the given module or "
841 "shared library (can be specified more than once).">;
842 def source_info_file : Option<"file", "f">, Group<1>, Arg<"Filename">,
843 Completion<"SourceFile">, Desc<"The file from which to display source.">;
844 def source_info_line : Option<"line", "l">, Group<1>, Arg<"LineNum">,
845 Desc<"The line number at which to start the displaying lines.">;
846 def source_info_end_line : Option<"end-line", "e">, Group<1>, Arg<"LineNum">,
847 Desc<"The line number at which to stop displaying lines.">;
848 def source_info_name : Option<"name", "n">, Group<2>, Arg<"Symbol">,
849 Completion<"Symbol">,
850 Desc<"The name of a function whose source to display.">;
851 def source_info_address : Option<"address", "a">, Group<3>,
852 Arg<"AddressOrExpression">, Desc<"Lookup the address and display the source"
853 " information for the corresponding file and line.">;
856 let Command = "source list" in {
857 def source_list_count : Option<"count", "c">, Arg<"Count">,
858 Desc<"The number of source lines to display.">;
859 def source_list_shlib : Option<"shlib", "s">, Groups<[1,2,5]>, Arg<"ShlibName">,
860 Completion<"Module">,
861 Desc<"Look up the source file in the given shared library.">;
862 def source_list_show_breakpoints : Option<"show-breakpoints", "b">,
863 Desc<"Show the line table locations from the debug information that "
864 "indicate valid places to set source level breakpoints.">;
865 def source_list_file : Option<"file", "f">, Group<1>, Arg<"Filename">,
866 Completion<"SourceFile">, Desc<"The file from which to display source.">;
867 def source_list_line : Option<"line", "l">, Group<1>, Arg<"LineNum">,
868 Desc<"The line number at which to start the display source.">;
869 def source_list_name : Option<"name", "n">, Group<2>, Arg<"Symbol">,
870 Completion<"Symbol">,
871 Desc<"The name of a function whose source to display.">;
872 def source_list_address : Option<"address", "a">, Group<3>,
873 Arg<"AddressOrExpression">, Desc<"Lookup the address and display the source"
874 " information for the corresponding file and line.">;
875 def source_list_reverse : Option<"reverse", "r">, Group<4>, Desc<"Reverse the"
876 " listing to look backwards from the last displayed block of source.">;
877 def source_list_file_colon_line : Option<"joint-specifier", "y">, Group<5>,
878 Arg<"FileLineColumn">, Completion<"SourceFile">,
879 Desc<"A specifier in the form filename:line[:column] from which to display"
883 let Command = "target dependents" in {
884 def dependents_no_dependents : Option<"no-dependents", "d">, Group<1>,
885 OptionalEnumArg<"Value">,
886 Desc<"Whether or not to load dependents when creating a target. If the "
887 "option is not specified, the value is implicitly 'default'. If the "
888 "option is specified but without a value, the value is implicitly "
892 let Command = "target modules dump" in {
893 def target_modules_dump_verbose : Option<"verbose", "v">,
894 Desc<"Enable verbose dump.">;
897 let Command = "target modules list" in {
898 def target_modules_list_address : Option<"address", "a">, Group<1>,
899 Arg<"AddressOrExpression">, Desc<"Display the image at this address.">;
900 def target_modules_list_arch : Option<"arch", "A">, Group<1>,
901 OptionalArg<"Width">, Desc<"Display the architecture when listing images.">;
902 def target_modules_list_triple : Option<"triple", "t">, Group<1>,
903 OptionalArg<"Width">, Desc<"Display the triple when listing images.">;
904 def target_modules_list_header : Option<"header", "h">, Group<1>,
905 Desc<"Display the image base address as a load address if debugging, a file"
906 " address otherwise.">;
907 def target_modules_list_offset : Option<"offset", "o">, Group<1>,
908 Desc<"Display the image load address offset from the base file address "
909 "(the slide amount).">;
910 def target_modules_list_uuid : Option<"uuid", "u">, Group<1>,
911 Desc<"Display the UUID when listing images.">;
912 def target_modules_list_fullpath : Option<"fullpath", "f">, Group<1>,
913 OptionalArg<"Width">,
914 Desc<"Display the fullpath to the image object file.">;
915 def target_modules_list_directory : Option<"directory", "d">, Group<1>,
916 OptionalArg<"Width">, Desc<"Display the directory with optional width for "
917 "the image object file.">;
918 def target_modules_list_basename : Option<"basename", "b">, Group<1>,
919 OptionalArg<"Width">, Desc<"Display the basename with optional width for "
920 "the image object file.">;
921 def target_modules_list_symfile : Option<"symfile", "s">, Group<1>,
922 OptionalArg<"Width">, Desc<"Display the fullpath to the image symbol file "
923 "with optional width.">;
924 def target_modules_list_symfile_unique : Option<"symfile-unique", "S">,
925 Group<1>, OptionalArg<"Width">, Desc<"Display the symbol file with optional"
926 " width only if it is different from the executable object file.">;
927 def target_modules_list_mod_time : Option<"mod-time", "m">, Group<1>,
928 OptionalArg<"Width">, Desc<"Display the modification time with optional "
929 "width of the module.">;
930 def target_modules_list_ref_count : Option<"ref-count", "r">, Group<1>,
931 OptionalArg<"Width">, Desc<"Display the reference count if the module is "
932 "still in the shared module cache.">;
933 def target_modules_list_pointer : Option<"pointer", "p">, Group<1>,
934 OptionalArg<"None">, Desc<"Display the module pointer.">;
935 def target_modules_list_global : Option<"global", "g">, Group<1>,
936 Desc<"Display the modules from the global module list, not just the "
940 let Command = "target modules show unwind" in {
941 def target_modules_show_unwind_name : Option<"name", "n">, Group<1>,
943 Desc<"Show unwind instructions for a function or symbol name.">;
944 def target_modules_show_unwind_address : Option<"address", "a">, Group<2>,
945 Arg<"AddressOrExpression">, Desc<"Show unwind instructions for a function "
946 "or symbol containing an address">;
949 let Command = "target modules lookup" in {
950 def target_modules_lookup_address : Option<"address", "a">, Group<1>,
951 Arg<"AddressOrExpression">, Required, Desc<"Lookup an address in one or "
952 "more target modules.">;
953 def target_modules_lookup_offset : Option<"offset", "o">, Group<1>,
954 Arg<"Offset">, Desc<"When looking up an address subtract <offset> from any "
955 "addresses before doing the lookup.">;
956 // FIXME: re-enable regex for types when the LookupTypeInModule actually uses
957 // the regex option by adding to group 6.
958 def target_modules_lookup_regex : Option<"regex", "r">, Groups<[2,4,5]>,
959 Desc<"The <name> argument for name lookups are regular expressions.">;
960 def target_modules_lookup_symbol : Option<"symbol", "s">, Group<2>,
961 Arg<"Symbol">, Required, Desc<"Lookup a symbol by name in the symbol tables"
962 " in one or more target modules.">;
963 def target_modules_lookup_file : Option<"file", "f">, Group<3>,
964 Arg<"Filename">, Required, Desc<"Lookup a file by fullpath or basename in "
965 "one or more target modules.">;
966 def target_modules_lookup_line : Option<"line", "l">, Group<3>,
967 Arg<"LineNum">, Desc<"Lookup a line number in a file (must be used in "
968 "conjunction with --file).">;
969 def target_modules_lookup_no_inlines : Option<"no-inlines", "i">,
971 Desc<"Ignore inline entries (must be used in conjunction with --file or "
973 def target_modules_lookup_function : Option<"function", "F">, Group<4>,
974 Arg<"FunctionName">, Required, Desc<"Lookup a function by name in the debug"
975 " symbols in one or more target modules.">;
976 def target_modules_lookup_name : Option<"name", "n">, Group<5>,
977 Arg<"FunctionOrSymbol">, Required, Desc<"Lookup a function or symbol by "
978 "name in one or more target modules.">;
979 def target_modules_lookup_type : Option<"type", "t">, Group<6>, Arg<"Name">,
980 Required, Desc<"Lookup a type by name in the debug symbols in one or more "
982 def target_modules_lookup_variables_ranges : Option<"show-variable-ranges",
983 "\\x01">, GroupRange<1, 6>, Desc<"Dump valid ranges of variables (must be "
984 "used in conjunction with --verbose">;
985 def target_modules_lookup_verbose : Option<"verbose", "v">,
986 Desc<"Enable verbose lookup information.">;
987 def target_modules_lookup_all : Option<"all", "A">, Desc<"Print all matches, "
988 "not just the best match, if a best match is available.">;
991 let Command = "target stop hook add" in {
992 def target_stop_hook_add_one_liner : Option<"one-liner", "o">, GroupRange<1,3>,
993 Arg<"OneLiner">, Desc<"Add a command for the stop hook. Can be specified "
994 "more than once, and commands will be run in the order they appear.">;
995 def target_stop_hook_add_shlib : Option<"shlib", "s">, Arg<"ShlibName">,
996 Completion<"Module">,
997 Desc<"Set the module within which the stop-hook is to be run.">;
998 def target_stop_hook_add_thread_index : Option<"thread-index", "x">,
999 Arg<"ThreadIndex">, Desc<"The stop hook is run only for the thread whose "
1000 "index matches this argument.">;
1001 def target_stop_hook_add_thread_id : Option<"thread-id", "t">,
1002 Arg<"ThreadID">, Desc<"The stop hook is run only for the thread whose TID "
1003 "matches this argument.">;
1004 def target_stop_hook_add_thread_name : Option<"thread-name", "T">,
1005 Arg<"ThreadName">, Desc<"The stop hook is run only for the thread whose "
1006 "thread name matches this argument.">;
1007 def target_stop_hook_add_queue_name : Option<"queue-name", "q">,
1008 Arg<"QueueName">, Desc<"The stop hook is run only for threads in the queue "
1009 "whose name is given by this argument.">;
1010 def target_stop_hook_add_file : Option<"file", "f">, Groups<[1,4]>,
1011 Arg<"Filename">, Desc<"Specify the source file within which the stop-hook "
1012 "is to be run.">, Completion<"SourceFile">;
1013 def target_stop_hook_add_start_line : Option<"start-line", "l">, Groups<[1,4]>,
1014 Arg<"LineNum">, Desc<"Set the start of the line range for which the "
1015 "stop-hook is to be run.">;
1016 def target_stop_hook_add_end_line : Option<"end-line", "e">, Groups<[1,4]>,
1017 Arg<"LineNum">, Desc<"Set the end of the line range for which the stop-hook"
1019 def target_stop_hook_add_classname : Option<"classname", "c">, Groups<[2,5]>,
1021 Desc<"Specify the class within which the stop-hook is to be run.">;
1022 def target_stop_hook_add_name : Option<"name", "n">, Groups<[3,6]>,
1023 Arg<"FunctionName">, Desc<"Set the function name within which the stop hook"
1024 " will be run.">, Completion<"Symbol">;
1025 def target_stop_hook_add_auto_continue : Option<"auto-continue", "G">,
1026 Arg<"Boolean">, Desc<"The breakpoint will auto-continue after running its"
1030 let Command = "thread backtrace" in {
1031 def thread_backtrace_count : Option<"count", "c">, Group<1>, Arg<"Count">,
1032 Desc<"How many frames to display (-1 for all)">;
1033 def thread_backtrace_start : Option<"start", "s">, Group<1>,
1034 Arg<"FrameIndex">, Desc<"Frame in which to start the backtrace">;
1035 def thread_backtrace_extended : Option<"extended", "e">, Group<1>,
1036 Arg<"Boolean">, Desc<"Show the extended backtrace, if available">;
1039 let Command = "thread step scope" in {
1040 def thread_step_scope_step_in_avoids_no_debug :
1041 Option<"step-in-avoids-no-debug", "a">, Group<1>, Arg<"Boolean">,
1042 Desc<"A boolean value that sets whether stepping into functions will step "
1043 "over functions with no debug information.">;
1044 def thread_step_scope_step_out_avoids_no_debug :
1045 Option<"step-out-avoids-no-debug", "A">, Group<1>, Arg<"Boolean">,
1046 Desc<"A boolean value, if true stepping out of functions will continue to"
1047 " step out till it hits a function with debug information.">;
1048 def thread_step_scope_count : Option<"count", "c">, Group<1>, Arg<"Count">,
1049 Desc<"How many times to perform the stepping operation - currently only "
1050 "supported for step-inst and next-inst.">;
1051 def thread_step_scope_end_linenumber : Option<"end-linenumber", "e">,
1052 Group<1>, Arg<"LineNum">, Desc<"The line at which to stop stepping - "
1053 "defaults to the next line and only supported for step-in and step-over."
1054 " You can also pass the string 'block' to step to the end of the current"
1055 " block. This is particularly use in conjunction with --step-target to"
1056 " step through a complex calling sequence.">;
1057 def thread_step_scope_run_mode : Option<"run-mode", "m">, Group<1>,
1058 EnumArg<"RunMode">, Desc<"Determine how to run other "
1059 "threads while stepping the current thread.">;
1060 def thread_step_scope_step_over_regexp : Option<"step-over-regexp", "r">,
1061 Group<1>, Arg<"RegularExpression">, Desc<"A regular expression that defines "
1062 "function names to not to stop at when stepping in.">;
1063 def thread_step_scope_step_in_target : Option<"step-in-target", "t">,
1064 Group<1>, Arg<"FunctionName">, Desc<"The name of the directly called "
1065 "function step in should stop at when stepping into.">;
1068 let Command = "thread until" in {
1069 def thread_until_frame : Option<"frame", "f">, Group<1>, Arg<"FrameIndex">,
1070 Desc<"Frame index for until operation - defaults to 0">;
1071 def thread_until_thread : Option<"thread", "t">, Group<1>, Arg<"ThreadIndex">,
1072 Desc<"Thread index for the thread for until operation">;
1073 def thread_until_run_mode : Option<"run-mode", "m">, Group<1>,
1074 EnumArg<"RunMode">, Desc<"Determine how to run other "
1075 "threads while stepping this one">;
1076 def thread_until_address : Option<"address", "a">, Group<1>,
1077 Arg<"AddressOrExpression">, Desc<"Run until we reach the specified address, "
1078 "or leave the function - can be specified multiple times.">;
1081 let Command = "thread info" in {
1082 def thread_info_json : Option<"json", "j">, Desc<"Display the thread info in"
1084 def thread_info_stop_info : Option<"stop-info", "s">, Desc<"Display the "
1085 "extended stop info in JSON format.">;
1088 let Command = "thread return" in {
1089 def thread_return_from_expression : Option<"from-expression", "x">,
1090 Desc<"Return from the innermost expression evaluation.">;
1093 let Command = "thread jump" in {
1094 def thread_jump_file : Option<"file", "f">, Group<1>, Arg<"Filename">,
1095 Completion<"SourceFile">, Desc<"Specifies the source file to jump to.">;
1096 def thread_jump_line : Option<"line", "l">, Group<1>, Arg<"LineNum">,
1097 Required, Desc<"Specifies the line number to jump to.">;
1098 def thread_jump_by : Option<"by", "b">, Group<2>, Arg<"Offset">, Required,
1099 Desc<"Jumps by a relative line offset from the current line.">;
1100 def thread_jump_address : Option<"address", "a">, Group<3>,
1101 Arg<"AddressOrExpression">, Required, Desc<"Jumps to a specific address.">;
1102 def thread_jump_force : Option<"force", "r">, Groups<[1,2,3]>,
1103 Desc<"Allows the PC to leave the current function.">;
1106 let Command = "thread plan list" in {
1107 def thread_plan_list_verbose : Option<"verbose", "v">, Group<1>,
1108 Desc<"Display more information about the thread plans">;
1109 def thread_plan_list_internal : Option<"internal", "i">, Group<1>,
1110 Desc<"Display internal as well as user thread plans">;
1111 def thread_plan_list_thread_id : Option<"thread-id", "t">, Group<1>,
1112 Arg<"ThreadID">, Desc<"List the thread plans for this TID, can be "
1113 "specified more than once.">;
1114 def thread_plan_list_unreported : Option<"unreported", "u">, Group<1>,
1115 Desc<"Display thread plans for unreported threads">;
1118 let Command = "thread trace dump function calls" in {
1119 def thread_trace_dump_function_calls_file : Option<"file", "F">, Group<1>,
1121 Desc<"Dump the function calls to a file instead of the standard output.">;
1122 def thread_trace_dump_function_calls_json: Option<"json", "j">,
1124 Desc<"Dump in simple JSON format.">;
1125 def thread_trace_dump_function_calls_pretty_json: Option<"pretty-json", "J">,
1127 Desc<"Dump in JSON format but pretty printing the output for easier "
1131 let Command = "thread trace dump instructions" in {
1132 def thread_trace_dump_instructions_forwards: Option<"forwards", "f">,
1134 Desc<"If specified, the trace is traversed forwards chronologically "
1135 "starting at the oldest instruction. Otherwise, it starts at the most "
1136 "recent one and the traversal is backwards.">;
1137 def thread_trace_dump_instructions_count : Option<"count", "c">, Group<1>,
1139 Desc<"The number of instructions to display starting at the most recent "
1140 "instruction, or the oldest if --forwards is provided.">;
1141 def thread_trace_dump_instructions_all : Option<"all", "a">, Group<1>,
1142 Desc<"From the starting point of the trace, dump all instructions "
1144 def thread_trace_dump_instructions_id: Option<"id", "i">, Group<1>,
1146 Desc<"Custom starting instruction id from where to start traversing. This "
1147 "id can be provided in decimal or hexadecimal representation.">;
1148 def thread_trace_dump_instructions_skip: Option<"skip", "s">, Group<1>,
1150 Desc<"How many trace items (instructions, errors and events) to skip from "
1151 "the starting position of the trace before starting the traversal.">;
1152 def thread_trace_dump_instructions_raw : Option<"raw", "r">, Group<1>,
1153 Desc<"Dump only instruction address without disassembly nor symbol "
1155 def thread_trace_dump_instructions_file : Option<"file", "F">, Group<1>,
1157 Desc<"Dump the instruction to a file instead of the standard output.">;
1158 def thread_trace_dump_instructions_json: Option<"json", "j">,
1160 Desc<"Dump in simple JSON format.">;
1161 def thread_trace_dump_instructions_pretty_print: Option<"pretty-json", "J">,
1163 Desc<"Dump in JSON format but pretty printing the output for easier "
1165 def thread_trace_dump_instructions_show_kind : Option<"kind", "k">, Group<1>,
1166 Desc<"Show instruction control flow kind. Refer to the enum "
1167 "`InstructionControlFlowKind` for a list of control flow kind. "
1168 "As an important note, far jumps, far calls and far returns often indicate "
1169 "calls to and from kernel.">;
1170 def thread_trace_dump_instructions_show_timestamps: Option<"time", "t">,
1172 Desc<"For each trace item, print the corresponding wall clock timestamp "
1174 def thread_trace_dump_instructions_show_events : Option<"events", "e">,
1176 Desc<"Dump the events that happened during the execution of the target.">;
1177 def thread_trace_dump_instruction_only_events : Option<"only-events", "E">,
1179 Desc<"Dump only the events that happened during the execution of the "
1180 "target. No instrutions are dumped.">;
1181 def thread_trace_dump_instructions_continue: Option<"continue", "C">,
1183 Desc<"Continue dumping instructions right where the previous invocation of "
1184 "this command was left, or from the beginning if this is the first "
1185 "invocation. The --skip argument is discarded and the other arguments are "
1186 "preserved from the previous invocation when possible.">;
1189 let Command = "thread trace dump info" in {
1190 def thread_trace_dump_info_verbose : Option<"verbose", "v">, Group<1>,
1191 Desc<"show verbose thread trace dump info">;
1192 def thread_trace_dump_info_json: Option<"json", "j">, Group<1>,
1193 Desc<"Dump in JSON format.">;
1196 let Command = "type summary add" in {
1197 def type_summary_add_category : Option<"category", "w">, Arg<"Name">,
1198 Desc<"Add this to the given category instead of the default one.">;
1199 def type_summary_add_cascade : Option<"cascade", "C">, Arg<"Boolean">,
1200 Desc<"If true, cascade through typedef chains.">;
1201 def type_summary_add_no_value : Option<"no-value", "v">,
1202 Desc<"Don't show the value, just show the summary, for this type.">;
1203 def type_summary_add_skip_pointers : Option<"skip-pointers", "p">,
1204 Desc<"Don't use this format for pointers-to-type objects.">;
1205 def type_summary_add_skip_references : Option<"skip-references", "r">,
1206 Desc<"Don't use this format for references-to-type objects.">;
1207 def type_summary_add_regex : Option<"regex", "x">,
1208 Desc<"Type names are actually regular expressions.">;
1209 def type_summary_add_recognizer_function :
1210 Option<"recognizer-function", "\\x01">,
1211 Desc<"The names in the argument list are actually the names of python "
1212 "functions that decide whether to use this summary for any given type. "
1213 "Cannot be specified at the same time as --regex (-x).">;
1214 def type_summary_add_inline_children : Option<"inline-children", "c">,
1216 Desc<"If true, inline all child values into summary string.">;
1217 def type_summary_add_omit_names : Option<"omit-names", "O">, Group<1>,
1218 Desc<"If true, omit value names in the summary display.">;
1219 def type_summary_add_summary_string : Option<"summary-string", "s">, Group<2>,
1220 Arg<"SummaryString">, Required,
1221 Desc<"Summary string used to display text and object contents.">;
1222 def type_summary_add_python_script : Option<"python-script", "o">, Group<3>,
1223 Arg<"PythonScript">,
1224 Desc<"Give a one-liner Python script as part of the command.">;
1225 def type_summary_add_python_function : Option<"python-function", "F">,
1226 Group<3>, Arg<"PythonFunction">,
1227 Desc<"Give the name of a Python function to use for this type.">;
1228 def type_summary_add_input_python : Option<"input-python", "P">, Group<3>,
1229 Desc<"Input Python code to use for this type manually.">;
1230 def type_summary_add_expand : Option<"expand", "e">, Groups<[2,3]>,
1231 Desc<"Expand aggregate data types to show children on separate lines.">;
1232 def type_summary_add_hide_empty : Option<"hide-empty", "h">, Groups<[2,3]>,
1233 Desc<"Do not expand aggregate data types with no children.">;
1234 def type_summary_add_name : Option<"name", "n">, Groups<[2,3]>, Arg<"Name">,
1235 Desc<"A name for this summary string.">;
1238 let Command = "type synth add" in {
1239 def type_synth_add_cascade : Option<"cascade", "C">, Arg<"Boolean">,
1240 Desc<"If true, cascade through typedef chains.">;
1241 def type_synth_add_skip_pointers : Option<"skip-pointers", "p">,
1242 Desc<"Don't use this format for pointers-to-type objects.">;
1243 def type_synth_add_skip_references : Option<"skip-references", "r">,
1244 Desc<"Don't use this format for references-to-type objects.">;
1245 def type_synth_add_category : Option<"category", "w">, Arg<"Name">,
1246 Desc<"Add this to the given category instead of the default one.">;
1247 def type_synth_add_python_class : Option<"python-class", "l">, Group<2>,
1249 Desc<"Use this Python class to produce synthetic children.">;
1250 def type_synth_add_input_python : Option<"input-python", "P">, Group<3>,
1251 Desc<"Type Python code to generate a class that provides synthetic "
1253 def type_synth_add_regex : Option<"regex", "x">,
1254 Desc<"Type names are actually regular expressions.">;
1255 def type_synth_add_recognizer_function :
1256 Option<"recognizer-function", "\\x01">,
1257 Desc<"The names in the argument list are actually the names of python "
1258 "functions that decide whether to use this summary for any given type. "
1259 "Cannot be specified at the same time as --regex (-x).">;
1262 let Command = "type format add" in {
1263 def type_format_add_category : Option<"category", "w">, Arg<"Name">,
1264 Desc<"Add this to the given category instead of the default one.">;
1265 def type_format_add_cascade : Option<"cascade", "C">, Arg<"Boolean">,
1266 Desc<"If true, cascade through typedef chains.">;
1267 def type_format_add_skip_pointers : Option<"skip-pointers", "p">,
1268 Desc<"Don't use this format for pointers-to-type objects.">;
1269 def type_format_add_skip_references : Option<"skip-references", "r">,
1270 Desc<"Don't use this format for references-to-type objects.">;
1271 def type_format_add_regex : Option<"regex", "x">,
1272 Desc<"Type names are actually regular expressions.">;
1273 def type_format_add_type : Option<"type", "t">, Group<2>, Arg<"Name">,
1274 Desc<"Format variables as if they were of this type.">;
1277 let Command = "type formatter delete" in {
1278 def type_formatter_delete_all : Option<"all", "a">, Group<1>,
1279 Desc<"Delete from every category.">;
1280 def type_formatter_delete_category : Option<"category", "w">, Group<2>,
1281 Arg<"Name">, Desc<"Delete from given category.">;
1282 def type_formatter_delete_language : Option<"language", "l">, Group<3>,
1283 Arg<"Language">, Desc<"Delete from given language's category.">;
1286 let Command = "type formatter clear" in {
1287 def type_formatter_clear_all : Option<"all", "a">,
1288 Desc<"Clear every category.">;
1291 let Command = "type formatter list" in {
1292 def type_formatter_list_category_regex : Option<"category-regex", "w">,
1293 Group<1>, Arg<"Name">, Desc<"Only show categories matching this filter.">;
1294 def type_formatter_list_language : Option<"language", "l">, Group<2>,
1295 Arg<"Language">, Desc<"Only show the category for a specific language.">;
1298 let Command = "type category define" in {
1299 def type_category_define_enabled : Option<"enabled", "e">,
1300 Desc<"If specified, this category will be created enabled.">;
1301 def type_category_define_language : Option<"language", "l">, Arg<"Language">,
1302 Desc<"Specify the language that this category is supported for.">;
1305 let Command = "type category enable" in {
1306 def type_category_enable_language : Option<"language", "l">, Arg<"Language">,
1307 Desc<"Enable the category for this language.">;
1310 let Command = "type category disable" in {
1311 def type_category_disable_language : Option<"language", "l">, Arg<"Language">,
1312 Desc<"Enable the category for this language.">;
1315 let Command = "type filter add" in {
1316 def type_filter_add_cascade : Option<"cascade", "C">, Arg<"Boolean">,
1317 Desc<"If true, cascade through typedef chains.">;
1318 def type_filter_add_skip_pointers : Option<"skip-pointers", "p">,
1319 Desc<"Don't use this format for pointers-to-type objects.">;
1320 def type_filter_add_skip_references : Option<"skip-references", "r">,
1321 Desc<"Don't use this format for references-to-type objects.">;
1322 def type_filter_add_category : Option<"category", "w">, Arg<"Name">,
1323 Desc<"Add this to the given category instead of the default one.">;
1324 def type_filter_add_child : Option<"child", "c">, Arg<"ExpressionPath">,
1325 Desc<"Include this expression path in the synthetic view.">;
1326 def type_filter_add_regex : Option<"regex", "x">,
1327 Desc<"Type names are actually regular expressions.">;
1330 let Command = "type lookup" in {
1331 def type_lookup_show_help : Option<"show-help", "h">,
1332 Desc<"Display available help for types">;
1333 def type_lookup_language : Option<"language", "l">, Arg<"Language">,
1334 Desc<"Which language's types should the search scope be">;
1337 let Command = "watchpoint list" in {
1338 def watchpoint_list_brief : Option<"brief", "b">, Group<1>, Desc<"Give a "
1339 "brief description of the watchpoint (no location info).">;
1340 def watchpoint_list_full : Option<"full", "f">, Group<2>, Desc<"Give a full "
1341 "description of the watchpoint and its locations.">;
1342 def watchpoint_list_verbose : Option<"verbose", "v">, Group<3>, Desc<"Explain "
1343 "everything we know about the watchpoint (for debugging debugger bugs).">;
1346 let Command = "watchpoint ignore" in {
1347 def watchpoint_ignore_ignore_count : Option<"ignore-count", "i">,
1348 Arg<"Count">, Required, Desc<"Set the number of times this watchpoint is"
1349 " skipped before stopping.">;
1352 let Command = "watchpoint modify" in {
1353 def watchpoint_modify_condition : Option<"condition", "c">, Arg<"Expression">,
1354 Desc<"The watchpoint stops only if this condition expression evaluates "
1358 let Command = "watchpoint command add" in {
1359 def watchpoint_command_add_one_liner : Option<"one-liner", "o">, Group<1>,
1360 Arg<"OneLiner">, Desc<"Specify a one-line watchpoint command inline. Be "
1361 "sure to surround it with quotes.">;
1362 def watchpoint_command_add_stop_on_error : Option<"stop-on-error", "e">,
1363 Arg<"Boolean">, Desc<"Specify whether watchpoint command execution should "
1364 "terminate on error.">;
1365 def watchpoint_command_add_script_type : Option<"script-type", "s">,
1366 EnumArg<"ScriptLang">, Desc<"Specify the language for the"
1367 " commands - if none is specified, the lldb command interpreter will be "
1369 def watchpoint_command_add_python_function : Option<"python-function", "F">,
1370 Group<2>, Arg<"PythonFunction">, Desc<"Give the name of a Python function "
1371 "to run as command for this watchpoint. Be sure to give a module name if "
1375 let Command = "watchpoint delete" in {
1376 def watchpoint_delete_force : Option<"force", "f">, Group<1>,
1377 Desc<"Delete all watchpoints without querying for confirmation.">;
1380 let Command = "trace load" in {
1381 def trace_load_verbose : Option<"verbose", "v">, Group<1>,
1382 Desc<"Show verbose trace load logging for debugging the plug-in "
1386 let Command = "trace save" in {
1387 def trace_save_compact: Option<"compact", "c">,
1389 Desc<"Try not to save to disk information irrelevant to the traced "
1390 "processes. Each trace plug-in implements this in a different "
1394 let Command = "trace dump" in {
1395 def trace_dump_verbose : Option<"verbose", "v">, Group<1>,
1396 Desc<"Show verbose trace information.">;
1399 let Command = "trace schema" in {
1400 def trace_schema_verbose : Option<"verbose", "v">, Group<1>,
1401 Desc<"Show verbose trace schema logging for debugging the plug-in.">;
1404 let Command = "statistics dump" in {
1405 def statistics_dump_all: Option<"all-targets", "a">, Group<1>,
1406 Desc<"Include statistics for all targets.">;