llvm-capstone/lldb/bindings
Pedro Tammela a0d7406ae8 [LLDB/Lua] add support for one-liner breakpoint callback
These callbacks are set using the following:
   breakpoint command add -s lua -o "print('hello world!')"

The user supplied script is executed as:
   function (frame, bp_loc, ...)
      <body>
   end

So the local variables 'frame', 'bp_loc' and vararg are all accessible.
Any global variables declared will persist in the Lua interpreter.
A user should never hold 'frame' and 'bp_loc' in a global variable as
these userdatas are context dependent.

Differential Revision: https://reviews.llvm.org/D91508
2020-11-30 14:12:26 +00:00
..
interface GetModule, GetExeModule methods added 2020-10-29 23:44:51 +03:00
lua [LLDB/Lua] add support for one-liner breakpoint callback 2020-11-30 14:12:26 +00:00
python Fix use of wrong printf format specifier for size_t argument. 2020-09-29 16:02:08 -07:00
CMakeLists.txt [lldb/CMake] Separate CMake code for Lua and Python (NFC) 2020-08-11 09:04:18 -07:00
headers.swig [lldb/API] Move SBCommandInterpreterRunOption in its own header. (NFC) 2020-04-30 13:41:21 -07:00
interfaces.swig [lldb/API] Move SBCommandInterpreterRunOption in its own header. (NFC) 2020-04-30 13:41:21 -07:00
macros.swig [lldb] Remove nothreadallow from SWIG's __str__ wrappers to work around a Python>=3.7 crash 2020-09-28 10:10:34 +02:00