Home | History | Annotate | Download | only in commands

Lines Matching full:lldb

11 An example plugin for LLDB that provides a new foo command with a child subcommand
13 by typing plugin load foo.dylib at the LLDB command line
16 #include <LLDB/SBCommandInterpreter.h>
17 #include <LLDB/SBCommandReturnObject.h>
18 #include <LLDB/SBDebugger.h>
20 namespace lldb {
22 PluginInitialize (lldb::SBDebugger debugger);
25 class ChildCommand : public lldb::SBCommandPluginInterface
29 DoExecute (lldb::SBDebugger debugger,
31 lldb::SBCommandReturnObject &result)
49 lldb::PluginInitialize (lldb::SBDebugger debugger)
51 lldb::SBCommandInterpreter interpreter = debugger.GetCommandInterpreter();
52 lldb::SBCommand foo = interpreter.AddMultiwordCommand("foo",NULL);