diff options
| author | Caroline Tice <ctice@apple.com> | 2010-10-04 22:28:36 +0000 |
|---|---|---|
| committer | Caroline Tice <ctice@apple.com> | 2010-10-04 22:28:36 +0000 |
| commit | 405fe67f1424284173459575b1081f42935c50fd (patch) | |
| tree | 5110616e8a6ebcd9138f08209dbacf041b50a37a /lldb/source/Commands/CommandObjectBreakpoint.cpp | |
| parent | 3703ff41632ea5f5749f35fe380edc8872f34d6d (diff) | |
| download | llvm-405fe67f1424284173459575b1081f42935c50fd.zip llvm-405fe67f1424284173459575b1081f42935c50fd.tar.gz llvm-405fe67f1424284173459575b1081f42935c50fd.tar.bz2 | |
Modify existing commands with arguments to use the new argument mechanism
(for standardized argument names, argument help, etc.)
llvm-svn: 115570
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
| -rw-r--r-- | lldb/source/Commands/CommandObjectBreakpoint.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index 791d68c..a648581 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.cpp +++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp @@ -692,7 +692,7 @@ CommandObjectBreakpointList::CommandObjectBreakpointList (CommandInterpreter &in // Define the first (and only) variant of this arg. bp_id_arg.arg_type = eArgTypeBreakpointID; - bp_id_arg.arg_repetition = eArgRepeatStar; + bp_id_arg.arg_repetition = eArgRepeatOptional; // There is only one variant this argument could be; put it into the argument entry. arg.push_back (bp_id_arg); @@ -795,11 +795,11 @@ CommandObjectBreakpointEnable::CommandObjectBreakpointEnable (CommandInterpreter // Create the first variant for the first (and only) argument for this command. bp_id_arg.arg_type = eArgTypeBreakpointID; - bp_id_arg.arg_repetition = eArgRepeatStar; + bp_id_arg.arg_repetition = eArgRepeatOptional; // Create the second variant for the first (and only) argument for this command. bp_id_range_arg.arg_type = eArgTypeBreakpointIDRange; - bp_id_range_arg.arg_repetition = eArgRepeatStar; + bp_id_range_arg.arg_repetition = eArgRepeatOptional; // The first (and only) argument for this command could be either a bp_id or a bp_id_range. // Push both variants into the entry for the first argument for this command. @@ -911,11 +911,11 @@ CommandObjectBreakpointDisable::CommandObjectBreakpointDisable (CommandInterpret // Create the first variant for the first (and only) argument for this command. bp_id_arg.arg_type = eArgTypeBreakpointID; - bp_id_arg.arg_repetition = eArgRepeatStar; + bp_id_arg.arg_repetition = eArgRepeatOptional; // Create the second variant for the first (and only) argument for this command. bp_id_range_arg.arg_type = eArgTypeBreakpointIDRange; - bp_id_range_arg.arg_repetition = eArgRepeatStar; + bp_id_range_arg.arg_repetition = eArgRepeatOptional; // The first (and only) argument for this command could be either a bp_id or a bp_id_range. // Push both variants into the entry for the first argument for this command. @@ -1025,11 +1025,11 @@ CommandObjectBreakpointDelete::CommandObjectBreakpointDelete(CommandInterpreter // Create the first variant for the first (and only) argument for this command. bp_id_arg.arg_type = eArgTypeBreakpointID; - bp_id_arg.arg_repetition = eArgRepeatStar; + bp_id_arg.arg_repetition = eArgRepeatOptional; // Create the second variant for the first (and only) argument for this command. bp_id_range_arg.arg_type = eArgTypeBreakpointIDRange; - bp_id_range_arg.arg_repetition = eArgRepeatStar; + bp_id_range_arg.arg_repetition = eArgRepeatOptional; // The first (and only) argument for this command could be either a bp_id or a bp_id_range. // Push both variants into the entry for the first argument for this command. @@ -1265,11 +1265,11 @@ CommandObjectBreakpointModify::CommandObjectBreakpointModify (CommandInterpreter // Create the first variant for the first (and only) argument for this command. bp_id_arg.arg_type = eArgTypeBreakpointID; - bp_id_arg.arg_repetition = eArgRepeatPlus; + bp_id_arg.arg_repetition = eArgRepeatPlain; // Create the second variant for the first (and only) argument for this command. bp_id_range_arg.arg_type = eArgTypeBreakpointIDRange; - bp_id_range_arg.arg_repetition = eArgRepeatPlus; + bp_id_range_arg.arg_repetition = eArgRepeatPlain; // The first (and only) argument for this command could be either a bp_id or a bp_id_range. // Push both variants into the entry for the first argument for this command. |
