Random thought: If you want to generate a core dump, we already have LLDB attached to the process, so you have an SBProcess. Couldn't you use Process.Halt, then call whatever method is necessary to have the debugger create a core, then Process.Kill?
On Mon, Sep 28, 2015 at 1:03 PM Zachary Turner <ztur...@google.com> wrote: > zturner added a comment. > > A few more comments > > > ================ > Comment at: test/test_runner/test/process_control_tests.py:63 > @@ +62,3 @@ > + def _suppress_soft_terminate(cls, command): > + if platform.system() == 'nt': > + # Add whatever is needed to the command line to > ---------------- > Change `nt` to `Windows` (unless you're removing this logic as discussed > earlier) > > ================ > Comment at: test/test_runner/test/process_control_tests.py:80 > @@ +79,3 @@ > + # Base command. > + command = (["python", "inferior.py"]) > + > ---------------- > Change `"python"` to `sys.executable` > > > http://reviews.llvm.org/D13124 > > > >
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits