[lldb-dev] [Bug 35037] New: lldb provides imprecise informations to reproduce problems

2017-10-23 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=35037 Bug ID: 35037 Summary: lldb provides imprecise informations to reproduce problems Product: lldb Version: unspecified Hardware: PC OS: Windows NT Status

[lldb-dev] [Bug 35040] New: lldb tests are failing when an in-tree clang is specified (missing ar/objcopy)

2017-10-23 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=35040 Bug ID: 35040 Summary: lldb tests are failing when an in-tree clang is specified (missing ar/objcopy) Product: lldb Version: unspecified Hardware: PC OS: Windows N

[lldb-dev] [Bug 35043] New: lldb incorrectly reports multiple symbols when evaluating expressions (on Linux)

2017-10-23 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=35043 Bug ID: 35043 Summary: lldb incorrectly reports multiple symbols when evaluating expressions (on Linux) Product: lldb Version: unspecified Hardware: PC OS: Windows

[lldb-dev] What's the best way to use "--all-files" option from python?

2017-10-23 Thread Don Hinton via lldb-dev
The only way I've been able to do it is by using the CommandInterpreter, i.e., res = lldb.SBCommandReturnObject() lldb.debugger.GetCommandInterpreter().HandleCommand('breakpoint set -p "diag::%s" --all-files -N %s' % (name, name), res); lldb.debugger.GetCommandInterpreter().HandleCommand('br

Re: [lldb-dev] What's the best way to use "--all-files" option from python?

2017-10-23 Thread Jim Ingham via lldb-dev
Just pass an invalid FileSpec for the source file spec, like: lldb.target.BreakpointCreateBySourceRegex("printf", lldb.SBFileSpec()) and it acts the same way as the --all-files option. That was pretty non-obvious, I'll update the docs. Actually, the thing you CAN'T do is get the command line b

Re: [lldb-dev] What's the best way to use "--all-files" option from python?

2017-10-23 Thread Don Hinton via lldb-dev
Ah, great, thanks. I just figured the default was the same for both. Just wish I could use a regex for the filename as well, which would cut down the number of files about about half. thanks again... don On Mon, Oct 23, 2017 at 6:02 PM, Jim Ingham wrote: > Just pass an invalid FileSpec for th

Re: [lldb-dev] What's the best way to use "--all-files" option from python?

2017-10-23 Thread Jim Ingham via lldb-dev
Yeah, that would be easy to implement from the command line, maybe add a --file-is-regex flag or something. From the SB API it would be better to have something like: SBFileList SBTarget.GetFileListMatchingRegex("regex") Please file an enhancement request for these of hack'em in if you're so

[lldb-dev] how to automate all testcases using lldb-server

2017-10-23 Thread ???? via lldb-dev
I want to run the test suite on iOS devices, I know how to run testcase using lldb-server one by one, but I don't know how to auto reset lldb-server, can anyone tell me how to automate all testcases using lldb-server? Thanks a lot!___ lldb-dev mailing l

[lldb-dev] How to automate all testcases using lldb-server

2017-10-23 Thread liufuyin1988 via lldb-dev
I want to run the test suite on iOS devices, I know how to run testcase using lldb-server one by one, but I don't know how to auto reset lldb-server, can anyone tell me how to automate all testcases using lldb-server? Thanks a lot!___ lldb-dev mailing l