It seems that the problem was just the lack of a typecheck typemap that was causing SWIG to fail to understand that we know how to make a Python list of strings into a char const ** This should be fixed: Sending scripts/Python/python-typemaps.swig Transmitting file data . Committed revision 220306.
Before following up with this patch, can you please try this revision and see if it fixes things? Make sure to delete your LLDBWrapPython.cpp before you rebuild - we have occasionally seen issues with the auto-regeneration process! > On Oct 21, 2014, at 12:51 AM, Matthew Gardiner <[email protected]> wrote: > > Two initial comments: > > 1. applying the diff failed for me: > > $ patch -p0 <D5878.diff > patching file scripts/Python/interface/SBTarget.i > Hunk #1 succeeded at 279 with fuzz 2 (offset -146 lines). > patching file test/api/multiple-debuggers/multi-process-driver.cpp > patching file test/python_api/event/TestEvents.py > Hunk #1 FAILED at 161. > Hunk #2 FAILED at 229. > 2 out of 2 hunks FAILED -- saving rejects to file > test/python_api/event/TestEvents.py.rej > patching file test/python_api/process/io/TestProcessIO.py > patching file test/python_api/target/TestTargetAPI.py > > Could you re generate this diff please? > > 2. Could you use a more descriptive name than Launch2 please? > > http://reviews.llvm.org/D5878 > > > > _______________________________________________ > lldb-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits Thanks, - Enrico 📩 egranata@.com ☎️ 27683
_______________________________________________ lldb-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
