Re: [lldb-dev] [PATCH] D32366: Set "success" status correctly

2017-08-28 Thread John Lindal via lldb-dev
I built lldb with XCode 8.3.3 on OX 10.12.6, using the latest from https://github.com/llvm-mirror/lldb.git, but I'm when I run the tests, I get nothing but errors. The errors are mostly related to being unable to find standard C++ headers like iostream, exception, cstdlib, chrono, etc. I'm usi

Re: [lldb-dev] Setting shared library search paths and core files

2017-05-08 Thread John Lindal via lldb-dev
I regularly load core files on OSX, and it seems to work fine. Is Linux dramatically different? John > On May 5, 2017, at 2:43 AM, Pavel Labath via lldb-dev > wrote: > > Core file debugging is not that well supported right now. I have made > a couple of fixes from time to time, mainly becau

Re: [lldb-dev] How to use the C++ API? No useful documentation?

2016-03-07 Thread John Lindal via lldb-dev
I was planning to take a stab at writing documentation, since I just finished my own C++ app on top of lldb. (Code Medic) Attached is my attempt to add docs to SBAddress. Am I on the right track? If so, I'll tackle additional files. Thanks, John On Mon, Mar 7, 2016 at 10:56 AM, Greg Clayton vi

[lldb-dev] Sending input to the process being debugged

2016-02-03 Thread John Lindal via lldb-dev
When I use SBDebugger::SetAsync(true), the process is not stopped at scanf, so it does not wait for input. The process does stop and wait for input when SetAsync(false). Unfortunately, when building a GUI on top of the C++ API, I have to SetAsync(true). Is there some way to resolve this? Thanks

[lldb-dev] Listening for thread events

2016-01-29 Thread John Lindal via lldb-dev
I'm building an X11 UI on top of LLDB, and I'm stuck trying to listen for thread events. lldb_private::Thread is a Broadcaster, but lldb::SBThread doesn't expose a GetBroadcaster() event the way SBProcess does. I wouldn't really want to have to listen to every SBThread object, but when the progra