summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
AgeCommit message (Collapse)Author
2012-10-24Added process and thread logging the python OperatingSystem plug-in.Greg Clayton
llvm-svn: 166608
2012-10-18<rdar://problem/12491420>Greg Clayton
Added a new setting that allows a python OS plug-in to detect threads and provide registers for memory threads. To enable this you set the setting: settings set target.process.python-os-plugin-path lldb/examples/python/operating_system.py Then run your program and see the extra threads. llvm-svn: 166244
2012-10-10Change the Thread constructor over to take a Process& rather than a ↵Jim Ingham
ProcessSP. We can't create Threads with a NULL ProcessSP, so it makes no sense to use the SP. Then make the Thread a Broadcaster, and get it to broadcast when the selected frame is changed (but only from the Command Line) and when Thread::ReturnFromFrame changes the stack. Made the Driver use this notification to print the new thread status rather than doing it in the command. Fixed a few places where people were setting their broadcaster class by hand rather than using the static broadcaster class call. <rdar://problem/12383087> llvm-svn: 165640
2012-08-28Fixes by Daniel Malea.Filipe Cabecinhas
llvm-svn: 162756
2012-08-24Remove printf that go left in the code.Greg Clayton
llvm-svn: 162542
2012-08-24The OS plug-in can now get data from a python script that implements the ↵Greg Clayton
protocol. llvm-svn: 162540
2012-08-24We have a partially working OS plug-in through python!Greg Clayton
llvm-svn: 162532
2012-08-24Added Args::StringForEncoding(), Args::StringToGenericRegister() and ↵Greg Clayton
centralized the parsing of the string to encoding and string to generic register. Added code the initialize the register context in the OperatingSystemPython plug-in with the new PythonData classes, and added a test OperatingSystemPython module in lldb/examples/python/operating_system.py that we can use for testing. llvm-svn: 162530
2012-08-24Fixing a bunch of issues with the OS plugin codeEnrico Granata
llvm-svn: 162527
2012-08-24Hooking up two more calls for the PythonOSPlugin stuff. The part of code to ↵Enrico Granata
fetch the data and convert it to C++ objects is still missing, but will come llvm-svn: 162522
2012-08-24Was forcing everyone on ToT to use the PythonOSPlugin.. my badEnrico Granata
llvm-svn: 162519
2012-08-24Adding bindings to the Script Interpreter for some basic Python OS plugin ↵Enrico Granata
functionality (still WIP) llvm-svn: 162513
2012-08-23Added a hollowed out version of an OperatingSystem plugin that will use a ↵Greg Clayton
class in python to get thread information for threads stored in memory. llvm-svn: 162472