hanchenye-llvm-project/lldb/source
Enrico Granata 5c47969350 Improvements to "command script import" to better support reloading in Xcode
Xcode spawns a new LLDB SBDebugger for each debug session, and this was causing the reloading of python modules to fail across debug sessions

(long story short: the module would not be loaded in the current instance of the ScriptInterpreter, but would still be present in sys.modules, hence the import call would just make a copy of it and not run it again
Greg's new decorator uncovered the issue since it relies on actually loading the module's code rather than using __lldb_init_module as the active entity)

This patch introduces the notion of a local vs. global import and crafts an appropriate command to allow reloading to work across debug sessions

llvm-svn: 184279
2013-06-19 03:05:52 +00:00
..
API Added the ability to get a list of types from a SBModule or SBCompileUnit. Sebastien Metrot wanted this, and sent a hollowed out patch. I filled in the blanks and did the low level implementation. The new functions are: 2013-06-18 22:51:05 +00:00
Breakpoint Be sure to print out the full file path when dumping breakpoint resolvers for file and line when the full path was specified. 2013-06-13 19:39:56 +00:00
Commands We were getting an assert because somebody was making a watchpoint that was 2013-06-18 21:52:48 +00:00
Core <rdar://problem/14194140> 2013-06-19 00:00:45 +00:00
DataFormatters <rdar://problem/12717717> 2013-06-18 18:23:07 +00:00
Expression Fixed a problem in the expression parser that 2013-06-17 21:19:31 +00:00
Host Don't depend on set being transitively included. 2013-06-13 20:10:23 +00:00
Interpreter Improvements to "command script import" to better support reloading in Xcode 2013-06-19 03:05:52 +00:00
Plugins Added the ability to get a list of types from a SBModule or SBCompileUnit. Sebastien Metrot wanted this, and sent a hollowed out patch. I filled in the blanks and did the low level implementation. The new functions are: 2013-06-18 22:51:05 +00:00
Symbol <rdar://problem/14194140> 2013-06-19 00:00:45 +00:00
Target Don't actually Halt in the Interrupt handler for the Process, just send an AsyncInterrupt. 2013-06-19 00:56:17 +00:00
Utility Add new files to CMakeLists.txt to fix cmake build error. 2013-06-17 23:07:22 +00:00
CMakeLists.txt More minor FreeBSD fixes. 2013-06-04 15:59:01 +00:00
Makefile Remove LLDB dependency on xcodeworkspace (on Linux) for version number 2013-02-28 16:51:15 +00:00
lldb-log.cpp Don't compare 4 characters on a 2 character string. 2013-05-22 23:36:10 +00:00
lldb.cpp Remove the initialization/termination of the now-removed OperatingSystemDarwinKernel. 2013-05-03 03:55:48 +00:00