diff options
author | Greg Clayton <gclayton@apple.com> | 2010-07-28 02:04:09 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-07-28 02:04:09 +0000 |
commit | 9e40956aeab0558ade96e537997402e568fe530a (patch) | |
tree | 30a21967a64d9b39e03f49e886e8fdfb64b7076f /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | e1270c64e36c2f2991e4b032b783e064afab55c1 (diff) | |
download | bcm5719-llvm-9e40956aeab0558ade96e537997402e568fe530a.tar.gz bcm5719-llvm-9e40956aeab0558ade96e537997402e568fe530a.zip |
Created lldb::LanguageType by moving an enumeration from the
lldb_private::Language class into the enumerations header so it can be freely
used by other interfaces.
Added correct objective C class support to the DWARF symbol parser. Prior to
this fix we were parsing objective C classes as C++ classes and now that the
expression parser is ready to call functions we need to make sure the objective
C classes have correct AST types.
llvm-svn: 109574
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectCommands.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp index 0db3c3a6818..e04b8eef389 100644 --- a/lldb/source/Commands/CommandObjectCommands.cpp +++ b/lldb/source/Commands/CommandObjectCommands.cpp @@ -146,21 +146,21 @@ public: "'alias' allows the user to create a short-cut or abbreviation for long \n\ commands, multi-word commands, and commands that take particular options. \n\ Below are some simple examples of how one might use the 'alias' command: \n\ - \n 'alias sc script' // Creates the abbreviation 'sc' for the 'script' \n\ + \n 'command alias sc script' // Creates the abbreviation 'sc' for the 'script' \n\ // command. \n\ - 'alias bp breakpoint' // Creates the abbreviation 'bp' for the 'breakpoint' \n\ + 'command alias bp breakpoint' // Creates the abbreviation 'bp' for the 'breakpoint' \n\ // command. Since breakpoint commands are two-word \n\ // commands, the user will still need to enter the \n\ // second word after 'bp', e.g. 'bp enable' or \n\ // 'bp delete'. \n\ - 'alias bpi breakpoint list' // Creates the abbreviation 'bpi' for the \n\ + 'command alias bpi breakpoint list' // Creates the abbreviation 'bpi' for the \n\ // two-word command 'breakpoint list'. \n\ \nAn alias can include some options for the command, with the values either \n\ filled in at the time the alias is created, or specified as positional \n\ arguments, to be filled in when the alias is invoked. The following example \n\ shows how to create aliases with options: \n\ \n\ - 'alias bfl breakpoint set -f %1 -l %2' \n\ + 'command alias bfl breakpoint set -f %1 -l %2' \n\ \nThis creates the abbreviation 'bfl' (for break-file-line), with the -f and -l \n\ options already part of the alias. So if the user wants to set a breakpoint \n\ by file and line without explicitly having to use the -f and -l options, the \n\ |