Re: [lldb-dev] How to load core on a different machine?

2016-01-05 Thread Greg Clayton via lldb-dev
Try this: % lldb (lldb) platform select --sysroot /path/to/remote/shared/libraries remote-linux (lldb) If this works, there are SBPlatform class calls in the API you can use the select the platform as done above if you need to not do this from the command line. The other option is to chroot i

[lldb-dev] How to load core on a different machine?

2016-01-05 Thread Eugene Birukov via lldb-dev
Hi, I am using LLDB-3.7 on Ubuntu Linux. I have a core dump file and all shared libraries from my server but I want to investigate them on a dev box. But I fail to correctly load it in LLDB - it shows wrong stacks. I.e. I am looking for something equivalent to GDB commands "set solib-absolute-pr

Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan)

2016-01-05 Thread Jason Molenda via lldb-dev
> On Jan 5, 2016, at 10:17 AM, Greg Clayton via lldb-dev > wrote: > > >> So how about: >> >> (lldb) run >> error: developer mode not enabled > > We should be able to do this. The main issue is detecting that the user is in > a remote scenario where they don't have access to the UI. A dialog

Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan)

2016-01-05 Thread Greg Clayton via lldb-dev
> On Jan 5, 2016, at 1:11 AM, Andre Vergison > wrote: > > Greg, I owe you a Bud (or fruit juice if you prefer) !! > > That's all I had to do... Now it works like a charm! > > tst$ sudo /usr/sbin/DevToolsSecurity --enable > Developer mode is now enabled. > tst$ lldb testabc > (lldb) target cre

[lldb-dev] [Bug 26031] New: Ptrace interface unable to set byte select watchpoints on arm-linux

2016-01-05 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=26031 Bug ID: 26031 Summary: Ptrace interface unable to set byte select watchpoints on arm-linux Product: lldb Version: unspecified Hardware: PC OS: Linux St

[lldb-dev] [Bug 25092] Test suit is flaky if 2 tests have the same file name

2016-01-05 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=25092 lab...@google.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

[lldb-dev] [Bug 26028] New: TestMiGdbSetShow.test_lldbmi_gdb_set_target_async_on is flaky on linux

2016-01-05 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=26028 Bug ID: 26028 Summary: TestMiGdbSetShow.test_lldbmi_gdb_set_target_async_on is flaky on linux Product: lldb Version: unspecified Hardware: PC OS: Linux

Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan)

2016-01-05 Thread Andre Vergison via lldb-dev
Greg, I owe you a Bud (or fruit juice if you prefer) !! That's all I had to do... Now it works like a charm! tst$ sudo /usr/sbin/DevToolsSecurity --enable Developer mode is now enabled. tst$ lldb testabc (lldb) target create "testabc" Current executable set to 'testabc' (x86_64). (lldb) run Proce