diff options
| author | Jim Ingham <jingham@apple.com> | 2010-06-15 18:47:14 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2010-06-15 18:47:14 +0000 |
| commit | 8651121c11e4b047924bafab305b7bec4395941b (patch) | |
| tree | c49a0ff3ef8ed2de31b2c5d0db6f44d54890e296 /lldb/source/Commands/CommandObjectBreakpointCommand.cpp | |
| parent | 5947573f391a156c8a74cc39c84d63ea19462566 (diff) | |
| download | llvm-8651121c11e4b047924bafab305b7bec4395941b.zip llvm-8651121c11e4b047924bafab305b7bec4395941b.tar.gz llvm-8651121c11e4b047924bafab305b7bec4395941b.tar.bz2 | |
Change the Options parser over to use a mask rather than an ordinal for option sets.
Fixed the Disassemble arguments so you can't specify start address or name in multiple ways.
Fixed the command line input so you can specify the filename without "-f" even if you use other options.
llvm-svn: 106020
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
| -rw-r--r-- | lldb/source/Commands/CommandObjectBreakpointCommand.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp index 8a5a443..dc1c84b 100644 --- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp +++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp @@ -44,13 +44,13 @@ CommandObjectBreakpointCommandAdd::CommandOptions::~CommandOptions () lldb::OptionDefinition CommandObjectBreakpointCommandAdd::CommandOptions::g_option_table[] = { - { 0, true, "script", 's', no_argument, NULL, 0, NULL, + { LLDB_OPT_SET_1, true, "script", 's', no_argument, NULL, 0, NULL, "Write the breakpoint command script in the default scripting language."}, - { 1, true, "python", 'p', no_argument, NULL, 0, NULL, + { LLDB_OPT_SET_2, true, "python", 'p', no_argument, NULL, 0, NULL, "Write the breakpoint command script in the Python scripting language."}, - { 2, true, "commands", 'c', no_argument, NULL, 0, NULL, + { LLDB_OPT_SET_3, true, "commands", 'c', no_argument, NULL, 0, NULL, "Write the breakpoint command script using the command line commands."}, { 0, false, NULL, 0, 0, NULL, 0, NULL, NULL } |
