[Lldb-commits] [lldb] r203774 - Create a Process::ModulesDidLoad() method to handle process-related tasks, as suggested by Jim Ingham. Make JITLoader instances use this to probe only new modules for r

2014-03-13 Thread Andrew MacPherson
Author: andrewmacp Date: Thu Mar 13 04:37:02 2014 New Revision: 203774 URL: http://llvm.org/viewvc/llvm-project?rev=203774&view=rev Log: Create a Process::ModulesDidLoad() method to handle process-related tasks, as suggested by Jim Ingham. Make JITLoader instances use this to probe only new modu

[Lldb-commits] [lldb] r204504 - Suppress SIGSTOP under Linux and don't explicitly call SetResumeSignal() in POSIXThread, instead just let StopInfo handle it.

2014-03-21 Thread Andrew MacPherson
Author: andrewmacp Date: Fri Mar 21 14:08:37 2014 New Revision: 204504 URL: http://llvm.org/viewvc/llvm-project?rev=204504&view=rev Log: Suppress SIGSTOP under Linux and don't explicitly call SetResumeSignal() in POSIXThread, instead just let StopInfo handle it. Modified: lldb/trunk/source/P

[Lldb-commits] [lldb] r204752 - Move calls to DisableAllBreakpointSites() and m_thread_list.DiscardThreadPlans() into base Process::Destroy() instead of in subclass DoDestroy() methods.

2014-03-25 Thread Andrew MacPherson
Author: andrewmacp Date: Tue Mar 25 14:59:36 2014 New Revision: 204752 URL: http://llvm.org/viewvc/llvm-project?rev=204752&view=rev Log: Move calls to DisableAllBreakpointSites() and m_thread_list.DiscardThreadPlans() into base Process::Destroy() instead of in subclass DoDestroy() methods. Modi

[Lldb-commits] [lldb] r204759 - Make ProcessLinux return true for DetachRequiresHalt() because PTRACE_DETACH requires this.

2014-03-25 Thread Andrew MacPherson
Author: andrewmacp Date: Tue Mar 25 16:40:04 2014 New Revision: 204759 URL: http://llvm.org/viewvc/llvm-project?rev=204759&view=rev Log: Make ProcessLinux return true for DetachRequiresHalt() because PTRACE_DETACH requires this. Modified: lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.

[Lldb-commits] [lldb] r205405 - Use getpgid() with waitpid() in case the process pgid is not equal to its pid, as is the case with a forked subprocess. Also a couple of fixes for unit test failures fr

2014-04-02 Thread Andrew MacPherson
Author: andrewmacp Date: Wed Apr 2 01:57:45 2014 New Revision: 205405 URL: http://llvm.org/viewvc/llvm-project?rev=205405&view=rev Log: Use getpgid() with waitpid() in case the process pgid is not equal to its pid, as is the case with a forked subprocess. Also a couple of fixes for unit test fa

Re: [Lldb-commits] [PATCH] LLDB Python API support on Windows (ported the SWIG wrapper shell scripts to Python)

2014-04-11 Thread Andrew MacPherson
Just to resurrect this thread I gave this patch a run on Linux (required a small fix to work with ToT) and it applied fine there and all currently-passing unit tests still pass. On Mon, Mar 10, 2014 at 7:49 PM, Ed Maste wrote: > > > > Comment at: scripts/Python/buildSwigPython.

[Lldb-commits] [lldb] r219520 - Update assertion in DYLDRendezvous.

2014-10-10 Thread Andrew MacPherson
Author: andrewmacp Date: Fri Oct 10 12:47:00 2014 New Revision: 219520 URL: http://llvm.org/viewvc/llvm-project?rev=219520&view=rev Log: Update assertion in DYLDRendezvous. This accounts for the case where a dlopen() call fails when loading a library with a missing dependency. Modified: lld

[Lldb-commits] [lldb] r202955 - Test commit.

2014-03-05 Thread Andrew MacPherson
Author: andrewmacp Date: Wed Mar 5 03:40:33 2014 New Revision: 202955 URL: http://llvm.org/viewvc/llvm-project?rev=202955&view=rev Log: Test commit. Modified: lldb/trunk/Makefile Modified: lldb/trunk/Makefile URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/Makefile?rev=202955&r1=202954

Re: [Lldb-commits] [lldb] r202956 - Add support for JIT debugging on Linux using the GDB JIT interface. Patch written with Keno Fischer.

2014-03-06 Thread Andrew MacPherson
second = > } > ... > } > m_jit_break_id = 0 > m_notification_callbacks = { > baton = 0x00000001 > initialize = 0x7fc54b00f3b0 > process_state_changed = 0x0001098cb150 (vtable for > std::__1::__shared_ptr_pointer std::__1::

Re: [Lldb-commits] [lldb] r202956 - Add support for JIT debugging on Linux using the GDB JIT interface. Patch written with Keno Fischer.

2014-03-07 Thread Andrew MacPherson
eSymbolTypeAny); > >101 if (jit_addr == LLDB_INVALID_ADDRESS) > >102return; > > (lldb) expr *this > > (JITLoaderGDB) $13 = { > > lldb_private::JITLoader = { > > m_process = 0x

Re: [Lldb-commits] [lldb] r202956 - Add support for JIT debugging on Linux using the GDB JIT interface. Patch written with Keno Fischer.

2014-03-12 Thread Andrew MacPherson
Hi Jim, just pinging this again to see if you've had a chance to take a quick look at the ModulesDidLoad patch, let me know if you'd prefer I submit this as a general patch for someone else to review. Thanks! On Fri, Mar 7, 2014 at 10:41 AM, Andrew MacPherson wrote: > Hi Jim, >