llvm-project/lldb/source/Commands
Enrico Granata e0c70f1b2c <rdar://problem/11109316>
command script import now does reloads - for real
If you invoke command script import foo and it detects that foo has already been imported, it will
 - invoke reload(foo) to reload the module in Python
 - re-invoke foo.__lldb_init_module
 This second step is necessary to ensure that LLDB does not keep cached copies of any formatter, command, ... that the module is providing

Usual caveats with Python imports persist. Among these:
 - if you have objects lurking around, reloading the module won't magically update them to reflect changes
 - if module A imports module B, reloading A won't reload B
These are Python-specific issues independent of LLDB that would require more extensive design work

The --allow-reload (-r) option is maintained for compatibility with existing scripts, but is clearly documented as redundant - reloading is always enabled whether you use it or not

llvm-svn: 182977
2013-05-31 01:03:09 +00:00
..
CMakeLists.txt Update CMakeLists.txt as per removed file 2013-02-28 16:53:22 +00:00
CommandCompletions.cpp A first pass at auto completion for variables and their children. This is currently hooked up for "frame variable" only. With a little work we can also enable it for the "expression" command and also for other things. 2013-05-14 23:43:18 +00:00
CommandObjectApropos.cpp Apropos should search user commands as well as built-in commands. 2013-05-17 01:30:37 +00:00
CommandObjectApropos.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectArgs.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
CommandObjectArgs.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectBreakpoint.cpp Fix the help message for “one-shot”. 2013-04-09 18:05:22 +00:00
CommandObjectBreakpoint.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectBreakpointCommand.cpp Note in the documentation about the fact that Python callbacks can return a value and if that value is False, LLDB won’t stop at the breakpoint 2013-05-16 23:09:09 +00:00
CommandObjectBreakpointCommand.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectCommands.cpp <rdar://problem/11109316> 2013-05-31 01:03:09 +00:00
CommandObjectCommands.h Fix GetRepeatCommand so it works with multi-word commands. 2010-07-07 03:36:20 +00:00
CommandObjectDisassemble.cpp Change the disassemble option to specify the architecture from '-a' 2013-04-11 03:14:01 +00:00
CommandObjectDisassemble.h Change the disassemble option to specify the architecture from '-a' 2013-04-11 03:14:01 +00:00
CommandObjectExpression.cpp For "expr", say what the timeout units are in the help string. 2013-05-29 19:40:14 +00:00
CommandObjectExpression.h Separated the "expr --unwind-on-error" behavior into two parts, actual errors (i.e. crashes) which continue to be 2013-01-15 02:47:48 +00:00
CommandObjectFrame.cpp A first pass at auto completion for variables and their children. This is currently hooked up for "frame variable" only. With a little work we can also enable it for the "expression" command and also for other things. 2013-05-14 23:43:18 +00:00
CommandObjectFrame.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectHelp.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
CommandObjectHelp.h <rdar://problem/12798131> 2012-12-04 00:32:51 +00:00
CommandObjectLog.cpp <rdar://problem/13854277> 2013-05-10 21:47:16 +00:00
CommandObjectLog.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectMemory.cpp <rdar://problem/13925432> 2013-05-21 17:39:04 +00:00
CommandObjectMemory.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectMultiword.cpp <rdar://problem/13265017> 2013-02-21 23:57:25 +00:00
CommandObjectPlatform.cpp <rdar://problem/13854277> 2013-05-10 21:47:16 +00:00
CommandObjectPlatform.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectPlugin.cpp <rdar://problem/13209140> 2013-04-24 21:29:08 +00:00
CommandObjectPlugin.h Implementing plugins that provide commands. 2012-09-28 23:57:51 +00:00
CommandObjectProcess.cpp <rdar://problem/13700260> 2013-05-10 23:48:10 +00:00
CommandObjectProcess.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectQuit.cpp A couple of small fixes to make core file debugging less noisy. 2013-05-11 00:52:25 +00:00
CommandObjectQuit.h <rdar://problem/12786725> 2013-01-17 21:36:19 +00:00
CommandObjectRegister.cpp Introduces extended register sets whose availability can vary with the target processor. 2013-03-28 17:27:40 +00:00
CommandObjectRegister.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectSettings.cpp <rdar://problem/13878726> 2013-05-20 22:29:23 +00:00
CommandObjectSettings.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectSource.cpp <rdar://problem/13217784> 2013-05-17 00:56:10 +00:00
CommandObjectSource.h Fix GetRepeatCommand so it works with multi-word commands. 2010-07-07 03:36:20 +00:00
CommandObjectSyntax.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
CommandObjectSyntax.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectTarget.cpp Improving the previous checkin about target.load-script-from-symbol-file 2013-05-21 00:00:30 +00:00
CommandObjectTarget.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectThread.cpp Add "thread return -x" to unwind the innermost user called expression (if you happen to have stopped in it due to a crash.) 2013-01-31 21:46:01 +00:00
CommandObjectThread.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectType.cpp <rdar://problem/11158023> 2013-05-16 01:24:29 +00:00
CommandObjectType.h Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
CommandObjectVersion.cpp Fix Linux build warnings due to redefinition of macros: 2012-12-05 00:20:57 +00:00
CommandObjectVersion.h Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00
CommandObjectWatchpoint.cpp <rdar://problem/13207948> 2013-02-14 04:15:23 +00:00
CommandObjectWatchpoint.h Chnage VerifyWatchpointIDs() from a static function to a class function to be called from other source files. 2012-06-19 22:12:58 +00:00
CommandObjectWatchpointCommand.cpp Fixed some linux buildbot warnings. 2013-04-19 21:31:16 +00:00
CommandObjectWatchpointCommand.h rdar://problem/11457143 [ER] need "watchpoint command ..." 2012-08-09 23:09:42 +00:00
Makefile Fix a few more clang (3.2) warnings on Linux: 2012-12-07 22:21:08 +00:00